You are not logged in.

#1 2010-03-23 15:56:18

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

[Solution/Bug] Thunar - Ugly default icons

I updated my icon cache using gtk-update-icon-cache -f -q /usr/share/icons/hicolor and now I have these ugly default page icons in thunar for certain mimetypes. The odd thing is that I don't get this behavior is pcmanfs or nautilus.

Example: http://pyther.net/a/icons.png

Solution: http://bbs.archlinux.org/viewtopic.php? … 52#p739652

Last edited by pyther (2010-04-08 17:22:18)


Website - Blog - arch-home
Arch User since March 2005

Offline

#2 2010-03-23 16:04:44

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [Solution/Bug] Thunar - Ugly default icons

You may need to tell thunar which icons to use in .gtkrc-2.0

edit:  there's an explanation here:

http://thunar.xfce.org/pwiki/documentat … nd_folders

Although it doesn't explain why it just started happening.

Last edited by loafer (2010-03-23 16:08:49)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2010-03-23 16:24:57

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [Solution/Bug] Thunar - Ugly default icons

It is taking most of the theme, but for some reason it won't apply the whole theme :-/

pyther@tux: cat .gtkrc-2.0                                                    ~
# DO NOT EDIT!  This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine

gtk-theme-name="MurrinaGilouche"
gtk-icon-theme-name="Baku"
gtk-font-name="Bitstream Vera Sans 9"
gtk-toolbar-style=0
include "/home/pyther/.gtkrc-2.0.mine"

EDIT: if I change the icon theme, the icons all change with the exceptions of the ones that are ugly

Last edited by pyther (2010-03-23 16:25:39)


Website - Blog - arch-home
Arch User since March 2005

Offline

#4 2010-03-24 03:11:42

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [Solution/Bug] Thunar - Ugly default icons

This seems to affect the whole system (other users). I just find it bizarre it is isolated to thunar.


Website - Blog - arch-home
Arch User since March 2005

Offline

#5 2010-03-24 03:50:25

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [Solution/Bug] Thunar - Ugly default icons

Targets (41): abiword-2.8.2-2  hicolor-icon-theme-0.11-1  qt-4.6.2-2  arora-0.10.2-3  brasero-2.28.3-2  chromium-5.0.307.11-1  cups-1.4.2-3  
              deluge-1.2.2-1  gnome-panel-2.28.0-2  empathy-2.28.2-1  gnome-icon-theme-2.28.0-1  eog-2.28.2-2  evince-2.28.2-1  exo-0.3.106-1  
              file-roller-2.28.2-1  openjdk6-6.b17_1.7.1-1  frostwire-4.20.3-2  gconf-editor-2.28.0-1  gimp-2.6.8-3  gnome-disk-utility-2.28.1-1  
              gnome-games-2.28.2-1  gnome-media-2.28.5-1  gnome-mplayer-0.9.9.2-1  gthumb-2.10.11-3  handbrake-0.9.4-1  kdelibs-4.4.1-1  
              oxygen-icons-4.4.1-1  kdebase-runtime-4.4.1-2  nautilus-2.28.4-1  nitrogen-1.5.1-1  notification-daemon-0.4.0-4  openoffice-base-3.2.0-1  
              phonon-xine-4.4.0-1  pidgin-2.6.6-1  thunar-1.0.1-5  tomboy-1.1.0-1  transmission-gtk-1.92-1  vlc-1.0.5-5  wireshark-1.2.6-2  
              xcursor-themes-1.0.2-1  xine-ui-0.99.5-6

Reinstalled all of those packages as they had files in /usr/share/icons and one of them did the trick


Website - Blog - arch-home
Arch User since March 2005

Offline

#6 2010-03-24 04:55:58

droog
Member
Registered: 2004-11-18
Posts: 877

Re: [Solution/Bug] Thunar - Ugly default icons

Yeah I had this problem with an icon theme that relied on part of gnome-icon-theme for the text icons and a few others, the rest of the icons worked though. I think it was gnome-colors icons that I was using.

Offline

#7 2010-03-24 07:00:09

dptkby
Member
Registered: 2009-07-02
Posts: 64

Re: [Solution/Bug] Thunar - Ugly default icons

droog wrote:

Yeah I had this problem with an icon theme that relied on part of gnome-icon-theme for the text icons and a few others, the rest of the icons worked though. I think it was gnome-colors icons that I was using.

I can confirm that, had the same problem with gnome-colors for a while.

Offline

#8 2010-04-01 16:29:38

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [Solution/Bug] Thunar - Ugly default icons

*bump* I'm having this problem again, icons in pcmanfm and nautilus are fine, but I'm missing some in thunar


Website - Blog - arch-home
Arch User since March 2005

Offline

#9 2010-04-02 12:24:34

Revolt
Member
From: Portugal
Registered: 2009-06-11
Posts: 71
Website

