Is gnome fully compliant with freedesktop sepc? Any know issues?

2013-01-17 Thread jupiter
Hi, A year ago, I developed an application menu system based on freedesktop spec for Linux desktop system. Unfortunately, it did not work in gnome, but works perfect on xfce and kde. I was not clear if gnome is not compliant with freedesktop spec, or if gnome uses its own desktop spec. Even today,

Re: Is gnome fully compliant with freedesktop sepc? Any know issues?

2013-01-17 Thread Jasper St. Pierre
If a GNOME module implements published FreeDesktop specifications, such as the desktop entry specification, or the menu specification, it should always be specificiation-compliant. Of course, bugs in implementations are always possible, and if you have issues with any of our implementations, please

Re: Is gnome fully compliant with freedesktop sepc? Any know issues?

2013-01-17 Thread Ma Xiaojun
( Forgot to reply the list, sorry. ) To OP: Can you show full Exec line you used? AFAIK, in general, if you want to set environmental variables, you should env command. Regards, Ma Xiaojun ___ desktop-devel-list mailing list desktop-devel-list@gnome.or

Re: Is gnome fully compliant with freedesktop sepc? Any know issues?

2013-01-18 Thread jupiter
> in general, if you want to set environmental variables, you should env > command. I am not to set environment variable, but to use environment variable in desktop entry file. Or did you mean you can set up env command in desktop entry file? > Can you show full Exec line you used? I have foll

Re: Is gnome fully compliant with freedesktop sepc? Any know issues?

2013-01-18 Thread Frederic Crozat
2013/1/18 jupiter : >> in general, if you want to set environmental variables, you should env >> command. > > I am not to set environment variable, but to use environment variable > in desktop entry file. Or did you mean you can set up env command in > desktop entry file? > >> Can you show full E

Re: Is gnome fully compliant with freedesktop sepc? Any know issues?

2013-01-18 Thread jupiter
> Using environment variable is not part of the specification. It is an > extension done by KDE. Does that mean there is no chance to set Path to user home directory in gnome, which is a very common setup? How is the latest version GNOME 3.4 Release? Any chance to set up Path to user home directo

Re: Is gnome fully compliant with freedesktop sepc? Any know issues?

2013-01-18 Thread Frederic Crozat
2013/1/18 jupiter : >> Using environment variable is not part of the specification. It is an >> extension done by KDE. > > Does that mean there is no chance to set Path to user home directory > in gnome, which is a very common setup? > > How is the latest version GNOME 3.4 Release? Any chance to se

Re: Is gnome fully compliant with freedesktop sepc? Any know issues?

2013-01-18 Thread Simon McVittie
On 18/01/13 11:37, jupiter wrote: > [Desktop Entry] > Encoding=UTF-8 > Version=1.0 > Type=Application > Terminal=false > Exec=$HOME/MyApp > Name=My Application > Icon=$HOME/Icons/MyIcon.png As others have noted, the desktop-file spec doesn't have any special handling for $ in keys. It could be arg

Re: Is gnome fully compliant with freedesktop sepc? Any know issues?

2013-01-18 Thread jupiter
> AFAIK, it is the case by default, no need to specify it. No, without setting the Path $HOME, the default path would be in the application installation directory such as /usr/local. On 1/18/13, Frederic Crozat wrote: > 2013/1/18 jupiter : >>> Using environment variable is not part of the spec

Re: Is gnome fully compliant with freedesktop sepc? Any know issues?

2013-01-18 Thread jupiter
On 1/18/13, Simon McVittie wrote: > On 18/01/13 11:37, jupiter wrote: >> [Desktop Entry] >> Encoding=UTF-8 >> Version=1.0 >> Type=Application >> Terminal=false >> Exec=$HOME/MyApp >> Name=My Application >> Icon=$HOME/Icons/MyIcon.png > > As others have noted, the desktop-file spec doesn't have any