Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-05-03 23:15:32

dmrx921
Member
Registered: 2015-05-03
Posts: 11

icons problem thunar

I am testing a theme and icons created and thunar shows well all icons least folders created in other folders created programs and other looks good but thunar aparecenlos gnome icons for these folders. If anyone knows how to fix it would be very grateful.

greetings smile

Offline

#2 2015-05-04 10:43:19

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

Re: icons problem thunar

If I understand correctly, you are creating your own icon theme and the folder icons in Thunar are not being properly displayed (they are displaying the default gnome folder icons).

Have a read through the Icon Naming Specification. Specifically related to the "places" directory and the folder names for that directory. Also have a look at an existing icon theme's places directory. You'll also have to craft a correct index.theme file that references the correct folders (see: http://standards.freedesktop.org/icon-t … atest.html as well as an existing theme.index file for another icon theme).

If I'm off base with my answer, perhaps a screenshot would help us to see the exact issue that you are having.


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

#3 2015-05-04 13:07:40

dmrx921
Member
Registered: 2015-05-03
Posts: 11

Re: icons problem thunar

Deputy capture so they can see my problem.
6p56ye.jpg

Offline

#4 2015-05-04 13:55:53

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

Re: icons problem thunar

You icon theme's places/*/folder.png file is either missing or incorrect. You need to create one for each directory specified in your icon theme's index.theme file.

For example, for the Faenza icon theme, these are the files you need to create/change:

$ find . -name folder.png -print
./places/16/folder.png
./places/22/folder.png
./places/32/folder.png
./places/96/folder.png
./places/48/folder.png
./places/64/folder.png
./places/24/folder.png

...assuming that in the index.theme file, you have corresponding entries for each folder:

$ cat index.theme | grep places
Directories=actions/16,animations/16,apps/16,categories/16,devices/16,emblems/16,mimetypes/16,places/16,status/16,stock/16,actions/22,animations/22,apps/22,categories/22,devices/22,emblems/22,mimetypes/22,places/22,status/22,stock/22,actions/24,animations/24,apps/24,categories/24,devices/24,emblems/24,mimetypes/24,places/24,status/24,stock/24,actions/32,animations/32,apps/32,categories/32,devices/32,emblems/32,mimetypes/32,places/32,status/32,stock/32,actions/48,animations/48,apps/48,categories/48,devices/48,emblems/48,mimetypes/48,places/48,status/48,stock/48,actions/64,animations/64,apps/64,categories/64,devices/64,emblems/64,mimetypes/64,places/64,status/64,stock/64,actions/96,animations/96,apps/96,categories/96,devices/96,emblems/96,mimetypes/96,places/96,status/96,stock/96,actions/scalable,apps/scalable,categories/scalable,devices/scalable,emblems/scalable,mimetypes/scalable,places/scalable,status/scalable,stock/scalable
[places/16]
[places/22]
[places/24]
[places/32]
[places/48]
[places/64]
[places/96]

After you create/change the file, make sure you run:

gtk-update-icon-cache .

...in your icon's root folder.


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

#5 2015-05-04 14:23:48

dmrx921
Member
Registered: 2015-05-03
Posts: 11

Re: icons problem thunar

I have cast him as you say, we left the left the command in case you want to check.



find . -name folder.png -print
./24x24/places/folder.png
./256x256/places/folder.png
./64x64/places/folder.png
./48x48/places/folder.png
./16x16/places/folder.png
./22x22/places/folder.png
./32x32/places/folder.png

cat index.theme | grep placesDirectories=22x22/status,22x22/actions,22x22/places,16x16/status,16x16/actions,16x16/places,32x32/status,32x32/actions,32x32/places,48x48/status,48x48/actions,48x48/places,64x64/places,24x24/status,24x24/actions,24x24/places,256x256/status,256x256/actions,256x256/places
[22x22/places]
[16x16/places]
[32x32/places]
[48x48/places]
[64x64/places]
[24x24/places]
[256x256/places]

I also remember that it is only thunar which gives problems the rest works well.

Offline

#6 2015-05-04 14:42:24

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

Re: icons problem thunar

dmrx921 wrote:

I also remember that it is only thunar which gives problems the rest works well.

That is interesting. Which distro are you using and which version of Thunar?

Have you tried closing all thunar instances (including killing the Thunar daemon if its running) and re-opening them? Or simply logging out and back in again?


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

#7 2015-05-04 14:49:37

dmrx921
Member
Registered: 2015-05-03
Posts: 11

Re: icons problem thunar

ToZ wrote:
dmrx921 wrote:

I also remember that it is only thunar which gives problems the rest works well.

That is interesting. Which distro are you using and which version of Thunar?

Have you tried closing all thunar instances (including killing the Thunar daemon if its running) and re-opening them? Or simply logging out and back in again?

And tried but it does not work, thunar is my version of my OS 1.6.3 and debian 8

Offline

#8 2015-05-04 14:54:54

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

Re: icons problem thunar

Some more questions:
- Are you possibly running Thunar as root when this is happening?
- Where is your icon theme stored?
- Can you post the contents of your icon theme's index.theme file?
- Are you willing to share your icon theme? I can fire it up here and have a closer look.


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

#9 2015-05-04 17:16:56

dmrx921
Member
Registered: 2015-05-03
Posts: 11

Re: icons problem thunar

ToZ wrote:

Some more questions:
- Are you possibly running Thunar as root when this is happening?
- Where is your icon theme stored?
- Can you post the contents of your icon theme's index.theme file?
- Are you willing to share your icon theme? I can fire it up here and have a closer look.

-I tried both as root as normal user.
-Put it in / usr / share / icons / nombre_del_tema.
-The file is spent by private along with the rest of the topic.
-If I am willing to share with you, with the only condition to fix the bug that has to thunar.

Thank you very much for your interest.

regards

Offline

#10 2015-05-04 17:47:15

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

Re: icons problem thunar

I received the icon set you sent me and in my system it works fine. The folder icons show up properly. (I have attached a screenshot in the email reply).

Which means, something other than the icon theme is the cause.

Can you please post back the results of:

ps -ef | grep xfsettingsd | grep -v grep

...and:

cat ~/.gtkrc-2.0

...and:

cat /etc/gtk-2.0/gtkrc

I have deleted your icon theme from my computer.


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

#11 2015-05-04 18:23:48

dmrx921
Member
Registered: 2015-05-03
Posts: 11

Re: icons problem thunar

Thanks here is the result of commands

-david     1232     1  0 20:15 ?        00:00:00 xfsettingsd --display :0.0 --sm-client-id 203299b7d-b5ec-4f29-836a-a99281edfb0f

-style "gtk-theme-config-panel" {
    bg[NORMAL] = "#babdb6"
    bg[PRELIGHT] = shade(1.1,"#babdb6")
    bg[ACTIVE] = shade(0.9,"#babdb6")
    bg[SELECTED] = shade(0.97,"#babdb6")
    fg[NORMAL] = "#4e9a06"
    fg[PRELIGHT] = "#4e9a06"
    fg[SELECTED] = "#4e9a06"
    fg[ACTIVE] = "#4e9a06"
}

widget "*PanelWidget*" style "gtk-theme-config-panel"
widget "*PanelApplet*" style "gtk-theme-config-panel"
widget "*fast-user-switch*" style "gtk-theme-config-panel"
widget "*CPUFreq*Applet*" style "gtk-theme-config-panel"
widget "*indicator-applet*" style "gtk-theme-config-panel"
class "PanelApp*" style "gtk-theme-config-panel"
class "PanelToplevel*" style "gtk-theme-config-panel"
widget_class "*PanelToplevel*" style "gtk-theme-config-panel"
widget_class "*notif*" style "gtk-theme-config-panel"
widget_class "*Notif*" style "gtk-theme-config-panel"
widget_class "*Tray*" style "gtk-theme-config-panel"
widget_class "*tray*" style "gtk-theme-config-panel"
widget_class "*computertemp*" style "gtk-theme-config-panel"
widget_class "*Applet*Tomboy*" style "gtk-theme-config-panel"
widget_class "*Applet*Netstatus*" style "gtk-theme-config-panel"
widget "*gdm-user-switch-menubar*" style "gtk-theme-config-panel"
widget "*Xfce*Panel*" style "gtk-theme-config-panel"
class "*Xfce*Panel*" style "gtk-theme-config-panel"

style "gtk-theme-config-menu" {
    base[NORMAL] = "#babdb6"
    bg[NORMAL] = "#babdb6"
    bg[ACTIVE] = "#babdb6"
    bg[INSENSITIVE] = "#babdb6"
    text[NORMAL] = "#077200"
    fg[NORMAL] = "#077200"
}

widget_class"*<GtkMenu>*"style"gtk-theme-config-menu"


gtk-icon-theme-name = "temasdm"
The last command says there is no such file or directory

Thanks again for your help.

Last edited by dmrx921 (2015-05-04 18:30:25)

Offline

#12 2015-05-04 19:11:13

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

Re: icons problem thunar

dmrx921 wrote:

-david     1232     1  0 20:15 ?        00:00:00 xfsettingsd --display :0.0 --sm-client-id 203299b7d-b5ec-4f29-836a-a99281edfb0f

Good. The Xfce settings daemon is running.

.....
gtk-icon-theme-name = "temasdm"

Can you try deleting this line and logging out and back in again to see if it has any effect. Its not necessary if xfsettingsd is running and you are selecting the icon theme from the Appearance applet (Settings Manager >> Appearance >> Icons tab).

The last command says there is no such file or directory

That's fine. If it existed, any settings in that file would have overwritten other settings.


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

#13 2015-05-04 19:16:34

dmrx921
Member
Registered: 2015-05-03
Posts: 11

Re: icons problem thunar

ToZ wrote:
dmrx921 wrote:

-david     1232     1  0 20:15 ?        00:00:00 xfsettingsd --display :0.0 --sm-client-id 203299b7d-b5ec-4f29-836a-a99281edfb0f

Good. The Xfce settings daemon is running.

.....
gtk-icon-theme-name = "temasdm"

Can you try deleting this line and logging out and back in again to see if it has any effect. Its not necessary if xfsettingsd is running and you are selecting the icon theme from the Appearance applet (Settings Manager >> Appearance >> Icons tab).

The last command says there is no such file or directory

That's fine. If it existed, any settings in that file would have overwritten other settings.

And erased the line and told me and the result is the same, if you have something to tell me I would appreciate masque.

Offline

#14 2015-05-04 19:20:08

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

Re: icons problem thunar

dmrx921 wrote:

And erased the line and told me and the result is the same,

And you logged out and back in again? If so, can you create another user on your computer and login as that user (it will have a clean profile) and set the icon theme via Settings Manager >> Appearance >> Icons and see if that works.

if you have something to tell me I would appreciate masque.

I'm sorry but I don't understand.


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

#15 2015-05-04 19:29:50

dmrx921
Member
Registered: 2015-05-03
Posts: 11

Re: icons problem thunar

Sorry but new user does not work (the only program that gives problems remains thunar).

And what I meant before is that donot what more could be done to fix this little bug.

Offline

#16 2015-05-04 19:59:38

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

Re: icons problem thunar

This is turning out to be a pesky little bug. Can we try a couple of more sanity checks:

1. Your current xsettings:

xfconf-query -c xsettings -lv

2. The status of the libraries linked with thunar:

ldd /usr/bin/thunar

Can you also try re-installing gnome-icon-theme? It will, among other things, rebuild the system icon cache.


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

#17 2015-05-04 20:26:07

dmrx921
Member
Registered: 2015-05-03
Posts: 11

Re: icons problem thunar

-/Gtk/ButtonImages               true
/Gtk/CanChangeAccels            true
/Gtk/ColorPalette               black:white:gray50:red:purple:blue:light blue:green:yellow:orange:lavender:brown:goldenrod4:dodger blue:pink:light green:gray10:gray30:gray75:gray90
/Gtk/ColorScheme                selected_bg_color:#2a9ee8;selected_fg_color:#edd400;
/Gtk/CursorThemeName            oxy-obsidian
/Gtk/CursorThemeSize            0
/Gtk/FontName                   Sans 10
/Gtk/IconSizes                 
/Gtk/IMModule                   
/Gtk/IMPreeditStyle             
/Gtk/IMStatusStyle             
/Gtk/KeyThemeName               
/Gtk/MenuBarAccel               F10
/Gtk/MenuImages                 true
/Gtk/ToolbarIconSize            3
/Gtk/ToolbarStyle               icons
/Net/CursorBlink                true
/Net/CursorBlinkTime            1200
/Net/DndDragThreshold           8
/Net/DoubleClickDistance        5
/Net/DoubleClickTime            250
/Net/EnableEventSounds          true
/Net/EnableInputFeedbackSounds  true
/Net/IconThemeName              temasdm
/Net/SoundThemeName             default
/Net/ThemeName                  cheser-gtk2-theme-3.14.0.1
/Xft/Antialias                  1
/Xft/Hinting                    -1
/Xft/HintStyle                  hintnone
/Xft/RGBA                       none


-linux-gate.so.1 (0xb76e8000)
    libthunarx-2.so.0 => /usr/lib/i386-linux-gnu/libthunarx-2.so.0 (0xb75df000)
    libexo-1.so.0 => /usr/lib/i386-linux-gnu/libexo-1.so.0 (0xb758a000)
    libgudev-1.0.so.0 => /usr/lib/i386-linux-gnu/libgudev-1.0.so.0 (0xb757e000)
    libnotify.so.4 => /usr/lib/i386-linux-gnu/libnotify.so.4 (0xb7576000)
    libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xb756c000)
    libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xb754f000)
    libxfce4ui-1.so.0 => /usr/lib/i386-linux-gnu/libxfce4ui-1.so.0 (0xb753b000)
    libgtk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 (0xb7042000)
    libgdk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0 (0xb6f81000)
    libatk-1.0.so.0 => /usr/lib/i386-linux-gnu/libatk-1.0.so.0 (0xb6f59000)
    libcairo.so.2 => /usr/lib/i386-linux-gnu/libcairo.so.2 (0xb6e10000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0 (0xb6de8000)
    libpango-1.0.so.0 => /usr/lib/i386-linux-gnu/libpango-1.0.so.0 (0xb6d95000)
    libxfce4util.so.6 => /usr/lib/i386-linux-gnu/libxfce4util.so.6 (0xb6d84000)
    libxfconf-0.so.2 => /usr/lib/i386-linux-gnu/libxfconf-0.so.2 (0xb6d6e000)
    libdbus-glib-1.so.2 => /usr/lib/i386-linux-gnu/libdbus-glib-1.so.2 (0xb6d47000)
    libdbus-1.so.3 => /lib/i386-linux-gnu/libdbus-1.so.3 (0xb6cf1000)
    libgio-2.0.so.0 => /usr/lib/i386-linux-gnu/libgio-2.0.so.0 (0xb6b3a000)
    libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xb6adc000)
    libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb69b4000)
    libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb6998000)
    libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb67ee000)
    libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0xb67e8000)
    libpangocairo-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0 (0xb67da000)
    libpangoft2-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0 (0xb67c2000)
    libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xb6780000)
    libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb66cf000)
    libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb657c000)
    libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb6536000)
    libudev.so.1 => /lib/i386-linux-gnu/libudev.so.1 (0xb6524000)
    libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xb651f000)
    libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb6519000)
    libstartup-notification-1.so.0 => /usr/lib/i386-linux-gnu/libstartup-notification-1.so.0 (0xb650d000)
    libXcomposite.so.1 => /usr/lib/i386-linux-gnu/libXcomposite.so.1 (0xb6509000)
    libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xb6505000)
    libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xb64fe000)
    libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb64f2000)
    libXinerama.so.1 => /usr/lib/i386-linux-gnu/libXinerama.so.1 (0xb64ed000)
    libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xb64da000)
    libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xb64ce000)
    libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xb64c2000)
    libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb64ad000)
    libpixman-1.so.0 => /usr/lib/i386-linux-gnu/libpixman-1.so.0 (0xb63f3000)
    libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb63c6000)
    libxcb-shm.so.0 => /usr/lib/i386-linux-gnu/libxcb-shm.so.0 (0xb63c2000)
    libxcb-render.so.0 => /usr/lib/i386-linux-gnu/libxcb-render.so.0 (0xb63b7000)
    libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb6391000)
    libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb6373000)
    librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xb636a000)
    libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 (0xb6367000)
    libthai.so.0 => /usr/lib/i386-linux-gnu/libthai.so.0 (0xb635d000)
    libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0xb6335000)
    libresolv.so.2 => /lib/i386-linux-gnu/i686/cmov/libresolv.so.2 (0xb631d000)
    libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xb6315000)
    libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb62a4000)
    /lib/ld-linux.so.2 (0xb76eb000)
    libharfbuzz.so.0 => /usr/lib/i386-linux-gnu/libharfbuzz.so.0 (0xb6247000)
    libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb621e000)
    libxcb-util.so.0 => /usr/lib/i386-linux-gnu/libxcb-util.so.0 (0xb6215000)
    libX11-xcb.so.1 => /usr/lib/i386-linux-gnu/libX11-xcb.so.1 (0xb6212000)
    libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb620e000)
    libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb6208000)
    libdatrie.so.1 => /usr/lib/i386-linux-gnu/libdatrie.so.1 (0xb61fe000)
    libgraphite2.so.3 => /usr/lib/i386-linux-gnu/libgraphite2.so.3 (0xb61e2000)

