When you double click on the file name in Thunar what variable will be passed to the shell script? #!/bin/bash xfmeida-remote (What goes here?) I guessing it's not $1 ... didn't work Thanks for everyones patience with beginner questions ....