View Single Post
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#11
Originally Posted by Tintin View Post
I wasn't sure if the code you included was supposed to be run as two entries or as one long sentence.
I tried both but did not seem to do anything.
When executing the first row I don't get any confirmation or error message.
When executing the second row I got 'no permission'.
I tried checking for active processes using an app i got running in tne status barr but it didnt show there - and i also tried pulling out the cord whilst playing a podcast through gpodder/panucci but the player did not pause.
You should place the file in /home/user, as (I think) the SD cards are mounted with noexec (meaning you cannot execute applications on it). If you have the binary in the root of /media/mmc2/ (for example), move them (using the "mv" command) to /home/user, then cd into /home/user, make it executable (just to make sure) and start it:

Code:
mv /media/mmc2/headphoned-armel-diablo /home/user/
cd /home/user/
chmod +x headphoned-armel-diablo
./headphoned-armel-diablo &
The pause setting only works for the built-in Media Player right now, not for Panucci (or any other media player). Adding support for this would not be too difficult, however.
 

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