Kali Linux Install Viber: Difference between revisions

From WikiMLT
m (Стадий: 3 [Фаза:Разработване, Статус:Разработван]; Категория:Linux Desktop)
Line 1: Line 1:
<noinclude><!--[[Category:Linux_Desktop|?]]-->{{ContentArticleHeader/Linux_Desktop}}</noinclude>
<noinclude><!--[[Category:Linux_Desktop|?]]-->{{ContentArticleHeader/Linux_Desktop}}</noinclude>'''''This approach of Viber setup is tested with Kali Linux 2022.04.'''''
 
== Download and install Viber ==
Download the Viber's .deb package and install it.<syntaxhighlight lang="shell" line="1">
wget https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb -O ~/Downloads/viber.deb
sudo apt install ~/Downloads/viber.deb
</syntaxhighlight>
 
== Create a Fake 'us-phonetic' Keymap ==
I'm using Bulgarian (traditional phonetic) keyboard layout alongside English (US). When I'm trying to start Viber when the English is used as keyboard layout the following error prevents Viber from start.<syntaxhighlight lang="shell" line="1">
viber
</syntaxhighlight><syntaxhighlight lang="shell-session">
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
[14547:14573:0818/213359.103080:FATAL:xkb_keyboard_layout_engine.cc(640)] Keymap file failed to load: us-phonetic
</syntaxhighlight>I do not have idea does Viber, or Gnome 42 or Kali itself cause the problem, but the easiest workaround that could be applied it to create a fake 'us-phonetic' keymap into the file <code>/usr/share/X11/xkb/symbols/us</code>.<syntaxhighlight lang="shell">
cat << EOF | sudo tee -a /usr/share/X11/xkb/symbols/us
 
// Reference: https://wiki.metalevel.tech/wiki/Kali_Linux_Install_Viber
partial alphanumeric_keys
xkb_symbols "phonetic" {
    include "us(basic)"
    name[Group1]= "English (US, Viber workaround by MLT)";
};
EOF
</syntaxhighlight>
 
== References ==
== References ==


* ...
* Viber: [https://www.viber.com/en/download/ Viber/Download]


* ...
* ...

Revision as of 21:50, 18 August 2022

This ap­proach of Viber set­up is test­ed with Kali Lin­ux 2022.04.

Down­load and in­stall Viber

Down­load the Viber's .deb pack­age and in­stall it.

wget https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb -O ~/Downloads/viber.deb
sudo apt install ~/Downloads/viber.deb

Cre­ate a Fake 'us-pho­net­ic' Keymap

I'm us­ing Bul­gar­i­an (tra­di­tion­al pho­net­ic) key­board lay­out along­side Eng­lish (US). When I'm try­ing to start Viber when the Eng­lish is used as key­board lay­out the fol­low­ing er­ror pre­vents Viber from start.

viber
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
[14547:14573:0818/213359.103080:FATAL:xkb_keyboard_layout_engine.cc(640)] Keymap file failed to load: us-phonetic

I do not have idea does Viber, or Gnome 42 or Kali it­self cause the prob­lem, but the eas­i­est workaround that could be ap­plied it to cre­ate a fake 'us-pho­net­ic' keymap in­to the file /​​​usr/​​​share/​​​X11/​​​xkb/​​​symbols/​​​us.

cat << EOF | sudo tee -a /usr/share/X11/xkb/symbols/us

// Reference: https://wiki.metalevel.tech/wiki/Kali_Linux_Install_Viber
partial alphanumeric_keys
xkb_symbols "phonetic" {
    include "us(basic)"
    name[Group1]= "English (US, Viber workaround by MLT)";
};
EOF

Ref­er­ences

Sec­tion 1