Viber Fails To Start:

Case: Viber cannot start. After a flatpak or appimage install, running through terminal, Viber fails with error] Keymap file failed to load: us-phonetic


Issue observed on: LinuxMint 20.3, OpenSUSE Tumbleweed, Manjaro.

OpenSUSE Tumbleweed KDE
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Graphics Platform: X11

Solution tested with a Viber Flatpak and Appimage but (theoretically) should work with any package.

Terminal Output

GLImplementation: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.6
Using Default SG Backend: yes
Using Software Dynamic GL: no
Using Angle: no

Init Parameters:
* allow-loopback-in-peer-connection
* application-name ViberPC
* autoplay-policy no-user-gesture-required
* browser-subprocess-path /tmp/.mount_viber_oLmOsp/libexec/QtWebEngineProcess
* create-default-gl-context
* disable-features DnsOverHttpsUpgrade,ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture,AudioServiceOutOfProcess
* disable-setuid-sandbox
* disable-speech-api
* enable-features NetworkServiceInProcess,TracingServiceInProcess,NetworkServiceInProcess
* enable-threaded-compositing
* enable-usermedia-screen-capture
* in-process-gpu
* use-gl desktop

xkbcommon: ERROR: Couldn't process include statement for 'us(phonetic)'
xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: Failed to compile keymap
[8604:8648:0914/] Keymap file failed to load: us-phonetic
../ line 80: 8604 Trace/breakpoint trap (core dumped) ../Viber


In the context of keyboard language input settings, replace the default variant for English (US) which is normally blank, with English (Macintosh).

Or if that didn’t work for Flatpak: Edit (or create new) desktop shortcut for Viber and set the Exec variable to be flatpak run com.viber.Viber


Did this solve your issue?