Tiny Core Extensions > TCE Talk
freedesktop standard for icons and .desktop files.
Jason W:
According to freedesktop standards, Icon=icon.png is compliant. Look at "Example Desktop Entry File" section of the page below:
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html
But even so, we are making efforts to accommodate all DE's even if they don't play well with all freedesktop compliant Icon entry formats.
bmarkus:
--- Quote from: Jason W on May 02, 2010, 08:37:43 AM ---According to freedesktop standards, Icon=icon.png is compliant. Look at "Example Desktop Entry File" section of the page below:
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html
But even so, we are making efforts to accommodate all DE's even if they don't play well with all freedesktop compliant Icon entry formats.
--- End quote ---
Good finding. I had a discussion with PCMan regarding icon handling in PCManFM2 and his view that this is not compliant. This is a good point to continue discussion :)
Lets say, it is a bug in PCManFM2 and leave extensions as they are as this is working in other DE environment. PCManFM2 anyhow is a beta software. However, it is a relly a polite stuff to make TC repo work fine even with this :)
Jason W:
The upcoming 3.x repo has had it's desktop files converted to Icon=icon, so it is all good. I guess that Icon=icon.png is perhaps semi deprecated in the DE development world, so new DE's may be moving away from it. So we can't go wrong with Icon=icon. 2.x will get one final conversion soon also.
maro:
Until about 48h ago I did not had the slightest clue about .desktop files. In an attempt to change that I took a look around and stumbled over the fact that on the reference page several links are available:
* Latest version points to a multiple page document (which appears to be "Version 1.1-draft"),
* Version 1.0 is available either as a one page or as a multiple pages document.
Why am I boring everybody with those details? One of the small differences between v1.1 (also available as a one page document) is that the example entry has been changed from Icon=fooview.png to Icon=fooview.
Furthermore, I ran a check on the .desktop files in an Ubuntu 09.10 installation: there was no 'Icon=name.ext' entry to be found (they were all like 'Icon=name'). Lets just assume they are compliant with the spec.
bmarkus:
A draft specification is not an official. It is just a draft which can be changed.
I can imagine UBUNTU adjusted all packages to the draft, however if you just download packages in source and compile them, result is a mixture of Icon=xxx.png and Icon=xxx
Key question is the adaptation of the draft by the DE developers. Maybe UBUNTU is strong enough to force application developers to follow it. Anyhow, if you use a certain DE you have to accept its implementation way.
Also, example is one thing. Detailed text:
"Icon to display in file manager, menus, etc. If the name is an absolute path, the given file will be used. If the name is not an absolute path, the algorithm described in the Icon Theme Specification will be used to locate the icon."
It still leaves room for different interpretations.
At the very end question is not what is written in the standard but what and how is implemented in KDE, Gnome, Xfce4, LXDE. You need to adjust your system, your applications to work as expected when used independently what is in the papers :(
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version