Thread: aUDIOBOOK?
View Single Post
jldiaz's Avatar
Posts: 48 | Thanked: 40 times | Joined on Apr 2008 @ Spain
#13
Originally Posted by MstPrgmr View Post
I did that and it still says "/bin/sh: abplayer: not found"
You need to specify the absolute or relative path to the executable. For example, assuming that you put the abplayer file in your home directory, in the xterm you type:

Code:
$ /home/user/abplayer /path/to/audiobook.mp3
Or, if you are at the same folder than the executable, you can use the simpler relative path: ./abplayer

Alternatively, you can put the executable at user scripts folder, named for example /home/user/bin, and add this folder to the PATH variable, by writting the following lines in your /home/user/.profile file:

Code:
PATH=$PATH:/home/user/bin
export PATH
This way, next time you open xterm, you can simply write "abplayer" without need to specify any path (and this will be also true for any future script you put in your bin folder).
__________________
--ル Diaz