Re: Relative paths in .desktop files

2011-06-23 Thread David Faure
On Monday 18 April 2011, Vincent Untz wrote: FWIW, I'd consider ./ to be relative to the path defined in the Path key (which could be ./ to tell that it's the base directory of the .desktop file). From a KDE point of view: I support these additions to the desktop entry spec and I volunteer to

Re: Relative paths in .desktop files

2011-06-23 Thread Michael Thayer
On Thu, 2011-06-23 at 11:58 +0200, David Faure wrote: On Monday 18 April 2011, Vincent Untz wrote: FWIW, I'd consider ./ to be relative to the path defined in the Path key (which could be ./ to tell that it's the base directory of the .desktop file). From a KDE point of view: I support

Re: Relative paths in .desktop files

2011-06-23 Thread David Faure
On Thursday 23 June 2011, Michael Thayer wrote: On Thu, 2011-06-23 at 11:58 +0200, David Faure wrote: On Monday 18 April 2011, Vincent Untz wrote: FWIW, I'd consider ./ to be relative to the path defined in the Path key (which could be ./ to tell that it's the base directory of the

Re: Relative paths in .desktop files

2011-06-23 Thread Marty Jack
On 06/23/2011 06:47 AM, David Faure wrote: On Thursday 23 June 2011, Michael Thayer wrote: On Thu, 2011-06-23 at 11:58 +0200, David Faure wrote: On Monday 18 April 2011, Vincent Untz wrote: FWIW, I'd consider ./ to be relative to the path defined in the Path key (which could be ./ to tell

Re: Relative paths in .desktop files

2011-06-23 Thread David Faure
On Thursday 23 June 2011, Marty Jack wrote: I continue to oppose this. As I understand it, the intended use is for installation kits similar to how Autorun works on Windows. I would also refer everyone to the Autostart spec

Re: Relative paths in .desktop files

2011-06-23 Thread PCMan
On Thu, Jun 23, 2011 at 9:06 PM, David Faure fa...@kde.org wrote: On Thursday 23 June 2011, Marty Jack wrote: I continue to oppose this.  As I understand it, the intended use is for installation kits similar to how Autorun works on Windows. I would also refer everyone to the Autostart spec

Re: Relative paths in .desktop files

2011-06-23 Thread PCMan
For example, maybe a script can have an embedded icon like this: #/bin/sh #xdg_icon=data:image/png;base64,iVBORw0KGgoNSUhEUgUA AAAFCAYAAACNbyblHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO 9TXL0Y4OHwBJRU5ErkJggg== This is the data url scheme used by browsers. Then a file manger can

Re: Relative paths in .desktop files

2011-06-23 Thread David Faure
On Thursday 23 June 2011, you wrote: If you just want to give the script an icon, you can embed the icon in the script, and write a thumbnailer for it. IMHO, having run_me.sh in the folder is enough. Having run_me.sh, run_me.desktop, and run_me.png in the folder won't increase usability.

Re: Relative paths in .desktop files

2011-06-23 Thread Bastien Nocera
On Thu, 2011-06-23 at 15:30 +0200, David Faure wrote: On Thursday 23 June 2011, you wrote: If you just want to give the script an icon, you can embed the icon in the script, and write a thumbnailer for it. IMHO, having run_me.sh in the folder is enough. Having run_me.sh, run_me.desktop,