Re: http://wiki.winehq.org/FAQ section 7.5 I have set things up on this Ubuntu 10.04 system, which has wine-1.2 as follows. Scratching my head here...any pointers please? elbournb at ubuntu:~$ cat ge.reg [HKEY_CLASSES_ROOT\.kml] @="googleearthfile" "Content Type"="application/googleearth" [HKEY_CLASSES_ROOT\googleearthfile\shell\open\command] @="/bin/bash run_linx_program googleearth \"%1\"" elbournb at ubuntu:~$ wine regedit ge.reg >>> I can see the entries in the registry elbournb at ubuntu:~$ cat /home/elbournb/bin/run_linx_program #!/bin/bash $1 "`wine winepath -u "$2"`" elbournb at ubuntu:~$ ls -l ~/bin total 4 -rwxr-xr-x 1 elbournb elbournb 39 2010-11-09 14:20 run_linx_program elbournb at ubuntu:~$ echo $PATH /home/elbournb/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games >>>> run_linx_program is executable and in the PATH. All should be ok....erm well nope: elbournb at ubuntu:~$ wine start c:\users\elbournb\Desktop\gefile.kml Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: File not found >>>>Interestingly, renaming the file: elbournb at ubuntu:~$ wine notepad c:\users\elbournb\Desktop\gefile.txt fixme:exec:SHELL_execute flags ignored: 0x00000100 >>> and notepad opens the file. Berni