It is also possible to change the layout by modifying the file /usr/share/gdm/guest-session/guest-session-setup.sh
Directions have been copied from here https://answers.launchpad.net/ubuntu/+source/gdm-guest-session/+question/48970thanks to David D Lowe.
"Open /usr/share/gdm/guest-session/guest-session-setup.sh as root:
sudo gedit /usr/share/gdm/guest-session/guest-session-setup.sh
Find the following lines:
su guest <<EOF gconftool --set --type bool /apps/gnome_settings_daemon/screensaver/start_screensaver False gconftool --set --type bool /apps/gnome_settings_daemon/plugins/screensaver/active False EOF
Before the second EOF, add this line:
gconftool --set --type list --list-type string /desktop/gnome/peripherals/keyboard/kbd/layouts [us,us"`echo "\tdvorak"`"]
This will make the default layout US Qwerty, with US Dvorak as a secondary keyboard.
Hope it works!"
It is also possible to change the layout by modifying the file gdm/guest- session/ guest-session- setup.sh
/usr/share/
Directions have been copied from here /answers. launchpad. net/ubuntu/ +source/ gdm-guest- session/ +question/ 48970thanks
https:/
to David D Lowe.
"Open /usr/share/ gdm/guest- session/ guest-session- setup.sh as root:
sudo gedit /usr/share/ gdm/guest- session/ guest-session- setup.sh
Find the following lines:
su guest <<EOF settings_ daemon/ screensaver/ start_screensav er False settings_ daemon/ plugins/ screensaver/ active False
gconftool --set --type bool
/apps/gnome_
gconftool --set --type bool
/apps/gnome_
EOF
Before the second EOF, add this line:
gconftool --set --type list --list-type string gnome/periphera ls/keyboard/ kbd/layouts [us,us"`echo "\tdvorak"`"]
/desktop/
This will make the default layout US Qwerty, with US Dvorak as a secondary
keyboard.
Hope it works!"