Xfce Forum

Sub domains
 

You are not logged in.

#1 2008-06-14 12:03:36

SteveWilliams
Member
Registered: 2008-06-14
Posts: 9

Sort gtkrc-2.0 File....

Hi

I pieced this code together and need help sorting it. I am trying to make this so any future user can just come along & alter the settings w/o the need to add more strings of code.

The idea here is to add this to a place where users can just install it and be up & running w/o the hassle.

Later, Id like to piggy back it on the current Panel {GUI already in existence} & alter the .png that is currently there now. Note: It seems now that the XFCE4 Panel might NOT be a .png file at all.

Anyway here it is:


# this file should be placed in your home folder
# and name ".gtkrc-2.0"`TT

# This file was written by kde
# You can edit it in the kde control center, under "gtk styles and Fonts"

include "/usr/share/themes/Clearlooks/gtk-2.0/gtkrc"

style "user-font"
[
   font_name="DejaVu Sans 9"
]
widget_class "*" style "user-font"

gtk-theme-name="Clearlooks"
gtk-font-name="DejaVu Sans 9"

# this is the new part added by bgryderclock

style "xfdesktop-icon-view" [
    XfdesktopIconView::label-alpha = 75

    base[normal] = "#000000"
    base[selected] = "#000000"
    base[active] = "#000000"

   

#---------------------------------------------------------------
# Section "icon background colors"
#---------------------------------------------------------------
# The following two lines *should* be left uncommented
# if we want the xfce desktop icon backgrounds to use
# alpha blending (e.g. invisible or some % thereof)

style "xfdesktop-icon-view" [
XfdesktopIconView::label-alpha = 0



#---------------------------------------------------------------
# Section "icon font colors"
#---------------------------------------------------------------

# The next three lines deal with the color of the desktop icon's
# text. You can comment them out if you want you use gtk theme
# colors. Below yields white un-selected normal, green selected,
# and blue when going to another window
#
# I chose three different colors so that you can see the level
# of customization we can do.

fg[normal] = "#ffffff"        #this is white
fg[selected] = "#00ff00"      # this is green
fg[active] = "#0000ff"        # this is blue

## my blue fonts to use with nuvola theme & royal blue WM
# environment. a soft shark underbelly blue color if you will.
#fg[normal] = "#528AC6"
#fg[selected] = "#528AC6"
#fg[active] = "#528AC6"

]
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"



#---------------------------------------------------------------
# Section "xfce panel colors"
#---------------------------------------------------------------

# Use these to change the panel color.  Note this should
# be commented out entirely if you decide to use
# Section "xfce panel background" below.

#style "panel"
#[
#this one here is grey
#bg[normal] = "#909599"
# use this with nuvola theme
#bg[normal] = "#64AEE0"
#xthickness = 0
#ythickness = 0
#]
#
#widget_class "*Panel*" style "panel"
#widget "*Panel*" style "panel"
#class "*Panel*" style "panel"



#---------------------------------------------------------------
# Section "xfce panel background"
#---------------------------------------------------------------

style "panel"
[
bg_pixmap[normal] = "Panel/panel-bg.png"
]

# note I simply have a folder in my home called "Panel"
# with the file "panel-bg.png" in it. not sure if you
# can hard code that to somewhere else.

widget_class "*Panel*" style "panel"
widget "*Panel*" style "panel"
class "*Panel*" style "panel"
widget_class "*List*"              style "colored"
class "*List*"                     style "colored"
widget_class "*Text*"              style "colored"
class "*Text*"                     style "colored"
widget_class "*Entry*"             style "colored"
class "*Entry*"                    style "colored"



#---------------------------------------------------------------
# Section "xfce icon fallback theme"
#---------------------------------------------------------------
#
# this is our fallback icon theme in case we launch
# thunar in kde or xfce can't find an icon for your theme
# for some icon for some reason.
# a safe default is "Rodent" as it comes with Slackware 12's xfce

gtk-icon-theme-name = "Etiquette Xfce"




normalfg[normal] = "#ffffff"
    fg[selected] = "#ffffff"
    fg[active] = "#ffffff"
]
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"


Also, should this file be called /home/Steve/Desktop/gtkrc-2.0 or should it be /home/steve/gtkrc-2.0 ?

What would happen if I added this to /ect/gtrc-2.0 { A file I created} ??

Please advise.

Offline

#2 2008-06-27 08:51:35

SteveWilliams
Member
Registered: 2008-06-14
Posts: 9

Re: Sort gtkrc-2.0 File....

How do I forward this to the developers ?

Steve

Offline

#3 2008-07-18 15:09:09

SteveWilliams
Member
Registered: 2008-06-14
Posts: 9

Re: Sort gtkrc-2.0 File....

Any help on this file ?

Steve

Offline

Board footer

Powered by FluxBB