← Back to team overview

desktop-packages team mailing list archive

[Bug 1224732] Re: Custom keyboard shortcuts don't work

 

As an update, I found this post :-

http://ubuntuforums.org/showthread.php?t=2217890
and bug report https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1302885

Stating "
    The problem is that an incorrect string is set in dconf key: (Example)

    Original (working) value:
    ~$ gsettings get org.gnome.settings-daemon.plugins.media-keys volume-up 
    'XF86AudioRaiseVolume'

    After running "unity-control-center keyboard", and setting the shortcut for volume-up key:
    ~$ gsettings get org.gnome.settings-daemon.plugins.media-keys volume-up
    'AudioRaiseVolume' 


When I checked with dconf, my media keys were indeed screwed up as in this post. I added the XF86 prefix and they now work.

However, this is only one small part of the bug. (in fact a different bug)
If I try to capture keyboard events with xev, I am not getting any keypresses for keys I have assigned in the control centre gui.

For example, Brightness Up and Down keys - instead of triggering
"keypress" and "keyrelease" events, instead trigger "Mapping notify",
"focusout", "focusout", "focusin" and "keymapnotify" events.

I have also found that I can get the unresponsive keys to trigger the
correct events in xev by pressing them with another key, e.g. press
eject and F12, and I will get keypress events for both (and the shortcut
assigned to a key sometimes will execute too)

In desperation I have even installed xbindkeys and configured it, but it
seems to be too far up the keyboard handling chain to receive the keys
before something else has stolen them and done nothing with them.

** Also affects: gnome-control-center
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1224732

Title:
  Custom keyboard shortcuts don't work

Status in GNOME Control Center:
  New
Status in libxfce4ui:
  New
Status in “gnome-control-center” package in Ubuntu:
  Confirmed
Status in “libxkbcommon” package in Ubuntu:
  Confirmed

Bug description:
  Just noticed that adding custom keyboard shortcuts does not have any
  effect. If, for example, I add a custom keyboard shortcut for Evince
  and set it to Ctrl+Alt+E, pressing this key combination won't launch
  Evince.

  * What happens *
    When I add a custom keyboard shortcut (and bind it to some key combination), the shortcut does not run the associated command.

  * What I expect *
    After adding the custom shortcut, I expect that the shortcut launches the associated command.

  Description:	Ubuntu Saucy Salamander (development branch)
  Release:	13.10

  gnome-control-center:
    Installed: 1:3.6.3-0ubuntu36
    Candidate: 1:3.6.3-0ubuntu36
    Version table:
   *** 1:3.6.3-0ubuntu36 0
          500 http://us.archive.ubuntu.com/ubuntu/ saucy/main i386 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: gnome-control-center 1:3.6.3-0ubuntu36
  ProcVersionSignature: Ubuntu 3.11.0-7.13-generic 3.11.0
  Uname: Linux 3.11.0-7-generic i686
  ApportVersion: 2.12.1-0ubuntu4
  Architecture: i386
  Date: Thu Sep 12 19:21:56 2013
  InstallationDate: Installed on 2013-08-31 (12 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha i386 (20130830)
  MarkForUpload: True
  SourcePackage: gnome-control-center
  UpgradeStatus: No upgrade log present (probably fresh install)
  usr_lib_gnome-control-center:
   activity-log-manager          0.9.7-0ubuntu4
   deja-dup                      27.3.1-0ubuntu1
   gnome-control-center-datetime 13.10.0+13.10.20130903-0ubuntu1
   gnome-control-center-signon   0.1.7~+13.10.20130724.1-0ubuntu1
   gnome-control-center-unity    1.3daily13.06.14.1-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/1224732/+subscriptions