pcmanfm2 not display icon correctly ?

The dedicated forum for PCMan File Manager - http://wiki.lxde.org/en/PCManFM
Locked
mctiew
Posts: 8
Joined: Sun Feb 14, 2010 9:41 pm

pcmanfm2 not display icon correctly ?

Post by mctiew »

I hava a file located in ~/Desktop/saola.desktop, which content is like this :-

[Desktop Entry]
Name=Saola
Exec=env WINEPREFIX="/home/knoppix/.wine" wine "C:\\Program Files\\Saola\\Saola.exe"
Type=Application
StartupNotify=true
Icon=/home/knoppix/.local/share/icons/e2c4__76a41074.xpm

When I (double) click on it, it will run correctly but the ICON displayed on it is not correct. The icon displayed is not e2c4__76a41074.xpm.

However, in pcmanfm version 1, the icon displayed is correct.
schmidtbag
Posts: 38
Joined: Tue Feb 02, 2010 2:03 pm
Contact:

Re: pcmanfm2 not display icon correctly ?

Post by schmidtbag »

i'm getting this same problem. also, my icon arrangement is different. the icons won't move to the bottom row
My LXDE setup:
Asus EEE PC 900, 900MHz Celeron, 1GB of RAM, Intel integrated graphics, 16GB SSD
mctiew
Posts: 8
Joined: Sun Feb 14, 2010 9:41 pm

Re: pcmanfm2 not display icon correctly ?

Post by mctiew »

This is not even any acknowledgement on this. I wonder if this forum is still alive.
craigevil
Posts: 31
Joined: Fri Jul 24, 2009 8:48 am
Location: down the rabbit hole
Contact:

Re: pcmanfm2 not display icon correctly ?

Post by craigevil »

Same issue here. Firefox uses the proper icon but Thunderbird doesn't. I checked the icons are all in the correct place.

This works just fine:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name[en_US]=Firefox
Exec=/home/craig/Download/firefox/firefox %u
Icon=firefox.png
#Icon=/home/craig/Download/firefox/icons/mozicon128.png
StartupNotify=true
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;

While no matter what I use for Thunderbird all I get is the square blue icon that looks like a painting.
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name[en_US]=Thunderbird
Exec=/home/craig/Download/thunderbird/thunderbird
Icon=applications-internet
#Icon=/home/craig/Download/thunderbird/chrome/icons/default/default48.png
StartupNotify=true
Categories=Network;WebBrowser;

Full path to the icon doesn't work, nor does using thunderbird.png like the firefox one that works, or just thunderbird.

Running Debian sid, with :
$ apt-cache policy pcmanfm
pcmanfm:
Installed: 0.9.5-2
Candidate: 0.9.5-2
Version table:
*** 0.9.5-2 0
500 http://ftp.debian.org sid/main Packages
Debian Sid LXDE Kernel liquorix CPU Pentium IV 2.80GHz GeForce 9400 GT
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
schmidtbag
Posts: 38
Joined: Tue Feb 02, 2010 2:03 pm
Contact:

Re: pcmanfm2 not display icon correctly ?

Post by schmidtbag »

i'm not sure whats going on with this forum, it seems kinda irresponsible to me to re-write an entire program from scratch and expect people to not have problems.

i did find out why some icons don't show up correctly. if you use an icon in a generic location such as:
/usr/local/share/icons/*
/usr/share/icons/*
/usr/share/pixmaps/*
or probably (but i can't prove this yet) ~./icons/*
then all you have to do is type in the icon name, without the extension. so for example, if you edit the .desktop file of a launcher with a dead icon, lets just say we opened up pidgin. replace the whole /usr/share/icons/highcolor/scalable/pidgin.xpm and just replace it with plain "pidgin".

This of course doesn't work with icons in specific locations, such as the local folder in your home. i'd really like to know why full paths don't work though
My LXDE setup:
Asus EEE PC 900, 900MHz Celeron, 1GB of RAM, Intel integrated graphics, 16GB SSD
PCMan
Posts: 85
Joined: Mon Oct 06, 2008 9:52 am

Re: pcmanfm2 not display icon correctly ?

Post by PCMan »

Sorry for not replying these questions. I'm busy doing my daily job as a medical doctor in the hospital. I worked overtime everyday last week and I was on duty on the weekend (that's > 100 hours per week).
If you have a bug to report, please utilize the bug tracker, which is listed at the top of this forum.
http://forum.lxde.org/viewtopic.php?f=0&t=575
Anyway, the bug is fixed already in 0.9.7 RC1.
craigevil
Posts: 31
Joined: Fri Jul 24, 2009 8:48 am
Location: down the rabbit hole
Contact:

Re: pcmanfm2 not display icon correctly ?

Post by craigevil »

Thanks for all the hard work PCMan!

Icons are now working with full path.

pcmanfm:
Installed: 0.9.7-1
Candidate: 0.9.7-1
Version table:
*** 0.9.7-1 0
500 http://ftp.debian.org sid/main Packages
Debian Sid LXDE Kernel liquorix CPU Pentium IV 2.80GHz GeForce 9400 GT
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
Locked