You are not logged in.

#1 2006-03-02 18:34:41

aSlocum
Member
From: Frankfurt/Main, Germany
Registered: 2006-02-27
Posts: 12

how to set gtk icon theme with fvwm?

how can i set an icon theme for gtk apps when i use fvwm?
apps like thunar or nautilus shows the default stock gtk icons in the toolbar and a "unknown" icon for folders apps and files

thank you smile


Bück dich Fee, Wunsch ist Wunsch!

Offline

#2 2006-03-02 18:56:08

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: how to set gtk icon theme with fvwm?

You'll need the gnome-settings-daemon for that I'm affraid.

DestroyFunc InitFunction
AddToFunc InitFunction
[...]
+ I Exec exec gnome-settings-daemon
[...]

Don't know if it should be in the InitFunction of in the StartFunction, you'll have to check that yourself.

Offline

#3 2006-03-02 19:15:40

babyigor37
Member
From: Arizona
Registered: 2003-12-06
Posts: 58

Re: how to set gtk icon theme with fvwm?

I use FVWM and I change the icons of GTK apps using the .gtkrc.mine file in my home directory.

gtk-icon-theme-name = "nuoveXT-gnome-1.5"

That's the line I have in my .gtkrc.mine file and I have the icons installed in ~/.icons.  That gives all my GTK apps the nuoveXT icons, without having to use gnome-settings-daemon.

Offline

#4 2006-03-02 19:27:46

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: how to set gtk icon theme with fvwm?

babyigor37 wrote:

I use FVWM and I change the icons of GTK apps using the .gtkrc.mine file in my home directory.

gtk-icon-theme-name = "nuoveXT-gnome-1.5"

That's the line I have in my .gtkrc.mine file and I have the icons installed in ~/.icons.  That gives all my GTK apps the nuoveXT icons, without having to use gnome-settings-daemon.

It's better to put it in your ~/.gtkrc-2.0 file. And to expand on this, here are some other things you can put in your .gtkrc-2.0:

include "/usr/share/themes/Clearlooks-Olive/gtk-2.0/gtkrc"
gtk-font-name="Verdana 8"
gtk-icon-theme-name = "nuoveXT-1.6"
gtk-toolbar-style = GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR

This specified the gtk theme, the icon theme, fonts, and some properties for app toolbars.


I am a gated community.

Offline

#5 2006-03-02 20:07:56

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: how to set gtk icon theme with fvwm?

pressh wrote:

You'll need the gnome-settings-daemon for that I'm affraid.

No you don't? I use "gtk-theme-switch2", and it is working just fine.


Arch - It's something refreshing

Offline

#6 2006-03-02 20:13:18

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: how to set gtk icon theme with fvwm?

Does that also work for icons ?!  8)

Offline

#7 2006-03-02 21:17:07

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: how to set gtk icon theme with fvwm?

pressh wrote:

Does that also work for icons ?!  8)

Sure it does. And you don't need some big fat Gnome libraries.


Arch - It's something refreshing

Offline

#8 2006-03-02 21:30:45

aSlocum
Member
From: Frankfurt/Main, Germany
Registered: 2006-02-27
Posts: 12

Re: how to set gtk icon theme with fvwm?

gtk-theme-switch2 and gtk-chtheme cannot change the icons (or i didnt found that options...)

gtk-icon-theme-name = "Tango"
gtk-toolbar-style = GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR

works fine. thank you


Bück dich Fee, Wunsch ist Wunsch!

Offline

Board footer

Powered by FluxBB