keyboard layout switching combination does not get saved

Bug #194645 reported by Nikolay V. Nemshilov on 2008-02-23
4
Affects Status Importance Assigned to Milestone
Ubuntu
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)"

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.

muadnu (web-cosas) wrote :

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

Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

Is it still an issue with Hardy Final ?

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

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

Jean-Baptiste Lallement (jibel) wrote :

Nikolay, how did you patch the xorg config ?

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.

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.

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

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!

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).

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.

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

Fotis Tsamis (ftsamis) wrote :

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

Thank You :)

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

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers