handling audio hotkeys

Olivier Fourdan fourdan at xfce.org
Wed Sep 6 19:25:03 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jani Monoses wrote:

> Xfce does not allow binding keycodes to keysyms so i guess a similar UI
> needs to be done for this particular case (in the mixer settings maybe)
> unless the user is expected to run xmodmap in the startup scripts.

$HOME/.Xmodmap is read by xfce startup script.

> any thoughts?

Add the corresponding keysyms and use the shortcut manager to
increase/decrease volume using a command line mixer.

keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 160 = XF86AudioMute

Another neat option would be to have a remote controller for the xfce
mixer and use it from the shortcut manager (a bit like the way
"xfdesktop --menu" works for example)

HTH
Olivier.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE/wRvFHBtvh5LRUARAt/kAJ0U8i467VW6n9VhcwbfxlA/97GRCACg2jiG
K2bIH4vPkiq7SuXWPzwSBFM=
=wSn+
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list