LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Keyboard layouts in XFCE (http://www.linuxquestions.org/questions/linux-desktop-74/keyboard-layouts-in-xfce-848276/)

Lord_Grave 12-04-2010 03:17 AM

Keyboard layouts in XFCE
 
Is there a GUI tool to change keyboard layouts in XFCE? So far, I haven't been able to find one. I'm using setxkbmap in console to change the layout. If there is no graphical tool, is there any way to make the setxkbmap change permanent so that XFCE uses the desired keyboard layout on startup?

repo 12-04-2010 04:58 AM

You can edit your xorg.conf file
Quote:

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "be"
EndSection
Kind regards

Lord_Grave 12-04-2010 05:28 AM

Thanks for the response, repo. My xorg.conf now contains this:

Code:

Section "InputDevice"
  Identifier "Keyboard 0"
  Driver "kbd"
  Option "XkbModel" "pc105"
  Option "XkbLayout" "rs"
  Option "XkbVariant" "latinyz"
EndSection

After reboot, I still get the default US layout.

repo 12-04-2010 05:35 AM

Did you tried using yast?
Perhaps you can use the xfce4-xkb-plugin
http://goodies.xfce.org/projects/pan...ce4-xkb-plugin

Kind regards

Lord_Grave 12-04-2010 06:29 AM

YaST keyboard settings are completely ignored in XFCE. I've found out that the new versions of xorg use hot-plugging for input devices, ignoring the InputDevice sections of xorg.conf. For my needs, I had to use:

Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbModel" "pc105"
Option "XkbLayout" "rs"
Option "XkbVariant" "latinyz"
EndSection

Thanks for suggesting the plugin. I just installed it and will test is asap.


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