PDA

View Full Version : [ubuntu] I can't change keyboard layout at startup



PalmTXfan
May 30th, 2009, 05:53 PM
box: netbook ASUS eee pc 2G surf (700)

I've already installed ubuntu jaunty minimal cd,
wihtout any flavour to not waste precious space (SSD has only 2G)
and from there: xorg, gdm, lxde

The netbook has US keyboard layout, but is gonna be used by an spanish girl, then she wants to be easy to use "ρΡαινσu"

The best solution is to change layout, and works with:

setxkbmap us -variant intl
but only stay for the session :(

Now the problem:
I've changed /etc/X11/xorg.conf (it was empty)
with something like this (only to know fast+easy the change)
to login with the correct layout ...

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "es"
EndSection
but the keyboard layout doesn't change (i was expecting "ρ" pressing ";")

I added at start of xorg.conf the following to know if is used:

Section "ServerFlags"
Option "DontZap" "false"
EndSectionand to my surprise, it works

What i am doing wrong? :(