Author Topic: Changing keyboard language on X  (Read 5376 times)

xever

  • Newbie
  • *
  • Posts: 2
Changing keyboard language on X
« on: March 02, 2010, 12:13:10 PM »
Hi, nice linux distribution by the way!  ;D ;D
everything works fine for me to boot over PXE except changing the kb-settings in gnome/luxbox.
I need a swiss german keyboard.
Tried the german example which i can't get to work also.
Do you have any suggestions?
Thanks

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2460
  • a command shell is enough to do amazing things
Re: Changing keyboard language on X
« Reply #1 on: March 02, 2010, 12:52:00 PM »
hi,
you can set the german keyboard in a terminal with "setxkbmap de"

2 ways to automate it

1) add at the beginning of /root/.xinitrc the command "setxkbmap de"
add to your myscripts/runme.sh
Code: [Select]
echo setxkbmap de > /root/.xinitrc
echo /root/gnome >> /root/.xinitrc

this works for fluxbox too

2) m aybe better, you can add the "setxkbmap de" to the gnome and fluxbox script and copy it with the runme.sh to the /root directory.


best regards
elmar

xever

  • Newbie
  • *
  • Posts: 2
Re: Changing keyboard language on X
« Reply #2 on: March 02, 2010, 13:33:57 PM »
Works fine.
Thanks for the fast response.