custom keyboard shortcut inactive on login
Bug #367097 reported by
Brandon Williams
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Binary package hint: gnome-control-
On the Dell mini, the wireless key (Fn+2) issues keycode 171, XF86AudioNext. I have configured a 'Custom Shortcut' with the 'Keyboard Shortcuts' capplet that should run a command to toggle the WLAN state when I press the wireless key. This shortcut is inactive after I log in. If I open the 'Keyboard Shortcuts' capplet, change the short key, and then change it back to XF86AudioNext, the wireless key functions as expected in this session. However, if I log out and log back in, the shortcut key no longer functions and I have to re-enable again in the capplet.
tags: | added: jaunty |
To post a comment you must log in.
As a work-around, I wrote this script:
#!/bin/sh gnome/keybindin gs/custom0/ binding XF86WLAN gnome/keybindin gs/custom0/ binding XF86AudioNext
setxkbmap
gconftool-2 --set --type=string /desktop/
gconftool-2 --set --type=string /desktop/
I then configured the script to run at login using the 'Startup Applications' capplet. Neither setxkbmap nor the set/reset operation on its own appeared to be adequate. Both were required.