LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to install gtk2 thme with no gnome? (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-gtk2-thme-with-no-gnome-48044/)

Bogdan 03-03-2003 11:04 AM

How to install gtk2 thme with no gnome?
 
Hi all! I have gtk12, gtk2 and some gnome libs but not whole gnome. For gtk12 themes I just put them into /usr/share/themes and put `include ...../gtkrc` into ~/.gtkrc. When I get theme marked as for GTK2 and do all as before I get this theme in my gtk12 apps, but not in gtk2 apps. My system in Debian testing (nearly yesterday)

viciousfish 03-03-2003 02:53 PM

Gnome 2.0 runs the gnome-settings daemon, which seems to be responsible for applying the gtk-2.0 theme. Even if you have all of gnome installed, the gtk-2.0 themes don't seem to work under KDE; it doesn't run the daemon

Bogdan 03-04-2003 12:21 AM

Quote:

Originally posted by viciousfish
Gnome 2.0 runs the gnome-settings daemon, which seems to be responsible for applying the gtk-2.0 theme. Even if you have all of gnome installed, the gtk-2.0 themes don't seem to work under KDE; it doesn't run the daemon
I have no GNOME or KDE -IceWM only. So does it mean, that I can't use GTK2 themes?

tripomatic 04-16-2003 05:07 PM

Yes you can. I just looked it up for myself :-).

The file in your home directory must call
~/.gtkrc-2.0


Here there's an example of .gtkrc-2.0

include "/usr/share/themes/Etria.org-blue/gtk-2.0/gtkrc"

style "default"
{
font_name = "Helvetica 9"
}

widget_class "*" style "default"

style default with the font name is just because the fonts were to big.
so i changed it like that.


All times are GMT -5. The time now is 03:54 AM.