2011-02-22

LXAppearance Issues

A couple days ago, I had a bit more time on my hands, so I decided to redo UberBang and start from a minimal Ubuntu installation again; this is also because it seems like my respins created with Remastersys don't seem to be installable, so I want to redo it using the Ubuntu Customization Kit. I installed the OS in a virtual machine, installed packages like X, Openbox, Nitrogen, et cetera, and started configuring stuff.
Except that now I can't properly set an icon theme of my choosing. Previously, I used LXAppearance to do this, but now, LXAppearance sees all GTK+ themes as the default Clearlooks theme and all icon themes as the default GNOME Hi-Color theme. I installed GTK-ChTheme to be able to change the GTK+ theme, but there's no other similar program for changing just the icon theme (aside from the whole package of GNOME configuration tools, but I don't want to add all that extra bloat). Plus, editing the ~/.gtkrc-2.0 file doesn't work at all; the icon theme remains at the default (and creating a ~/.gtkrc-2.0.mine file and including that in the ~/.gtkrc-2.0 file doesn't work either).
Why is LXAppearance giving me so much trouble all of a sudden? Is there a more reliable way that I can change the icon theme? I would certainly love to know!

7 comments:

  1. Oh, and now I notice you are using gnome with openbox rather than lxde or straight openbox it could be that an update has broken your .obt mime-associations.
    Try:
    update-mime-database /usr/share/mime
    update-desktop-database /usr/share/applications

    ReplyDelete
  2. @T_Beermonster: No, I'm actually using Openbox alone. Thanks for the comment though!

    ReplyDelete
  3. Ah I misread, the perils of post midnight web surfing.
    Anyway ObConf should be able to manage your themes.

    ReplyDelete
  4. @T_Beermonster: Unfortunately, ObConf only manages Openbox themes; it can't manage GTK+ or icon themes (unless I'm totally blind and have been missing it all these days). Thanks for the comment!

    ReplyDelete
  5. You need to append "gtk-icon-theme-name = "[name-of-icon-theme]" to your ~/.gtkrc.mine (not gtkrc-2.0) file and then ensure that ~/.gtkrc-2.0 is configured to parse ~/.gtkrc.mine:

    # ~/.gtkrc-2.0
    include "/usr/share/themes/Rezlooks-Gilouche/gtk-2.0/gtkrc" # or whatever theme you want
    include "/home/username/.gtkrc.mine"

    You may also want to consider using lxappearance2-git, which is the most recent developmental build.

    ReplyDelete
  6. @BP: I did append those respective lines to ~/.gtkrc-2.0 and ~/.gtkrc-2.0.mine, but it still didn't seem to work. Also, are you sure the latest version of LXAppearance (from Git) will help, and how would I install and use that? The interesting thing is that before, when I used LXAppearance, it was erratic but eventually got the job done; now, it's totally broken. Thanks for the comment!

    ReplyDelete