Change keyboard layout for one user account AFTER logging in

Please post all general support questions for LXDE here.
Locked
mountainmonkey
Posts: 10
Joined: Thu Oct 16, 2008 2:12 am

Change keyboard layout for one user account AFTER logging in

Post 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.
mountainmonkey
Posts: 10
Joined: Thu Oct 16, 2008 2:12 am

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

Post 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
Locked