Tambien desisntale e instale los iconos y nada.

Offline

#18 2015-05-04 20:42:37

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

Re: icons problem thunar

I'm sorry but I don't know what else to suggest. Since your icon theme works fine on my system, I don't think its an issue with the theme itself. I am, however, using a newer version of Thunar (1.6.7). Perhaps there is a bug in the version that you are using that has since been fixed?


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

#19 2015-05-04 21:12:38

dmrx921
Member
Registered: 2015-05-03
Posts: 11

Re: icons problem thunar

ToZ wrote:

I'm sorry but I don't know what else to suggest. Since your icon theme works fine on my system, I don't think its an issue with the theme itself. I am, however, using a newer version of Thunar (1.6.7). Perhaps there is a bug in the version that you are using that has since been fixed?

I would like to know how to thunar installed because it gives me the error
make: *** No se especificó ningún objetivo y no se encontró ningún makefile.  Alto.
and then..
make: *** No rule to make target 'install'.  Alto.

Offline

#20 2015-05-05 02:01:04

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

Re: icons problem thunar

Did you build and install thunar from source?
If so, what commands did you use to configure the package before make (it is required to create the install rule)?
Where did you get the package from? Which version?


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

#21 2015-05-05 22:56:47

dmrx921
Member
Registered: 2015-05-03
Posts: 11

Re: icons problem thunar

if I was wise but thunar mistake, for installation I did a ./configure make and make install. And what it is the output and put the 2 last command.

At the end I got install but followed with the bug. Finally sustutui thunar by pcmanfm which works fine with my creation.

Last edited by dmrx921 (2015-05-05 22:57:15)

Offline

Board footer

Powered by FluxBB