On Mon, 19 Nov 2007 08:08:02 -0600 MillTek <[EMAIL PROTECTED]> babbled:
> Carsten Haitzler (The Rasterman) wrote: > > On Mon, 19 Nov 2007 00:24:10 -0600 MillTek <[EMAIL PROTECTED]> babbled: > > > > > >> Carsten Haitzler (The Rasterman) wrote: > >> > >>> 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. > >>> > >>> > >>> > >> Carsten, my efreet is up to date as of Nov 16th. What exactly should I > >> do to get it to work? > >> > > > > update efreet. i made my canges to efreet on the 16th > > > I just updated efreet and it still doesn't work. it should - if you double-click a file (for example jpeg) it will chose the last used app for that mime type. if no app is known it will ask. it will execute it with the command where %U or %F etc. is replaced with the file path. if this isnt in the command spec for the .desktop it will fallbackand assume it can just add the filename. thats exactly what the code does. check your stdout from e17. efreet will be complaining if the .desktop cmd has no %U etc. spec. > > > >>>> 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 > >>>> > >>>> > >>>> > >>> > >>> > >> ------------------------------------------------------------------------- > >> 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