Opened 14 years ago
Closed 14 years ago
#430 closed enhancement (fixed)
Use keyboard specific keys to set the volume
Reported by: | erikos | Owned by: | erikos |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | Unspecified |
Component: | Sugar | Version: | Unspecified |
Severity: | Minor | Keywords: | |
Cc: | Distribution/OS: | Unspecified | |
Bug Status: | Resolved |
Description
At the moment we use F11 and F12 to change the volume. Those does match the keys on the XO. Would be nice to match as well other hardware keys.
There are the 'XF86Audio*' keys like 'XF86AudioLowerVolume'. Maybe we could just use those.
Change History (2)
comment:1 in reply to: ↑ description Changed 14 years ago by tomeu
comment:2 Changed 14 years ago by erikos
- Bug Status changed from Unconfimed to Resolved
- Resolution set to fixed
- Status changed from new to closed
Awesome - pushed
http://git.sugarlabs.org/projects/sugar/repos/mainline/commits/af47bdf91ebe127e2d2384ec0afd49d617881d49
The mute one is not working here on my T61 - but it is not working on GNOME neither - maybe someone else has more luck.
And one for "Print' as well
http://git.sugarlabs.org/projects/sugar/repos/mainline/commits/ac3c460ab57fdd4c4451eff0901c1fda75ed3c8b
We could as well map XF86Search - but i have no fancy keyboard to test it.
Replying to erikos:
Yes, looks like GNOME uses those. The code is in the func do_sound_action in:
http://svn.gnome.org/viewvc/gnome-settings-daemon/trunk/plugins/media-keys/gsd-media-keys-manager.c?view=markup