Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: GUI tweaks, Look&Feel kinda stuff< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 15 2005,19:13 QUOTE

gtk1 theme for Elefanter

I've been using a tweaked 'ColorStep' theme in Suse for the longest time, and just recently realized how good it looks with the Elefanter Fluxbox style in DSL.  Customizes the look of Gtk1 apps such as Emelfm and Firefox.
I couldn't find this particular modification online, so I'll just post the contents here.
Install anywhere, and point /home/dsl/.gtkrc to it like so:
Code Sample
include "/path/to/the/file"
(or just save this theme as /home/dsl/.gtkrc...works either way)

Written by Ullrich Hafner <hafner-at-bigfoot-dot-de>
Modified by Juan Pablo Romero <juan_pablo_2-at-yahoo-dot-com>
Modified by Pierre Baillargeon <pierreba-at-globetrotter-dot-net>
Code Sample
# pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
#
# include "rc-file"
#
# style <name> [= <name>]
# {
#   <option>
# }
#
# widget <widget_set> style <style_name>
# widget_class <widget_class_set> style <style_name>

# testgtkrc2 sets all the buttons in the main window to blue by default
#include "testgtkrc2"

#module_path ".:/home/raster/themes"

pixmap_path ".:/home/raster/themes"

style "default"
{
 font = "-*-helvetica-medium-r-normal--10-*-*-*-*-*-*-*"
 bg[NORMAL] = { 0.74, 0.74, 0.74 }
 fg[NORMAL] = { 0, 0, 0 }
 bg[PRELIGHT] = { 0.95, 0.76, 0.25 }
 fg[PRELIGHT] = { 0, 0, 0 }
 bg[SELECTED] = { 0.95, 0.76, 0.25 }
 fg[SELECTED] = { 0, 0, 0 }
 bg[ACTIVE] = { 0.74, 0.67, 0.60 }
 fg[ACTIVE] = { 0, 0, 0 }
 engine "colorstep"
 {
 }
}

style "list"
{
 bg[ACTIVE] = { 0.74, 0.74, 0.74 }
 bg[NORMAL] = { 1, 1, 1 }
 bg[PRELIGHT] = { 0.95, 0.76, 0.25 }
 bg[SELECTED] = { 0.95, 0.76, 0.25 }
}

widget_class "GtkCTree" style "list"
widget_class "GtkCList" style "list"

style "window"
{
#  bg_pixmap[NORMAL] = "warning.xpm"
}

style "scale"
{
 base[ACTIVE] = { 0.50, 0.43, 0.36 }
 bg[ACTIVE] = { 0.50, 0.43, 0.36 }
 base[NORMAL] = { 0.74, 0.67, 0.60 }
 bg[NORMAL] = { 0.74, 0.67, 0.60 }
 base[PRELIGHT] = { 0.95, 0.76, 0.25 }
 bg[PRELIGHT] = { 0.95, 0.76, 0.25 }
 base[SELECTED] = { 0.95, 0.76, 0.25 }
 bg[SELECTED] = { 0.95, 0.76, 0.25 }
 fg[ACTIVE] = { 0.50, 0.43, 0.36 }
 fg[PRELIGHT] = { 0.95, 0.76, 0.25 }
 fg[SELECTED] = { 0.95, 0.76, 0.25 }
}

style "button"
{
 bg[NORMAL] = { 0.74, 0.67, 0.60 }
 bg[PRELIGHT] = { 0.95, 0.76, 0.25 }
 bg[ACTIVE] = { 0.95, 0.76, 0.25 }
 bg[SELECTED] = { 0.95, 0.76, 0.25 }
}

style "toggle_button" = "button"
{
}

style "radio_button" = "toggle_button"
{
}

style "entry"
{
 bg[SELECTED] = { 0.95, 0.76, 0.25 }
 fg[SELECTED] = { 0.31, 0.31, 0.13 }
}

style "slider" = "scale"
{
}

style "tooltips"
{
 bg[NORMAL] = { 0.93, 0.93, 0.78 }
 fg[NORMAL] = { 0, 0, 0 }
}


style "ruler"
{
#  font = '-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*'
}

style "curve"
{
}

# override testgtk2, introduce the green color in the button list
style 'button_list' = 'button'
{
}

widget "main window.*GtkScrolledWindow.*GtkButton*" style "button_list"

# common default
class "GtkWidget" style "default"
class "GtkText" style "entry"

class "GtkScrollbar" style "slider"
widget_class "GtkWindow" style "window"
widget_class "GtkDialog" style "window"
widget_class "GtkFileSelection" style "window"
widget_class "*Gtk*Scale" style "scale"
widget_class "*Gtk*Slider" style "slider"
widget_class "*GtkCheckButton*" style "toggle_button"
widget_class "*GtkRadioButton*" style "radio_button"
widget_class "*GtkButton*" style "button"
widget_class "*Ruler" style "ruler"
widget_class "*GtkEntry" style "entry"
widget "*GtkCurve" style "curve"
widget "gtk-tooltips*" style "tooltips"


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Noob
Unregistered






Posted: Aug. 15 2005,21:09 QUOTE

Any screenshots we can see?
Back to top
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 15 2005,22:31 QUOTE

k....
http://img176.imageshack.us/my.php?image=colorstep5qz.jpg


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Noob
Unregistered






Posted: Aug. 18 2005,19:42 QUOTE

Nice job :)
Back to top
adraker Offline





Group: Members
Posts: 229
Joined: Feb. 2004
Posted: Aug. 20 2005,02:11 QUOTE

Yes, thats a great match for Elephanter.
I only just got around to trying it, it also
looks good with a Fluxbox theme called " beOSbox ",
your basic blue bg with yellow toolbar, docks, etc.
Good one!

:)
Back to top
Profile PM 
6 replies since Aug. 15 2005,19:13 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: GUI tweaks

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code