Add ability to set default guest session keyboard layout

Bug #307196 reported by Elias K Gardner
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Baltix
New
Undecided
Unassigned
gdm-guest-session (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

I think this will be a wishlist item.

I use the dvorak as the default keyboard layout. My guest sessions then also uses dvorak as the default layout. Anyone I lend my computer to does not use dvorak and does not know how to change the keyboard layout. For the guest session to be useful I need to be able to set its default keyboard layout.

If this is a wishlist item it could be viewed more broadly as a wish to be able to customize the default guest session.

Revision history for this message
Paul Broadhead (pjbroad) wrote :

Thank you for taking the time to make Ubuntu better. Since what you submitted is a Feature Request to improve Ubuntu, you are invited to post your idea in Ubuntu Brainstorm at [WWW] https://brainstorm.ubuntu.com/ where it can be discussed, voted by the community and reviewed by developers. Thanks for taking the time to share your opinion!

Revision history for this message
Martin Pitt (pitti) wrote :

As a workaround (or different solution) you can set the global keyboard layout to US ("Apply system-wide") and set your own session's keyboard layout to dvorak.

Changed in gdm-guest-session:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Elias K Gardner (zorkerz) wrote : Re: [Bug 307196] Re: ability to set default guest session keyboard layout

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!"

summary: - ability to set default guest session keyboard layout
+ Add ability to set default guest session keyboard layout
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.