You are not logged in.

#1 2013-12-20 06:11:08

xworld
Member
Registered: 2012-05-27
Posts: 153

[SOLVED]Icon theme set properly in .gtkrc-2.0.mine,no icons in Thunar

Hi again. I seem to not be able to utilize the search function properly. I've arrived at these three threads:

https://bbs.archlinux.org/viewtopic.php?id=48490
https://bbs.archlinux.org/viewtopic.php?id=98261
https://bbs.archlinux.org/viewtopic.php?id=103138

None of them seem to help me. As you can see, I--like others-- am having a problem with icons in thunar. However, it's not because I don't know how the .gtkrc-2.0 file works or something silly like that. I just did this in Slackware with Awesome wm and it worked fine. I've created a .gtkrc-2.0 in my home directory, I have the include line pointing to .gtkrc-2.0.mine and I have this line:

gtk-icon-theme-name = "icontheme"

Considering that didn't work I installed lxappearance and set the theme from there. Turns out, it actually does work it seems. I can see in firefox that the icon theme is working. Also, some files in Thunar have their proper icons. In the filesystem, my root folder has it's appropriate icon as well. However, every other folder in thunar is just blank. No icon. I'm using Awesome wm. I hope you will see this isn't the same problem everyone else has had with Thunar and gtk icon themes. Hopefully the community does not frown on this post. I've searched, but if there is indeed a thread somewhere that I missed, would someone mind kindly directing me to it? Thank you, and thanks for reading.

Last edited by xworld (2013-12-25 15:34:51)

Offline

#2 2013-12-20 17:34:13

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: [SOLVED]Icon theme set properly in .gtkrc-2.0.mine,no icons in Thunar

you did of course try different icon themes?
can you start thunar from a terminal and post the output?
and scrot the thunar window, with no icons except the root folder's?
post all gtkrcs that are connected to this.
does awesome, or you, use some kind of session management?

Offline

#3 2013-12-20 21:25:50

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]Icon theme set properly in .gtkrc-2.0.mine,no icons in Thunar

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

gtk-theme-name="SlicknesS-black"
gtk-icon-theme-name="black-white_2-gloss"
gtk-font-name="Cantarell 11"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
gtk-xft-rgba="rgb"
include "~/user/.gtkrc-2.0.mine"

As generated by lxappearance. Originally I had only the include line in .gtkrc-2.0 which I created myself but since that didn't work I tried lxappearance.

gtk-icon-theme-name = "black-white_2-gloss"

That's what I had in my .gtkrc-2.0.mine

(thunar:788): Gtk-WARNING **: Unable to locate theme engine in module_path: "ubuntulooks",

(thunar:788): Gtk-WARNING **: Unable to locate theme engine in module_path: "crux-engine",

Output of starting thunar in terminal. That's always been like that for every linux I've ever had though and it never affected the icons before.

oLqOzen.png
As you can see, the icons are having an effect, but only on certain things. Also, I'm starting awesome with .xinitrc.

#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

exec xcompmgr &

# merge in defaults and keymaps
[ -f $sysresources ] && xrdb -merge $sysresources
[ -f $sysmodmap ] && xmodmap $sysmodmap
[ -f $userresources ] && xrdb -merge $userresources
[ -f $usermodmap ] && xmodmap $usermodmap

# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
  ck-launch-session dbus-launch --exit-with-session awesome
else
  awesome
fi

Last edited by xworld (2013-12-20 21:29:05)

Offline

#4 2013-12-20 22:44:00

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: [SOLVED]Icon theme set properly in .gtkrc-2.0.mine,no icons in Thunar

xworld wrote:

Originally I had only the include line in .gtkrc-2.0 which I created myself but since that didn't work I tried lxappearance.

gtk-icon-theme-name = "black-white_2-gloss"

That's what I had in my .gtkrc-2.0.mine

so what's in it now? it's still being parsed.

ondoho wrote:

you did of course try different icon themes?
can you start thunar from a terminal and post the output?

Offline

#5 2013-12-21 14:06:48

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: [SOLVED]Icon theme set properly in .gtkrc-2.0.mine,no icons in Thunar

You have to check permissions on icons folders and files.

Offline

#6 2013-12-22 05:02:02

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]Icon theme set properly in .gtkrc-2.0.mine,no icons in Thunar

Well since I decided to try the lxappearance option, there is no .gtkrc-2.0.mine. Also, I tried the gnome icon theme and that seems to work just fine. Why wouldn't the other one work? I suppose I could just move on and try to find a new favorite, but I would still like to understand why this is happening.

Btw I posted the output of starting thunar from terminal in my first post.

Last edited by xworld (2013-12-22 05:02:44)

Offline

#7 2013-12-22 11:47:14

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: [SOLVED]Icon theme set properly in .gtkrc-2.0.mine,no icons in Thunar

seems to be a problem with the icon theme.
maybe the inherit in index.theme points to a non-installed icon theme.
in any case, you can delete the entry in .gtkrc-2.0.mine. just leave it there as an empty file.

Offline

#8 2013-12-25 15:33:55

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]Icon theme set properly in .gtkrc-2.0.mine,no icons in Thunar

Alright that seems to be what it is. Found a new theme anyway so I'm marking this as solved. Thanks for your time I appreciate it.

Last edited by xworld (2013-12-25 15:34:13)

Offline

Board footer

Powered by FluxBB