Page 1 of 6

/usr/share/themes/

Posted: Mon Nov 12, 2012 8:21 pm
by machinebacon
Here you can upload your custom gtk/openbox/xfwm/... themes.

"Nightcap"
ncap.tar.bz2
Nightcap GTK2 theme
(1.46 KiB) Downloaded 333 times
- based on Mist, for the hours between 1am and 5am
- the screenshot shows "Kielbasa" with XFCE4's "Default" window decoration, Adobe Source Sans fonts, Clarity icons and Hungarian localization (LinuxBBQ "Kolbasz")
mist.png

Re: /usr/share/themes/

Posted: Mon Nov 12, 2012 10:34 pm
by rhowaldt
is this the setup you did for you uncle? it is dogdamned beautiful man, almost brings the tears to my eyes. i love your little theming-detour, it brings great stuff :)

Re: /usr/share/themes/

Posted: Tue Nov 13, 2012 12:20 am
by vic
beautiful, please include in some future release if possible, tried to download, it did not work

Re: /usr/share/themes/

Posted: Tue Nov 13, 2012 2:29 am
by machinebacon
Thanks, brothers!

Rhowaldt, I haven't packaged this for uncle/Kolbasz :blush: Anyway he likes a bit brighter, I think -- and yeah I thought of you when I chose the base colour ("tolerable leafpad background")

Vic, here's the file:

Code: Select all

gtk-color-scheme =
#"bg_color:#d7d8dc\nfg_color:#000\nbase_color:#fff\ntext_color:#000\nselected_fg_color:#fff\nselected_bg_color:#7790aa"
#"bg_color:#d9d9d9\nfg_color:#000\nbase_color:#fff\ntext_color:#000\nselected_fg_color:#fff\nselected_bg_color:#77A3B0"
#"bg_color:#C2C7CB\nfg_color:#000\nbase_color:#d7d7d7\ntext_color:#000\nselected_fg_color:#fff\nselected_bg_color:#8292A1"
"bg_color:#283032\nfg_color:#9f9f9f\nbase_color:#4d4d4d\ntext_color:#dddddd\nselected_fg_color:#dbdbdb\nselected_bg_color:#283032"

style "default"
{
        fg[NORMAL]              = @fg_color
        fg[ACTIVE]              = @fg_color
        fg[INSENSITIVE]         = mix (0.75, @fg_color, shade (0.8, @bg_color)) #shaded to bg[INSENSITIVE]

        fg[PRELIGHT]            = @fg_color
        fg[SELECTED]            = @selected_fg_color
        
        bg[ACTIVE]              = shade (0.9, @bg_color)
	bg[NORMAL]              = @bg_color
        bg[INSENSITIVE]         = shade (0.95, @bg_color)
        bg[PRELIGHT]            = shade (1.03, @bg_color)
        bg[SELECTED]            = @selected_bg_color

        base[NORMAL]            = @base_color
        base[ACTIVE]            = shade (0.9, @selected_bg_color)
        base[INSENSITIVE]       = shade (0.95, @base_color)
        base[PRELIGHT]          = @bg_color
	base[SELECTED]          = @selected_bg_color
        
        text[NORMAL]            = @text_color
        text[ACTIVE]            = @text_color
        text[PRELIGHT]          = @text_color
        text[SELECTED]          = @selected_fg_color
        text[INSENSITIVE]       = mix (0.5, @text_color, @base_color)
	

	GtkRange::trough_border = 1
	GtkRange::slider_width = 10
	GtkRange::stepper_size = 7

	GtkEntry::progress-border = { 0, 0, 0, 0 }

	GtkScrollbar::min_slider_length = 7
	GtkCheckButton::indicator_size=10
	GtkCheckMenuItem::indicator_size=7
	GtkRadioButton::indicator_size=7

	GtkNotebook::tab_vborder = 2
	GtkNotebook::tab_hborder = 2
	xthickness = 0
	ythickness = 0

	NautilusIconContainer::dark_info_color="#888888"
	NautilusIconContainer::light_info_color="#bbbbbb"
	NautilusIconContainer::highlight_alpha=200

	GtkMenu::horizontal_padding=2 # set to zero for netbooks
	GtkMenu::vertical_padding=2 # but is a bit fugly then ;)

	engine "mist"
 	{
	}
}

style "menuitem"
{
	ythickness = 2
	xthickness = 2

        fg[PRELIGHT]          = @selected_fg_color
}

style "menu" 
{
	ythickness = 2
	xthickness = 2
} 

style "entry"
{
	bg[SELECTED] = mix(0.5, @selected_bg_color, @base_color)
	fg[SELECTED] = @text_color
}

