You can download my Headphone Switcher Applet (see my signature). Note - it can only be downloaded via applet-installer with a duet-controller. (direct link for download is http://www.stagessound.de/squeeze/Headphones.zip)
It's not really big - just a menu with two option (speaker on / headphone on). Both menu-items actually call the 'amixer' command as well so it should be easy for you to find it in the source-code. I think this is a very easy starting point to embed your own amixer command :D -- bluegaspode 1x SB-Controller+Receiver (Duet), 1xSB-Boom. 1xSB-Radio Server (7.5.1) running on SheevaPlug (Ubuntu) with attached Western Digital MyBook Essential. Want to see a Weather Forecast on your Radio/Touch/Controller ? => why not try my 'Weather Forecast Applet' (http://forums.slimdevices.com/showthread.php?t=73827) Want to use the Headphones with your Controller ? => why not try my 'Headphone Switcher Applet' (http://forums.slimdevices.com/showthread.php?t=67139) ------------------------------------------------------------------------ bluegaspode's Profile: http://forums.slimdevices.com/member.php?userid=31651 View this thread: http://forums.slimdevices.com/showthread.php?t=80484 _______________________________________________ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio