I’m using Manjaro KDE and since one of the last updates from like month or two ago my Viber application installed from AUR is not starting. When I click on it, it shows its icon on panel like it is loading, and nothing happens. Since it is not that urgent issue for me I waited two more updates hopping it will be fixed somehow (the way it was broken). But still nothing.
I really need it on desktop since all my friends are on it, and it is generally still widely used in my country.
I tried reinstalling and purging it, but nothing helps.
Strange. It works when English is third in list of those 3 that I use, and then select it. But when I move it up to first position and start the Viber, selecting the English, it is not working…
I know this is a Manjaro forum but I couldn’t find the topic anywhere else. I can confirm that this is happening on Debian GNOME as well. I have English (US) as a first language, Serbian (Latin) as a second, Spanish (ES) as a third and Serbian (Cyrillic) as a forth and all of them work except for English (US), the first one.
I guess it is something related to Viber or its Qt backend?
Setting English as a second language seems to be a workaround as they all work in that case, but it is a bug nevertheless.
Ok, so the problem seems to be in the xkbcommon library which handles keyboard layout descriptions in Xorg based desktops. According to another thread I found, the output of setxkbmap -query should give something like:
The problem appears to be in the variant line, which xkbcommon is unable to parse correctly. It is possible to set it manually with setxkbmap -variant '" ,latin,,' (NOTE the leading space in the variant option) but it will be overwritten by GNOME as soon as any keyboard layout modification is performed. Furthermore, I have found that some layout orders work while others don’t, I guess it is the mapping issue.
This is a Viber bug, and it is present in Wayland as well, so until they fix it, the solution will always be to change the keyboard layout. Irrespective of DE and server.
Hey folks, I’ve been having this issue for a few months now and finally managed to figure out a solution that doesn’t involve a terminal.
The default English keyboard layout for some, if not most distros, is English (US). No variant. From what I’ve seen in my terminal, Viber recognises it as variant: English (Phonetic); which Viber has no support for.
The most common English variant of English (US) I’ve seen in my life is English (Macintosh). So, switch to that. It also preserves the key mappings intact.