GNOME Bugzilla – Bug 674221
g-s-d's hotplug-command called only for mouse
Last modified: 2012-04-26 18:38:39 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
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