Talk:Change keyboard layouts

From LXDE.org
Jump to: navigation, search

This is what I did to turn on dvorak keyboard layout for only one user on an otherwise shared system:

/home/user/.config/autstart/dvorak.desktop:

[Desktop Entry]
Encoding=UTF-8
Name= Dvorak
Comment=Sets Dvorak keyboard layout
Exec=setxkbmap dvorak

and then to set keyboard layout to default after logout:

/etc/lxdm/PostLogout:

#!/bin/sh
setxkbmap us