/usr/share/themes/

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

/usr/share/themes/

Unread post by machinebacon » Mon Nov 12, 2012 8:21 pm

Here you can upload your custom gtk/openbox/xfwm/... themes.

"Nightcap"
ncap.tar.bz2
Nightcap GTK2 theme
(1.46 KiB) Downloaded 326 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
..gnutella..

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: /usr/share/themes/

Unread post by rhowaldt » Mon Nov 12, 2012 10:34 pm

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 :)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
vic
Godot
Posts: 2109
Joined: Wed Oct 17, 2012 10:11 am
Location: /bin

Re: /usr/share/themes/

Unread post by vic » Tue Nov 13, 2012 12:20 am

beautiful, please include in some future release if possible, tried to download, it did not work
Sorry guys, no signature for a while, too busy with life. :|

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: /usr/share/themes/

Unread post by machinebacon » Tue Nov 13, 2012 2:29 am

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.
..gnutella..

oldflynn
Virgin
Posts: 5
Joined: Fri Nov 16, 2012 8:31 pm

Re: /usr/share/themes/

Unread post by oldflynn » Sat Nov 17, 2012 7:44 am

My very slightly changed clearlooks gtkrc :
http://www.linuxbbq.org/zerobin/index.p ... l6q/1kTCw=
Last edited by oldflynn on Sat Nov 17, 2012 8:45 am, edited 1 time in total.
A pipe, properly cared for, will probably outlast its owner.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: /usr/share/themes/

Unread post by machinebacon » Sat Nov 17, 2012 8:07 am

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!
..gnutella..

oldflynn
Virgin
Posts: 5
Joined: Fri Nov 16, 2012 8:31 pm

Re: /usr/share/themes/

Unread post by oldflynn » Sat Nov 17, 2012 8:45 am

Edited.
A pipe, properly cared for, will probably outlast its owner.

dura
Compiler
Posts: 119
Joined: Sun Dec 16, 2012 2:15 am
Location: interzone

Re: /usr/share/themes/

Unread post by dura » Mon Dec 31, 2012 1:38 am

Image

Flatstudio edit.

Edit: And the themerc, etc.
Attachments
duraOB.tar.gz
duralight_themerc
(30.88 KiB) Downloaded 314 times
duralight.tar.gz
duralight_gtkrc
(52.48 KiB) Downloaded 300 times
...oh.

Potatohead
killall X
Posts: 167
Joined: Thu Jan 03, 2013 2:39 pm

Re: /usr/share/themes/

Unread post by Potatohead » Sat Jan 12, 2013 2:45 am

@ dura I like what I see, but what do I see? Care to comment? Is it a titleless Open Box or what? Love it!

dura
Compiler
Posts: 119
Joined: Sun Dec 16, 2012 2:15 am
Location: interzone

Re: /usr/share/themes/

Unread post by dura » Sat Jan 12, 2013 10:22 am

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
...oh.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: /usr/share/themes/

Unread post by machinebacon » Sat Jan 12, 2013 11:10 am

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
..gnutella..

Potatohead
killall X
Posts: 167
Joined: Thu Jan 03, 2013 2:39 pm

Re: /usr/share/themes/

Unread post by Potatohead » Mon Jan 14, 2013 12:28 pm

Thanks

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: /usr/share/themes/

Unread post by dkeg » Mon Jan 14, 2013 1:00 pm

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>

Work hard; Complain less

User avatar
kexolino
Common Boob
Posts: 557
Joined: Sun Jun 16, 2013 1:57 pm

Re: /usr/share/themes/

Unread post by kexolino » Wed Jul 03, 2013 11:05 am

Sup? I have a an OB+tint2 combo for you:

Image

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: /usr/share/themes/

Unread post by dkeg » Thu Jul 04, 2013 6:25 pm

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

Work hard; Complain less

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: /usr/share/themes/

Unread post by machinebacon » Sun Jul 28, 2013 7:01 pm

Oh drew that's cool! Thanks! I missed the post somehow....
..gnutella..

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: /usr/share/themes/

Unread post by dkeg » Mon Sep 23, 2013 3:32 am

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

Work hard; Complain less

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: /usr/share/themes/

Unread post by machinebacon » Mon Sep 23, 2013 4:21 am

A bliss. Of course you post your Xresources for us, don't you :)
..gnutella..

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: /usr/share/themes/

Unread post by dkeg » Mon Sep 23, 2013 5:02 am

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

Work hard; Complain less

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: /usr/share/themes/

Unread post by machinebacon » Mon Sep 23, 2013 5:49 am

Thanks Drew.

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

Post Reply