Some custom keyboard shortcuts don't function in new sessions

Bug #991873 reported by Chris Morgan
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have historically had three custom keyboard shortcuts:

gVim: Alt+F12
System Monitor: Shift+Ctrl+Escape
Python: Alt+F6

Since updating from Ubuntu 11.10 to 12.04, while the System Monitor shortcut continues to function, the two Alt+F[n] shortcuts do not function regularly.

All three are apparent in System Settings -> Keyboard -> Shortcuts -> Custom Shortcuts; if I select one of the two dysfunctional shortcuts and either clear it or change it to something else, and then change it back, it begins to work. However, when I log into a fresh session or restart the machine, the shortcut becomes dysfunctional once more.

Additionally, attempted invocation of either of the dysfunctional key combinations in a terminal renders the control sequence, passed through (as ^[[17;3~ or ^[[24;3~). This gives credence to my notion that the shortcuts had not been taken by something else (which would give an excuse for their registration failing).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-control-center 1:3.4.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Mon Apr 30 20:44:40 2012
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
SourcePackage: gnome-control-center
UpgradeStatus: Upgraded to precise on 2012-04-26 (3 days ago)
usr_lib_gnome-control-center:
 activity-log-manager-control-center 0.9.4-0ubuntu3
 deja-dup 22.0-0ubuntu2
 gnome-bluetooth 3.2.2-0ubuntu5
 indicator-datetime 0.3.94-0ubuntu2

Revision history for this message
Chris Morgan (chris.morgan) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Luca A. Rossi (larossi) wrote :

This bug also affects me. In previous releases of Ubuntu I used to assign Super+Numpad-, Super+Numpad/ and Super+Numpad* respectively to media play, previous and forward.

Now I can assign shortcuts using the "Super" key, but they don't work. If I assign them to something else, for example Alt+Numpad*, they work until I close the session or I restart the system.

summary: - Alt+F[n] keyboard shortcuts don't function in new sessions
+ Some custom keyboard shortcuts don't function in new sessions
Revision history for this message
Sylvan Butler (ubu-sylvan) wrote :

I have long had a Super+L shortcut to lock the display.

In 12.04 it works when I first set it, but log out and log in or reboot and it quits working. It is still listed, so I set it to something else then set it back to Super+L and it works again.

My workaround, I have a script set to auto start when I log in. In that script I have this and now my Super+L works when I need it:
# for some reason it seems to forget this binding after a reboot
# https://wiki.ubuntu.com/Keybindings
(
sleep 30
gsettings set org.gnome.settings-daemon.plugins.media-keys screensaver '<Super>l'
) &

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.