Re: Absolute paths to applications in .desktop files



Le mercredi 23 juillet 2008, à 01:59 +0100, Alexander Jones a écrit :
> Hi
> 
> 2008/7/23 Vincent Untz <vuntz gnome org>:
> > This is more complex than that. If I copy a launcher from the
> > applications menu to my panel or desktop and then run my session in
> > jhbuild, I might want to use the jhbuilt application instead of the
> > system application.
> >
> > If the user changes $PATH, then it has to be expected that some things
> > might break. Also, if the user has gcalctool in $HOME/bin, he'll run
> > into weird things when typing gcalctool in the run dialog, eg.
> 
> This highlights an issue I've been meaning to bring up... The way we
> deal with creating panel/desktop launchers is by COPYING the Desktop
> Entry file. Desktop Entry files should, IMO, only be used to define
> applications. Launchers, etc., should be pointing to them instead.

Actually, the panel does not copy them and directly use the file. That's
fine, until the user starts modifying it, in which case we have no
choice and we have to "fork" the file.

Nautilus doesn't do that, though.

Vincent

-- 
Les gens heureux ne sont pas pressés.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]