Help - Search - Members - Calendar
Full Version: rox-filer icons
Neowin Forums > *nix Customization & Support > Customizing your *nix Desktop
flowin
been searching for a while now.. but i cant figure out how to change the icons used in rox-filer..
using fluxbox with it..

i cant seem to change it the Options/Types...

ichi
As far as I know the only way to do that is manually editing some config files, but it's easy.

Edit ~/.gtkrc.mine (or create it if it doesn't exist). Put this inside:

->If you want a background image:
CODE

pixmap_path /home/yourusername/images
style "rox" = "default"
{
 bg_pixmap[NORMAL] = "roxfondo.png"
}
widget_class "*Collection*" style "rox"

Change the /home/yourusername/images to the actual path to the background image you want to use.

->Tool bar icons:
CODE

pixmap_path "/home/yourusername/icons"

style "normal" {
 stock["gtk-close"] = {{"close-icon.png"}}
 stock["gtk-go-up"] = {{"up-icon.png"}}
 stock["gtk-home"] = {{"home-icon.png"}}
 stock["gtk-refresh"] = {{"refresh-icon.png"}}
 stock["gtk-zoom-in"] = {{"zoom-in-icon.png"}}
 stock["gtk-zoom-fit"] = {{"zoom-fit-icon.png"}}
 stock["gtk-jump-to"] = {{"jump-to-icon.png"}}
 stock["gtk-sort-ascending"] = {{"sort-icon.png"}}
 stock["gtk-help"] = {{"help-icon.png"}}
 stock["rox-show-hidden"] = {{"hidden-icon.png"}}
 stock["rox-show-details"] = {{"details-icon.png"}}
 stock["rox-select"] = {{"select-icon.png"}}
}

widget "*" style "normal"

You'll have to modify the icons' names to match the ones you have.

Save that file and open ~/.gtkrc-2.0. Add this line if it doesn't exist:
CODE

include "/home/yourusername/.gtkrc.mine"


->To change the MIME icons you just have to put the icons inside the ~/Choices/MIME-icons/ directory. You can also change this icons for the Rox menu: right click some file -> file <whatever.something> -> Define icon (or something similar, my menus are in Spanish).
flowin
i cant seem to change the icons..

when i using gnome.. the icons on the toolbar change.. as my theme changes..
but when im in fluxbox.. it doesnt work..

is the gtk2 and gtkrc file supposed to be in my home directory?

ichi
QUOTE(flowin @ Jan 15 2005, 20:15)
is the gtk2 and gtkrc file supposed to be in my home directory?
[right][snapback]585299072[/snapback][/right]


Yes, both .gtkrc.mine and gtkrc-2.0 (I mean they must be for this to work, if they aren't there then just create them).
flowin
when changing icons of the mime types. do i have to rename the files as the original file names? or just del the originals and copy the new theme in?
flowin
installed the rox-snapshot and theres a setting for icon themes for the mime types.. the toolbar icons are still the same though.
ichi
QUOTE(flowin @ Jan 16 2005, 20:45)
installed the rox-snapshot and theres a setting for icon themes for the mime types..  the toolbar icons are still the same though.
[right][snapback]585304467[/snapback][/right]


Check your .gtkrc-2.0 file and make sure the include you added pointing to the .gtkrc.mine file is above any other include. If you're using a gkt theme that uses it's own tool bar icons and the "include" for that theme is above your .gtkrc.mine, the icons from that theme will be used instead of your's.
flowin
well.. in fluxbox.. i dont think gtk is loaded..
anyway i installed rox-session.. and load gtk themes from there.. much easier option

thx anyway..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.