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 674221 - g-s-d's hotplug-command called only for mouse
g-s-d's hotplug-command called only for mouse
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: keyboard
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks: 674874
 
 
Reported: 2012-04-16 20:47 UTC by Eric Piel
Modified: 2012-04-26 18:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eric Piel 2012-04-16 20:47:31 UTC
gnome-settings-daemon provides a setting to call a script when an (input) device is added/removed. See:
http://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/common/input-device-example.sh

However, for now it's only called when a mouse or a touchpad is added/removed. Keyboards do not call the hotplug-command.

Keyboard plugin (or maybe the core?) should be extented to support the call of this command. Example code is already available in plugins/mouse/gsd-mouse-manager.c
Comment 1 Bastien Nocera 2012-04-26 18:38:39 UTC
commit a90f42b0cd0d235f72f24ef4a59ff422351ecdda
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Apr 26 19:04:16 2012 +0100

    keyboard: Run a custom command for new keyboards
    
    https://bugzilla.gnome.org/show_bug.cgi?id=674221