deelab.org | There's no place like 127.0.0.1

dic/07

14

xbindkeys amarok archlinux

intro
$ sudo pacman -Sy xbindkeys
$ xbindkeys --defaults > ~/.xbindkeysrc

now let’s edit the config file adding some lines about amarok commands.

# amaroK / OPEN
"amarok"
m:0x10 + c:237
Mod2 + NoSymbol

# amaroK / Play or stop
"amarok -t"
m:0x0 + c:162
NoSymbol

# amaroK / Stop
"amarok -s"
m:0x0 + c:164
NoSymbol

# amaroK / Previous
"amarok -r"
m:0x0 + c:144
NoSymbol

# amaroK / Next
"amarok -f"
m:0x0 + c:153
NoSymbol

# amaroK / Volume up
"dcop amarok player volumeUp"
m:0x0 + c:176
NoSymbol

# amaroK / Volume down
"dcop amarok player volumeDown"
m:0x0 + c:174
NoSymbol

this lines are setted up for my keyboard. just need to take the respective button on your keyboard with
$ xbindkeys -k
and copy/paste overwriting mine.
my .xbindkeysrc

finally add a symlink to your ~/.kde/Autostart ( or better, *i* have kde ;) )
$ cd ~/.kde/Autostart && ln -s `which xbindkeys` xbindkeys

that’s all. bb.

Share and Enjoy:
  • Print
  • PDF
  • Slashdot
  • Technorati
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Identi.ca
  • Twitter

RSS Feed

1 commento for xbindkeys amarok archlinux

Cif ITALY Linux Mozilla Firefox 2.0.0.11 | 18 dicembre 2007 at 1:09 PM

It works! :)
Thanks

Leave a comment!

<<

>>

deelab.org owned by

Dario Vilardi

Stats

  • Pagine mostrate: 103526
  • Visitatori unici: 50629
  • Pagine visitate nelle ultime 24 ore: 151
  • Visitatori unici nelle ultime 24 ore: 30