Results 1 to 5 of 5

Thread: I cant get gtk2 apps to use a theme.

  1. #1
    Join Date
    Dec 2011
    Beans
    4

    I cant get gtk2 apps to use a theme.

    I'm on 11.10 and I want to use Elegant Brit GTK3 and GTK2 theme and the Google Gnome shell theme. So far I've been able to get the Gnome shell and GTK3 themes working, but my GTK2 apps look absolutely horrible. I originally tried using just the Elegant Brit GTK3 theme and that didn't work, so I tried copying the gtk2 folder into the Elegant Brit theme folder in /Usr/Share/Themes, that didn't work either. I'm using Advanced Setting for setting themes, is there anything i'm doing wrong or didn't do?

  2. #2
    Join Date
    Dec 2011
    Beans
    4

    Re: I cant get gtk2 apps to use a theme.

    Bump, please can somebody give me a bit of info on this, i just got back to using ubuntu after getting nvidia optimus to work and im very new to gnome 3

  3. #3
    Join Date
    Feb 2009
    Location
    Netherlands
    Beans
    784

    Re: I cant get gtk2 apps to use a theme.

    Put the theme in either /usr/share/themes or ~/.themes, and create or edit the file ~/.gtkrc-2.0 so it contains this line:
    Code:
    gtk-theme-name="Elegant Brit"
    Check if it needs to be Elegant Brit or Elegant_Brit. If it still doesn't work, launch the gtk2 app from a terminal and check for useful output.

  4. #4
    Join Date
    Dec 2011
    Beans
    4

    Re: I cant get gtk2 apps to use a theme.

    I've been able to use gtk2/3 combined themes before, now that you say something about the theme name maybe thats the problem, maybe they are named differently, how would I check for and fix this. I think that might be whats happening Its looking for the gtk2 parts of the theme but cant find them because it thinks they are for a different theme

  5. #5
    Join Date
    Feb 2009
    Location
    Netherlands
    Beans
    784

    Re: I cant get gtk2 apps to use a theme.

    No, the name is specified by the index.theme file inside the theme folder; if that folder contains a gtk-2.0 and a gtk-3.0 folder the theme name is the same.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •