Por marcos, hace 3 meses y 24 días
Enabling multimedia keys
These days I'm starting to use the awesome window manager on my archlinux laptop. Messing up with config files I found that the easiest way to set up the multimedia keys (volume up, down and mute, basically) is to use xbindkeys.
So here you have the simple setup:
$ yaourt xbindkeys
Create ~/.xbindkeysrc:
- # Vol down
- "amixer -q -c 0 sset 'Master',0 5%-"
- XF86AudioLowerVolume
# Vol up
- "amixer -q -c 0 sset 'Master',0 5%+"
- XF86AudioRaiseVolume
# Vol mute/unmute
- "amixer set 'Master',0 toggle"
- XF86AudioMute
And append to your rc.lua a call to xbindkeys:
- rc.lua:
- os.execute("xbindkeys &")
And that's all! :)

No hay comentarios
Sé el primero en escribir un comentario a esta entrada.
Escribir un comentario
Si quieres añadir tu comentario a esta entrada, simplemente rellena el siguiente formulario:
* Campos requeridos
Puedes usar estas etiquetas XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>.
No hay trackbacks
Para notificar de una mención en tu blog a esta entrada, habilita la notificación automática (Opciones > Discusión en WordPress) o especifica esta url de trackback: http://blog.tenak.net/go/252/trackback/