ubuntu startup reset keyboard layout

Bug #225055 reported by souzacds
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

at ubuntu startup the keyboard layout always reset, but at system settings/keyboard shows the right layout.
if I add the same layout again, it's works fine.

@see
http://ubuntuforums.org/showthread.php?t=772511

Revision history for this message
ferchon03 (cosciofer) wrote :

Same problem here with Spain layout. I have to set the keyboard layout every time I restart.

Revision history for this message
grgtvs (grgtvs) wrote :

Same problem with USA and GREEK layouts.

I just want to mention that my 8.04 installation it was an upgrade from 7.10.

Revision history for this message
cthuljew (arc-highbeam) wrote :

Upgraded 7.10 to 8.04, and my dvorak keeps changing to QWERTY on reboot, even though I have it set as default.

Revision history for this message
Raphael J. Schmid (raphael-j-schmid) wrote :

"Me too" notice. This seems to be some sort of regression, since it worked just fine in 7.10.

(Too bad things that used to work keep breaking upon Ubuntu updates... really doesn't instill confidence in the OS - but that's a different story.)

Revision history for this message
grgtvs (grgtvs) wrote :

Has any of you tried manually fix the layouts?

Here is a thread in ubuntu forums how to configure maltiple layouts in Ubuntu.

http://ubuntuforums.org/showthread.php?t=431888

Revision history for this message
ferchon03 (cosciofer) wrote :

Thanks grgtvs , I've just done that and after I restart it seems to be working. If anything change I'll post again.
Which I did was change Option "XkbLayout" "us" for Option "XkbLayout" "es".

Revision history for this message
grgtvs (grgtvs) wrote :

I fixed the problem manualy by adding in the /etc/X11/xorg.conf
In the InputDevice Section

Option "XkbLayout" "us,gr" #The layouts that you want to use.
Option "XkbOptions" "grp:alt_shift_toggle" #this is for changing the layout by pressing Alt+Shift

Now it looks like

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "us,gr"
 Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

and it was

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "us"
EndSection

now when i reboot my system the keyboard layout changes flawless.

This is just a workaround but the bug sustains i suppose
for new installation so it must be fixed.

Revision history for this message
Raphael J. Schmid (raphael-j-schmid) wrote :

That's a cool idea for a workaround. Is there a way to determine the name of your current layout (i.e. what's the short for "U.S. International (with dead keys)" for example?

Revision history for this message
grgtvs (grgtvs) wrote :

Well you could see the keyboard rules in /etc/X11/xkb/rules/xorg.lst file for the layouts, variants and options

This variant can be used for "us" layouts

 euro us: With EuroSign on 5
 intl us: International (with dead keys)
 alt-intl us: Alternative international (former us_intl)
 colemak us: Colemak
 dvorak us: Dvorak
 dvorak-intl us: Dvorak international
 dvorak-l us: Left handed Dvorak
 dvorak-r us: Right handed Dvorak
 dvorak-classic us: Classic Dvorak
 rus us: Russian phonetic
 mac us: Macintosh
 altgr-intl us: International (AltGr dead keys)
 olpc2 us: Group toggle on multiply/divide key

i.e if you want U.S. International (with dead keys) you may use

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "us"
 Option "XkbVariant" "intl"
EndSection

just add the correct variant into your xorg.conf according the /etc/X11/xkb/rules/xorg.lst rules.

Revision history for this message
Raphael J. Schmid (raphael-j-schmid) wrote :

Works like a charm - thank you grgtvs!

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.