Why aren't the multimedia buttons working?

Matt Zimmerman mdz at canonical.com
Mon Nov 29 21:11:48 CST 2004


On Tue, Nov 30, 2004 at 01:34:24PM +1100, Jeff Waugh wrote:

> <quote who="Matt Zimmerman">
> 
> > > Computer > Desktop Preferences > Keyboard Shortcuts.
> > > 
> > > This question would be more appropriate on ubuntu-users, btw.
> > 
> > Shouldn't we assign a sane set of defaults, corresponding to the standard
> > desktop application suite?
> 
> Where X has special keyboard codes (XF86AudioPlay, for instance), we could,
> but there's no guarantee they'll work anywhere, or be entirely safe. Some
> special keys just don't have keyboard codes, either.

I don't see how it could do any harm to add default actions for multimedia
keys where they make sense.

XF86XK_WWW		launch browser
XF86XK_Eject		eject
XF86XK_PowerOff		logout
XF86XK_AudioPause	rhythmbox --play-pause
XF86XK_AudioMute	rhythmbox --toggle-mute
XF86XK_AudioLowerVolume	rhythmbox --volume-down
XF86XK_AudioRaiseVolume	rhythmbox --volume-up

etc.

-- 
 - mdz



More information about the ubuntu-devel mailing list