I compiled mplayer from source on Ubuntu. I didn\'t want to use a GUI but I wanted to make a executable bash file that gets the path from an file that gets dropped onto the
Try:
#!/bin/bash mplayer "$1"
The file path of the dropped file will be passed to the script file as the 1th command line argument.