View Single Post
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#819
New asui test binary. You need to update any audio profiles because EXEC has changed roles.
  • EXEC runs audio lock key command as user
  • EXEC-ROOT runs audio lock key command as root
  • LAUNCH runs command as user when entering audio lock mode
  • LAUNCH-ROOT runs command as root when entering audio lock mode

Put this in /etc/asui-audio-lock-profiles/xmms
Code:
- launch xmmsctrl launch play play_list 1
plus exec xmmsctrl next
minus exec xmmsctrl previous
fullscreen exec xmmsctrl pause
The value before LAUNCH is ignored but make sure you have something there. LAUNCH and LAUNCH-ROOT are executed when entering audio lock mode and can be used to launch the music program.

EXEC and LAUNCH wrap the command in su - user -c 'COMMAND HERE'.

EDIT: changed the xmms launch command to only call xmmsctrl once.

Last edited by auouymous; 2011-09-21 at 08:43.
 

The Following User Says Thank You to auouymous For This Useful Post: