The post from ronanempire linked to a thread elsewhere that contained an
example.
It was:

Code:
--------------------
    
  $vi /etc/triggerhappy/triggers.d/media.conf
  KEY_VOLUMEUP     1 /usr/bin/mpc volume +1
  KEY_VOLUMEDOWN   1 /usr/bin/mpc volume -1
  KEY_MUTE         1 /usr/bin/mpc toggle
  
--------------------


To do the same on pCP simply change the script that is called sp it
becomes something like

Code:
--------------------
    
  KEY_VOLUMEUP     1 pcp up
  KEY_VOLUMEDOWN   1 pcp down
  KEY_MUTE         1 pcp pause
  
--------------------



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=113605

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to