class "GtkWidget" style "default"
class "GtkMenu" style "menu"
class "GtkEntry" style "entry"

widget_class "*<GtkMenuItem>*" style "menuitem"



# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that the work around assumes that the combobox is _not_ in
# appears-as-list mode.
# This style does not affect GtkComboBoxEntry, it does have an effect
# on comboboxes in appears-as-list mode though.
style "mist-text-is-fg-color-workaround"
{
        text[NORMAL]              = @fg_color
        text[ACTIVE]              = @fg_color
        text[INSENSITIVE]         = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
        text[PRELIGHT]            = @fg_color
        text[SELECTED]            = @selected_fg_color
}
widget_class "*.<GtkComboBox>.<GtkCellView>"   style "mist-text-is-fg-color-workaround"

style "mist-menuitem-text-is-fg-color-workaround"
{
        text[NORMAL]              = @fg_color
        text[ACTIVE]              = @fg_color
        text[INSENSITIVE]         = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
        text[PRELIGHT]            = @selected_fg_color
        text[SELECTED]            = @selected_fg_color
}
widget "*.gtk-combobox-popup-menu.*"   style "mist-menuitem-text-is-fg-color-workaround"

# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based on the
# base color set.
style "mist-fg-is-text-color-workaround"
{
        fg[NORMAL]            = @text_color
        fg[ACTIVE]            = @text_color
        fg[PRELIGHT]          = @text_color
        fg[SELECTED]          = @selected_fg_color
        fg[INSENSITIVE]       = mix (0.5, @text_color, @base_color)
}
widget_class "*<GtkListItem>*" style "mist-fg-is-text-color-workaround"
# The same problem also exists for GtkCList and GtkCTree
# Only match GtkCList and not the parent widgets, because that would also change the headers.
widget_class "*<GtkCList>" style "mist-fg-is-text-color-workaround"
You know what to do with it? It comes into a new folder (for example /usr/share/themes/Nightcap/gtk-2.0/) saved as /usr/share/themes/Nightcap/gtk-2.0/gtkrc
I'm in the process of packaging quite a few little things for the repos and this one will be in the package bbq-themes. I'll let you know when the .deb is uploaded.

Re: /usr/share/themes/

Posted: Sat Nov 17, 2012 7:44 am
by oldflynn
My very slightly changed clearlooks gtkrc :
http://www.linuxbbq.org/zerobin/index.p ... l6q/1kTCw=

Re: /usr/share/themes/

Posted: Sat Nov 17, 2012 8:07 am
by machinebacon
Flynn, I think the code block couldn't handle the length of the entry. Would you post it on an unlimited ("Expire: Never") zerobin? -> http://www.linuxbbq.org/zerobin/index.php
and link it here? Thanks a lot!

Re: /usr/share/themes/

Posted: Sat Nov 17, 2012 8:45 am
by oldflynn
Edited.

Re: /usr/share/themes/

Posted: Mon Dec 31, 2012 1:38 am
by dura
Image

Flatstudio edit.

Edit: And the themerc, etc.

Re: /usr/share/themes/

Posted: Sat Jan 12, 2013 2:45 am
by Potatohead
@ dura I like what I see, but what do I see? Care to comment? Is it a titleless Open Box or what? Love it!

Re: /usr/share/themes/

Posted: Sat Jan 12, 2013 10:22 am
by dura
Yeah. Its a veggie/vegan bbq- all padding made minimal, scroll bars reduced, troughs slimmed, all borders removed, no windecs, titlebars. Themerc and gtrk both there. I think I've ulpoaded the right ones for the scrot. Basically its what I prefer for small screens, but I like this veggie non-bloated approach on all resolutions no matter their size really (oops, I said that rude word). Windecs are blooa.... Course you have to specifiy no windecs in rc.xml

Re: /usr/share/themes/

Posted: Sat Jan 12, 2013 11:10 am
by machinebacon
The window decorations in Openbox can be slimmed down quite easily by changing the titlebar fonts to size 2 (or so) and removing the label.

1) open Openbox configuration (obconf)
2) click Appearance
3) Window Titles -> remove everything
4) Fonts -> Active/Inactive window title -> Size (manually) set to 2
5) OK and Close

Re: /usr/share/themes/

Posted: Mon Jan 14, 2013 12:28 pm
by Potatohead
Thanks

Re: /usr/share/themes/

Posted: Mon Jan 14, 2013 1:00 pm
by dkeg
in openbox rc.xml you can add this in to remove all window decorations.

Code: Select all

<application class="*">
      <decor>no</decor>
      <iconic>no</iconic>
</application>
Then if you stilll want borders you can go into to the openbox gui config and check the box for 'retain borders when no decoration', or something like that, dont' remember exactly.

