keyboard layout switching combination does not get saved

Bug #194645 reported by Nikolay V. Nemshilov
4
Affects Status Importance Assigned to Milestone
Ubuntu
Incomplete
Undecided
Unassigned

Bug Description

Each time after reboot/logout my keyboard layout switching combination falls back to the default Alt+Shift.

I'm doing right click on the keyboard switcher applet, the following Keyboard Preferences -> Layouts -> Layout Options -> Layout Switching. Then I see my Ctrl+Shift is checked on as it should be (but in really Alt+Shift does). I uncheck it then check back and then my Ctrl+Shift combination begins to work. But after reboot all gets back.

--
~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

Revision history for this message
pfaffman (pfaffman) wrote : control as additional capslock bad too

When I set control as an additional capslock it works, but it stops working after a reboot or a resume. It's still checked when I go into the applet to see it. If I change it back to default and then back to the way I want it, it works again for that session.

Also, the caps-lock light on my laptop gets toggled when I press the capslock key even when it's working as a control key. 7.10 did not have this behavior.

Revision history for this message
muadnu (web-cosas) wrote :

I'm seeing the exact same problem in Hardy Beta (64 bit)...

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

Is it still an issue with Hardy Final ?

Revision history for this message
Nikolay V. Nemshilov (nemshilov) wrote :

Actually I don't know. I've patched the xorg config manually to fix the problem.

Revision history for this message
Diaa Sami (diaa.sami) wrote :

I'm having this problem on both my laptop and desktop, both running 8.04 final upgraded from 7.10, it's happening exactly as Nikolay described above.
please let me know if I can help

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Nikolay, how did you patch the xorg config ?

Revision history for this message
Nikolay V. Nemshilov (nemshilov) wrote :

There's a line like this

Option "XkbOptions" "... alt_shift_toggle ... "

replace the option with "ctrl_shift_toggle" (or whatever you need) and restart the x-server.

Revision history for this message
pgmmpk (pgmmpk) wrote :

I am experiencing the same bug: layout switch shortcut stop working after reboot. To make it work I have to uncheck it in Layout Switching panel, and check it back on... This works until I reboot.

I am willing to do more research, if someone here gives me some pointers.

Revision history for this message
Ofir Klinger (klinger-ofir) wrote :

I experience it too: switching layout with either Alt+Alt or RAlt+Shift doesn't work until I go to keyboard preferences (System->Preferences->Keyboard) and reselect the layout (press the button indicates the current layout, and press Ok in the dialog opened).

The following post solved my problem:
http://ubuntuforums.org/showpost.php?p=4995013&postcount=7

Revision history for this message
Ofir Klinger (klinger-ofir) wrote :

I am taking my words back.

The post didn't solved my problem - I still can't switch layouts (even with the "Keyboard Indicator" applet!).

The only solution is the one I mentioned in my last comment.

Any help would be appreciated!

Revision history for this message
hexion (hexium) wrote :

This bug is present in Ubuntu Hardy.

Steps:

- Install hardy out of the box (not modifying xorg.conf)
- System->Preferences->Keyboard
- There, add 2 layouts. I.e., the spanish one and the UK one.
- Set a combination to change the layout, for examble, "scroll button"

It will work as expected.

- Reboot and try again.

It doesn't work, pressing that button won't change the layout.

- Go again to System->Preferences->Keyboard and disable/reenable the button for swifting the layout. Then close the config application.
- Try again, now it works ok (until next reboot).

Revision history for this message
Simos Xenitellis  (simosx) wrote :

Do you run autologin (that is, you configured GDM so that when you reboot, it does not ask for a username/password)?

This issue may also apply when returning from hibernation/suspension.

Revision history for this message
Fotis Tsamis (ftsamis) wrote :

I have the same problem in hardy and I run autologin let me check if it works with autologin turned off... I'll post back

Revision history for this message
Fotis Tsamis (ftsamis) wrote :

Yes Simos you are right.. layout switch worked correctly after i tured off autologin and restarted...

Thank You :)

Revision history for this message
muadnu (web-cosas) wrote : Re: [Bug 194645] Re: keyboard layout switching combination does not get saved

So it seems to be clear that autologin is causing trouble, but does anyone
know what exactly is the cause of the bug? What makes layout switching not
to work with autologin? It would be nice to know to try to find a solution,
I'd really like to be able to use both autologin and layout switching...

On Mon, Jul 28, 2008 at 8:17 AM, Phantomas <email address hidden> wrote:

> *** This bug is a duplicate of bug 196277 ***
> https://bugs.launchpad.net/bugs/196277
>
> Yes Simos you are right.. layout switch worked correctly after i tured
> off autologin and restarted...
>
> Thank You :)
>
> --
> keyboard layout switching combination does not get saved
> https://bugs.launchpad.net/bugs/194645
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu: Incomplete
>
> Bug description:
> Each time after reboot/logout my keyboard layout switching combination
> falls back to the default Alt+Shift.
>
> I'm doing right click on the keyboard switcher applet, the following
> Keyboard Preferences -> Layouts -> Layout Options -> Layout Switching. Then
> I see my Ctrl+Shift is checked on as it should be (but in really Alt+Shift
> does). I uncheck it then check back and then my Ctrl+Shift combination
> begins to work. But after reboot all gets back.
>
> --
> ~$ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=8.04
> DISTRIB_CODENAME=hardy
> DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"
>

Revision history for this message
Fotis Tsamis (ftsamis) wrote :
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.