Keyboard shortcuts (System Settings > Keyboard) are reset to default values after upgrading to 12.10

Bug #1069053 reported by jtonic
104
This bug affects 22 people
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Undecided
Nishant Pandit

Bug Description

Before upgrading to 12.10 I had a couple of custom keyboard shortcuts (meaning another key combination or disable the shortcut).
After upgrade (w/ success ) all of them have been reset to defaults.

Custom shortcuts:
Launch terminal: before: Win+T; after: Ctrl+Alt+T
Switch Applications: before: Win+Tab; after: Alt+Tab
Switch system controls: before: disable; after: Ctrl+Alt+Tab
etc..

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1069053/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Lukas Vacek (lukas-vacek) wrote :

I can confirm this. I lose my custom keyboard shortcuts on every login :-/. Worked fine in Ubuntu 12.04.

I have setup following script and added it to "Startup Applications" as a workaround:

gsettings set org.gnome.desktop.wm.keybindings toggle-maximized "['<Super>F']"
for i in 1 2 3 4; do gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-$i "['<Super>F$i']" ; done
gsettings set org.gnome.desktop.wm.keybindings minimize "['<Super>G']"
gsettings set org.gnome.desktop.wm.keybindings close "['<Super>Q']"

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Lukas Vacek (lukas-vacek) wrote :

If I remember correctly, I lost the custom shortcuts after running "setsid unity" too.

Revision history for this message
vilbara (vilmantas-baranauskas) wrote :

I loose my custom shortcuts often, but not on each logout+login. I've also seen just part of my custom shortcuts being lost.

I have following customizations:
Navigation -> Switch to workspace 1-4: CTRL+1 ... CTRL+4
Navigation -> Switch to workspace left/right/above/below: Disabled
Windows -> Move window: Disabled

Revision history for this message
bradclawsie (clawsie) wrote :

custom shortcuts reliably vanish after reboots on 12.10 for me.

e.g. "move to workspace 1" -> "Ctrl 1" etc

all revert back to defaults upon reboot

Revision history for this message
Ev Kontsevoy (biz-kontsevoy) wrote :

Same here. The machine frequently loses the custom keyboard shortcuts which I configure in Settings/Keyboard. Some examples include closing windows with Alt+W, switching to workspaces by Win+1, Win+2, etc.

If this helps, I use a Thinkpad x220 docked to an external monitor and a keyboard. Initially I thought this happens when I dock/undock it, but even if I leave it docked permanently it eventually resets to the default behavior.

Revision history for this message
vangelis (vangls) wrote :

I have been having the same problem since I installed 64 bit 12.10 (fresh install). It does not happen consistently, only every other or every three or four boots.

Custom shortcuts that had not keyboard combinations assigned by default are not affected.

Revision history for this message
kenneth hsu (kennethhsu) wrote :
Revision history for this message
Bambitroll (juan-btcorp) wrote :

Looks like it happens when using dual screens. But not (at least not always) when using only the laptop screen.

Revision history for this message
Ali Najafi (alinajafi) wrote :

I tried to edit keybindings (shortcut keys) through dconf Editor and considered it’s impossible to change shortcuts for "maximize" and "un-maximize"; system doesn’t follow what you enter for these shortcuts and they remain the same.
So I tried to change other shortcuts through dconf Editor, and they’re OK now. None of them changed after tens of reboots.

I guess it can be a problem in dconf Editor (because it has various bugs, for example in Unity Greeter most options deosn’t affect system).

Changed in ubuntu:
assignee: nobody → Nishant Pandit (nickdiamond1234)
Revision history for this message
Ali Najafi (alinajafi) wrote :

Hey guys,
I just found something that may help to solve the issue. I’m sorry for I should explain everything.

As you know it’s possible to change shortcuts keys from Dconf Editor, CCSM, and also Unity Tweak Tool. Well, I’d tried both Dconf Editor and CCSM, but the problem still existed. So I tried Unity Tweak Tool, and yeah they does NOT change anymore. But the problem here is that Unity Tweak Tool doesn’t have all the shortcuts.

So it seems the way the shortcuts are stored on home folder raises the problem. Every time I changed the shortcuts, logout process would take more than 2 minutes afterwards.

Some time later, my Ubuntu Unity Plugin got disabled by accident**. I just logged in and found it disabled. I had a blank desktop with wallpaper: no menu, no launcher. I opened CCSM and enabled the Unity Plugin. There were SOME CONFLICTS, the most important one for Show Desktop between Unity Plugin and General Options. I chose DISABLE for all. Wonderful! Both problems are solved now:
I have my shortcuts UNCHANGED after more than 10 reboots and some hard shutdowns due to power failure. Also the logout process is fast as always.

I conclude the problem is originated from the conflicts between (GNOME?) General Options and Unity Plugin which both have settings to change keyboard shortcuts.

** Not totally by accident. When logout process took long, I would kill X-server just by Ctrl+Alt+Backspace. The last time I didn’t kill X and waited, and opened DASH during the logout process! Maybe this caused Unity Plugin crashed on the next login.

Revision history for this message
Ali Najafi (alinajafi) wrote :

Sorry, I forgot to mention I currently have Ubuntu 14.04 Trusty Tahr.

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.