LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Alternate keyboard layout in Openbox (https://www.linuxquestions.org/questions/linux-newbie-8/alternate-keyboard-layout-in-openbox-889616/)

kexolino 07-03-2011 01:23 AM

Alternate keyboard layout in Openbox
 
Hi, I'm new here, I hope I can get some help from you with this :D

I constantly need to switch between the English and Hungarian keyboard layouts. When I add the Hungarian layout in Gnome/KDE/XFCE, I get multiple variations of the layout (like, Hun (101 key, qwerty, dead keys) etc), which I need, because the default Hungarian layout switches the y and z keys (qwertz). So I always choose the "qwerty" option.

In Openbox there's no option for this, but I found a post about switching layouts with keybindings. That's OK, but if I type the command

Code:

setxkbmap -model pc101 -layout hu
I can only get the default "qwertz" option, which I refuse to use, lol.

Any help would be appreciated, I like Openbox very much, but this thing keeps from using it.

kexolino 07-03-2011 06:34 AM

This somehow magically solved my problem:

Code:

setxkbmap -layout "us,hu" -option "grp:alt_shift_toggle"
It gives me the regular qwerty layout.


All times are GMT -5. The time now is 10:10 PM.