On Sun, 18 Nov 2007 19:15:18 +0100 Hannes Janetzek <[EMAIL PROTECTED]> babbled:
> Am Sun, 18 Nov 2007 10:57:26 -0600 > schrieb MillTek <[EMAIL PROTECTED]>: > > > Hi, > > Where does e17 hold the list of programs associated with particular > > file types? I'd like to have '.sh' files opened with gvim but at > > present al it does is open gvim. The file itself is not opened within > > gvim. > > you have to add something %U to the .desktops executable so that e knows > how the path should be formatted that it passes to the app. have a look > at the desktop-file-spec if this doesnt work. or update efreet. this is a problem with most .desktop files and the freedesktop standards. the .desktop files actually don't comply. they do not specify how to run the app WITH a file as input. efreet was being very strict and following the standard. as the .desktop provided no indication of how to launch the app WITH a file passed in - only the app was launched. the .desktops don't follow the standard very well. i added code to "guess" if no %U/u/F/f etc. is provided in the cmd-line then guessing that just adding the full file path after the command will work. it's sloppy but it solves the problem. > regards, > Hannes > > > > > Jim > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > enlightenment-users mailing list > > enlightenment-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > enlightenment-users mailing list > enlightenment-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users