Re: [Solution/Bug] Thunar - Ugly default icons

Yeah me too sad

Offline

#10 2010-04-03 23:22:47

Revolt
Member
From: Portugal
Registered: 2009-06-11
Posts: 71
Website

Re: [Solution/Bug] Thunar - Ugly default icons

Managed to "fix" the ugly icons problem by downgrading gnome-icon-theme (and gnome-system-monitor and gtkhtml because of deps). It probably has something to do with the new gnome-icon-theme missing svgs and probably a hell lot of other icons, namely, mimetypes.

Offline

#11 2010-04-03 23:25:11

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [Solution/Bug] Thunar - Ugly default icons

Maybe but the issue is non-existent in pcmanfm or nautilus. sad


Website - Blog - arch-home
Arch User since March 2005

Offline

#12 2010-04-03 23:27:29

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

Re: [Solution/Bug] Thunar - Ugly default icons

Revolt wrote:

Managed to "fix" the ugly icons problem by downgrading gnome-icon-theme (and gnome-system-monitor and gtkhtml because of deps). It probably has something to do with the new gnome-icon-theme missing svgs and probably a hell lot of other icons, namely, mimetypes.

Yup, pretty much all icon theme rely on gnome-icon-theme to fill in the gaps - my Thunar has been uglified as well thanks to this.


The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

#13 2010-04-03 23:40:30

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [Solution/Bug] Thunar - Ugly default icons

But the question remains, why just in thunar?


Website - Blog - arch-home
Arch User since March 2005

Offline

#14 2010-04-04 00:30:46

fifafrazer
Member
Registered: 2008-02-18
Posts: 81

Re: [Solution/Bug] Thunar - Ugly default icons

I fixed my "Neu" theme with:

cd /usr/share/icons/Neu/scalable/mimetypes
sudo ln -s binary.svg gnome-mime-application.svg
sudo ln -s binary.svg mime-application.svg

Offline

#15 2010-04-04 00:57:48

Revolt
Member
From: Portugal
Registered: 2009-06-11
Posts: 71
Website

Re: [Solution/Bug] Thunar - Ugly default icons

pyther wrote:

But the question remains, why just in thunar?

I don't know. I found out that pcmanfm2 also warned about inexistent icons but it must have some kind of smart fallback implemented. On the other hand, thunar, when it doesn't find the required icon(s), falls back to that ugly thingie.

Offline

#16 2010-04-04 02:47:23

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: [Solution/Bug] Thunar - Ugly default icons

+1

IgnorePkg = v86d dhcpcd kernel26 kernel26-firmware xorg-server xf86-video-r128 xf86-video-fbdev xf86-input-evdev xf86-input-keyboard mesa libgl ati-dri r128-dri libdrm libgnome ghostscript gnome-icon-theme

To be fair, some of those may be coming off if my monitor ever gets out of repairs and I get to try KMS again.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#17 2010-04-08 17:18:34

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [Solution/Bug] Thunar - Ugly default icons

Alright I nailed the problem. Thunar uses the following two icons (gnome-fs-regular and application-octet-stream) as fallback icons when it can't find another icons. These icons were removed in gnome-icon-theme 2.30. Therefore, we get the ugly page icons.

Two solutions:
1) Create one of the two icons in /usr/share/icons/gnome/[size]/mimetypes
2) Patch thunar to use a different icon

--- Thunar-1.0.1/thunar-vfs/thunar-vfs-mime-info.c.orig    2010-04-08 12:08:40.590462587 -0400
+++ Thunar-1.0.1/thunar-vfs/thunar-vfs-mime-info.c    2010-04-08 12:09:11.200561414 -0400
@@ -55,7 +55,7 @@ static const struct
 };
 
 /* first fallback gnome icon name */
-static const gchar GNOME_FS_REGULAR[] = "gnome-fs-regular";
+static const gchar GNOME_FS_REGULAR[] = "text-x-generic";
 
 /* second fallback gnome icon name */
 static const gchar GNOME_MIME_APPLICATION_OCTET_STREAM[] = "gnome-mime-application-octet-stream"

The outcome of this bug report https://bugzilla.gnome.org/show_bug.cgi?id=615194 will determine which solution is the best. Where these two icon intentionally removed? If so patch thunar, otherwise update gnome-icon-theme.


Website - Blog - arch-home
Arch User since March 2005

Offline

#18 2010-04-09 01:27:47

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: [Solution/Bug] Thunar - Ugly default icons

It was probably intentional. Plus the barcode (stock_id) was also removed.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#19 2010-04-17 13:25:13

Revolt
Member
From: Portugal
Registered: 2009-06-11
Posts: 71
Website

Re: [Solution/Bug] Thunar - Ugly default icons

Upstream fix in gnome-icon-theme should revert things back to normal: http://git.gnome.org/browse/gnome-icon- … afd000a5e9

Offline

Board footer

Powered by FluxBB