Page 1 of 1

Change keyboard layout for one user account AFTER logging in

Posted: Tue Nov 03, 2009 10:40 pm
by mountainmonkey
Hello,
I have a Debian EeePC with LXDE installed.
Currently there is only one user account: mine. Log-in page uses the Dvorak keyboard layout and after logging in, it's also Dvorak keyboard layout.

I will be lending the debian eeepc netbook to a friend and he uses the regular Qwerty keyboard layout. How can I have his user account use the Qwerty keyboard layout?

Thank you.

Re: Change keyboard layout for one user account AFTER logging in

Posted: Tue Nov 03, 2009 11:35 pm
by mountainmonkey
I found the solution:
mkdir -p ~/.config/lxsession/LXDE/
cp /etc/xdg/lxsession/LXDE/autostart ~/.config/lxsession/LXDE/
leafpad ~/.config/lxsession/LXDE/autostart
add "setxkbmap us" at the end and save