After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 648187 - Custom keyboard shotcuts: Edit / adding new ones
Custom keyboard shotcuts: Edit / adding new ones
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Keyboard
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-19 08:56 UTC by jacke parkmann
Modified: 2011-04-27 22:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jacke parkmann 2011-04-19 08:56:37 UTC
It is not possible to edit custom keyboard shortcuts. There are 4 entries in the list. Editing one the entry disappears.

Also adding new entries does not work. After entering program name and command nothing happens.
Comment 1 jorchube 2011-04-21 13:54:32 UTC
I can confirm this issue.

It happens to me in 3 machines, one of them x86_64, and the other two i686.

Using Archlinux in all of them.
Comment 2 Bastien Nocera 2011-04-26 14:56:54 UTC
commit 83512fb6fed5d6a88554e0716639d771881938d2
Author: Bastien Nocera <hadess@hadess.net>
Date:   Tue Apr 26 15:49:16 2011 +0100

    keyboard: Fix adding custom shortcuts

    We need something other than "0" as an answer. Thanks for breaking
    the responses glade.

    https://bugzilla.gnome.org/show_bug.cgi?id=648187
Comment 3 jorchube 2011-04-27 11:31:11 UTC
May be not so "fixed"

Now, (using the 3.0.1.1 version) I can set a shortcut, and it not dissappears, but, for example, trying to set the screenshot shortcut to "gnome-screenshot", mutter still throws a message saying "no command 33 has been defined"

And although the four entries in the list that were named "Unknown Action" and whose key was "Disabled", can be edited or deleted, as soon as system settings is reopened, they reappear.
Comment 4 Bastien Nocera 2011-04-27 11:33:51 UTC
(In reply to comment #3)
> May be not so "fixed"
> 
> Now, (using the 3.0.1.1 version) I can set a shortcut, and it not dissappears,
> but, for example, trying to set the screenshot shortcut to "gnome-screenshot",
> mutter still throws a message saying "no command 33 has been defined"
> 
> And although the four entries in the list that were named "Unknown Action" and
> whose key was "Disabled", can be edited or deleted, as soon as system settings
> is reopened, they reappear.

Any other random junk showing up in the keyboard shortcuts is not the keyboard shortcuts' code's responsibility. Check in /usr/share/gnome-control-center/keybindings/ for which file provides that, and check which package provides it. File separate bugs about it.
Comment 5 jorchube 2011-04-27 12:01:27 UTC
Sorry, but I'm not sure about it:

Inside /usr/share/gnome-control-center-keybindings/ there are only the .xml files for the four predefined sections (multimedia, system, launchers and accessibility) which content is fine, but these "random junk" appears under the "Custom shortcuts" section, even if I've deleted them previously, and even using a complete new user with an empty home. (It may be deliverated, but since it looks to me a little bit strange, and I don't know if it is supposerd to appear, I prefer to report.)
Comment 6 Wendell MacKenzie 2011-04-27 22:12:50 UTC
I can confirm that this fixes the keyboard shortcuts issue.  Installed on opensuse 11.4 - Gnome 3.0 from STABLE build.