I compiled mplayer from a source on Ubuntu. I did not want to use the graphical interface, but I wanted to create a bash executable that gets the path from the file that gets into the bash file. How can i do this?
I wanted it to look something like this: mplayer <get full path to file
. file-ending>
I want the bash executable to be on my desktop;)
If possible, I just need the function rightclick -> start with mplayer
, but I don't know how to do this.
source share