And if you only want to get rid of window decorations on selected apps, then

Code: Select all

<application name="urxvt">
      <decor>no</decor>
 </application>

Re: /usr/share/themes/

Posted: Wed Jul 03, 2013 11:05 am
by kexolino
Sup? I have a an OB+tint2 combo for you:

Image

Re: /usr/share/themes/

Posted: Thu Jul 04, 2013 6:25 pm
by dkeg
NumixDark ... only changed some of the gtk_color_scheme colors so no reason to post the whole theme. Just copy the Numix directory so to keep both flavors, vanilla and chocolate

Code: Select all

cp ~/.themes/Numix NumixDark
<editor> ~/.themes/NumixDark/gtk-2.0/gtkrc
and replace the gtk_color_scheme with

Code: Select all

gtk_color_scheme = "base_color:#282828\nbg_color:#282828\ntooltip_bg_color:#282828\nselected_bg_color:#d64937\ntext_color:#888888\nfg_color:#999999\ntooltip_fg_color:#f9f9f9\nselected_fg_color:#f9f9f9\nmenubar_bg_color:#282828\nmenubar_fg_color:#999999\ntoolbar_bg_color:#282828\ntoolbar_fg_color:#999999\nmenu_bg_color:#282828\nmenu_fg_color:#999999\npanel_bg_color:#282828\npanel_fg_color:#dcdcdc\nlink_color:#fc6f5d"
enjoy if you like dark theme.

EDIT -> add scrot
Image

Re: /usr/share/themes/

Posted: Sun Jul 28, 2013 7:01 pm
by machinebacon
Oh drew that's cool! Thanks! I missed the post somehow....

Re: /usr/share/themes/

Posted: Mon Sep 23, 2013 3:32 am
by dkeg
in celebration of fall, a bit of more nature color theme.

same as above ... I already have a ~/.themes directory containing Numix. If not you can easily either copy and edit the theme directly in /usr/share/themes ( as root of course ), or create a ~/.themes directory and as root, copy the Numix theme and edit as needed.

I created a NumixBrown. Inspiration is a great color scheme by our very own slob.

So copy your Numix original

Code: Select all

cd ~/.themes
cp -r Numix/ NumixBrown
cd NumixBrown/gtk-2.0/
nano gtkrc
replace gtk color scheme with ...

Code: Select all

# NumixBrown GTK Theme
#choose your highlighted text bg color
#nselected_bg_color:#aa964c - faint green
#nselected_bg_color:#af652f - faint orange ... default

gtk_color_scheme = "base_color:#170f0d\nbg_color:#170f0d\ntooltip_bg_color:#170f0d\nselected_bg_color:#af652f\ntext_color:#888888\nfg_color:#999999\ntooltip_fg_color:#f9f9f9\nselected_fg_color:#f9f9f9\nmenubar_bg_color:#170f0d\nmenubar_fg_color:#999999\ntoolbar_bg_color:#170f0d\ntoolbar_fg_color:#999999\nmenu_bg_color:#170f0d\nmenu_fg_color:#999999\npanel_bg_color:#170f0d\npanel_fg_color:#dcdcdc\nlink_color:#fc6f5d"
scrot
2013-09-22--1379903040_1366x768_scrot.png

Re: /usr/share/themes/

Posted: Mon Sep 23, 2013 4:21 am
by machinebacon
A bliss. Of course you post your Xresources for us, don't you :)

Re: /usr/share/themes/

Posted: Mon Sep 23, 2013 5:02 am
by dkeg
of course...again, this is a slob scheme gathered from cb at some time

Code: Select all

URxvt*background:       #170F0D
URxvt*foreground:       #746C48

URxvt*transparent:    0	
URxvt*shading:	   30	
URxvt*fading:		   50
URxvt*.fadeColor:	#170F0D

URxvt*color0:           #392925
URxvt*color8:           #544B2E

URxvt*color1:           #98724C
URxvt*color9:           #AF652F

URxvt*color2:           #908F32
URxvt*color10:          #C3C13D

URxvt*color3:           #AA964C
URxvt*color11:          #C8B55B

URxvt*color4:           #7B854E
URxvt*color12:          #70A16C

URxvt*color5:           #6B5644
URxvt*color13:          #98724C

URxvt*color6:           #5C5142
URxvt*color14:          #778725

URxvt*color7:           #C8B55B
URxvt*color15:          #E4DC8C

Re: /usr/share/themes/

Posted: Mon Sep 23, 2013 5:49 am
by machinebacon
Thanks Drew.

I love the feeling when you open a new terminal after invoking xrdb :-)