Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-03-20 00:25:33

josvanr
Member
Registered: 2012-11-18
Posts: 5

Thunar doesnt display icons of .desktop files

Hello

I made my own directory of applications containing xxxxx.desktop files. The files are copied there from /usr/share/applications. When I browse /usr/share/applications with thunar, the .desktop files all have icons (well most of them) But when I browse my own directory containing the copied files, no icons are shown. All file have the same cog icon or somehting. Why?

Jos

Offline

#2 2018-03-20 13:15:28

alcornoqui
Member
Registered: 2014-07-28
Posts: 831

Re: Thunar doesnt display icons of .desktop files

Same here (even if I copied the files as root), using Thunar 1.6.11 and Xfce 4.12 on Xubuntu 16.04.4.

Offline

#3 2018-03-20 15:04:58

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Thunar doesnt display icons of .desktop files

Oddly enough, it works on one of my machines but not the other. And as far as I know, the systems are identical.

Let me see if I can find something in the code.

Edit: Ahhh. The file needs to be made executable for the icon to appear outside of /usr/share/applications.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#4 2018-03-20 19:55:17

alcornoqui
Member
Registered: 2014-07-28
Posts: 831

Re: Thunar doesnt display icons of .desktop files

> The file needs to be made executable for the icon to appear outside of /usr/share/applications.

Confirmed! Thanks ToZ!

Offline

#5 2018-03-23 17:05:22

josvanr
Member
Registered: 2012-11-18
Posts: 5

Re: Thunar doesnt display icons of .desktop files

Yes that was it ! smile

Offline

Board footer

Powered by FluxBB