/usr/share/themes/

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 Nov 07, 2013 4:07 am

this is what I did (gtk-2.0). First I changed the width from 10 to 5.

Code: Select all

GtkScrollbar::slider-width = 5
Then I did similar to bacon

Code: Select all

style "murrine-scrollbar" {
     bg[NORMAL] = shade (0.60, @selected_bg_color)
     bg[PRELIGHT] = shade (0.70, @selected_bg_color)
     bg[ACTIVE] = shade (0.80, @selected_bg_color)
}
Looks like this
NumixBrown_scrollbar.png
NumixBrown_scrollbar.png (10.53 KiB) Viewed 7230 times
If you guys want me to make those fixes and repackage, let me know. Pretty simple to hack up yourself though :)

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 » Thu Nov 07, 2013 7:22 am

^ I think it is easy enough to change it on individual basis, because for sure the next person will ask how to make them invisible again ;)
..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 » Thu Nov 07, 2013 7:39 am

yeah you're right, that's true. thanks for the check :D

Work hard; Complain less

User avatar
RandomCharacter
Gangbanger
Posts: 323
Joined: Thu Aug 15, 2013 5:25 pm

Re: /usr/share/themes/

Unread post by RandomCharacter » Thu Nov 07, 2013 3:01 pm

@dkeg, thanks for the help. I made the suggested changes, but for some reason the unselected scrollbar still appears as black on black, to me. When I select it, it changes to brown, and it did that before making any changes. But it's awfully hard to select it when I can't see it.

I even tried lower ratios: .21, .31, and .80 (like the Numix-2.0 theme), but it still looks black on black. I am very confused.

Tim

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

Re: /usr/share/themes/

Unread post by machinebacon » Thu Nov 07, 2013 3:14 pm

Depends in which application you are, maybe? If the app is a gtk3 application ... see above, you need gtk-3.0/gtk*.css to be edited.
..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 » Thu Nov 07, 2013 3:15 pm

note that I not only changed the shade value, but also the color variable from @bg_color, to @selected_bg_color. So the before was this

Code: Select all

style "murrine-scrollbar" {
     bg[NORMAL] = shade (0.90, @bg_color)
     bg[PRELIGHT] = shade (0.90, @bg_color)
     bg[ACTIVE] = @selected_bg_color
}
and the new is (replay from above

Code: Select all

style "murrine-scrollbar" {
     bg[NORMAL] = shade (0.60, @selected_bg_color)
     bg[PRELIGHT] = shade (0.70, @selected_bg_color)
     bg[ACTIVE] = shade (0.80, @selected_bg_color)
}
possible you forgot to change the color variable for bg[NORMAL] and / or bg[PRELIGHT] ?

Also fwiw, make a copy of the Numix theme your working on, like NumixXXXv2 for sanity sake.

EDIT - mb posted while I was typing. Good point. From your post though seems it just didn't work all around. Can you clarify please?

Work hard; Complain less

User avatar
RandomCharacter
Gangbanger
Posts: 323
Joined: Thu Aug 15, 2013 5:25 pm

Re: /usr/share/themes/

Unread post by RandomCharacter » Thu Nov 07, 2013 3:17 pm

Fixed it. I had mis-read the code in Numix-2.0. I copied it to NumixBrown:

Code: Select all

style "murrine-scrollbar" {
        bg[NORMAL] = mix (0.21, @fg_color, @bg_color)
        bg[PRELIGHT] = mix (0.31, @fg_color, @bg_color)
        bg[ACTIVE] = @selected_bg_color
Thanks for putting me on the right path.

Tim

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 Nov 07, 2013 3:21 pm

great! Glad we were able to get it sorted.

Work hard; Complain less

User avatar
RandomCharacter
Gangbanger
Posts: 323
Joined: Thu Aug 15, 2013 5:25 pm

Re: /usr/share/themes/

Unread post by RandomCharacter » Thu Nov 07, 2013 5:09 pm

Well, I spoke too soon. A few seconds after making my last post, the unselected scrollbar reverted to black on black. I have double and triple checked my changes, but I cannot get it back to the proper behavior. I have logged out and back on, thinking that might help, but no.

One of the changes even affected my Numix-2.0 theme, which I have not edited! It now has the skinnier scrollbar width from the changes you suggested. I double checked its gtkrc file, and it still says 12 instead of 5. What on earth is going on?

So, I have now bailed out completely and switched to theme MurrinaAzul. At least everything is still working properly in it. But I am more confused than ever.

Tim

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 Nov 07, 2013 5:34 pm

I'm not sure. Are you housing and editing your themes in ~/.themes, or /usr/share/themes?

Do you happen to have the same theme files in both places?

Work hard; Complain less

User avatar
RandomCharacter
Gangbanger
Posts: 323
Joined: Thu Aug 15, 2013 5:25 pm

Re: /usr/share/themes/

Unread post by RandomCharacter » Thu Nov 07, 2013 5:51 pm

dkeg wrote:I'm not sure. Are you housing and editing your themes in ~/.themes, or /usr/share/themes?

Do you happen to have the same theme files in both places?
1) /usr/share/themes
2) No, the files are unique

As of this moment, the Numix-2.0 theme is acting correctly, again. I am using it and I'm going to leave things alone for a while. ;)

Tim

User avatar
RandomCharacter
Gangbanger
Posts: 323
Joined: Thu Aug 15, 2013 5:25 pm

Re: /usr/share/themes/

Unread post by RandomCharacter » Fri Nov 08, 2013 11:40 pm

Ok, I finally got it working the way I want:

Code: Select all

style "murrine-scrollbar" {
        bg[NORMAL] = mix (0.61, @fg_color, @bg_color)
        bg[PRELIGHT] = mix (0.81, @fg_color, @bg_color)
        bg[ACTIVE] = @selected_bg_color
Now, the unselected scrollbar is visible, it brightens noticeably when the mouse hovers on it, and it is full brown when clicked on. Again, thanks for helping me find the stuff that needed changing.

Tim

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 » Sun Dec 01, 2013 4:23 pm

okay all, happy Sunday. Download the

New and improved NumixVariety pack

Includes the following, and is free.
  • Numix, NumixDark, NumixDarker, NumixDarkest, NumixBlack, NumixBrown.

These new versions include some of the scrollbar enhancements discussed above, albeit, slightly different.

Edit - only cared about gtk-2.0 ;)

NumixBlack scrot
NumixBlack.png
Attachments
NumixVariety2.tar.gz
Numix GTK theme pack
(2.26 MiB) Downloaded 194 times
Last edited by wuxmedia on Sat Mar 21, 2015 2:30 pm, edited 3 times in total.
Reason: Added file attachment

Work hard; Complain less

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: /usr/share/themes/

Unread post by wuxmedia » Sun Dec 01, 2013 5:12 pm

nice - time to black out!
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: /usr/share/themes/

Unread post by GekkoP » Sun Dec 01, 2013 5:18 pm

very nice, thanks dkeg.

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 Dec 02, 2013 2:43 am

Thanks Drew, this will please many people :)

We could add a few more in Dark and Light, with color highlighting in Arch-blue, Debian-red, Ubuntu-purple (maybe on top of the NumixBrown), SuSE-green. For all the color lovers :)

Cold winter evenings will be coming soon :)
..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 Dec 02, 2013 3:27 am

Thanks Jules, appreciate it. I'm glad to contribute. Yeah, I can do that. That will be #3 version :)

Work hard; Complain less

User avatar
mrneilypops
Bad Advice Dog
Posts: 143
Joined: Wed Oct 17, 2012 9:15 pm
Location: Luxembourg
Contact:

Re: /usr/share/themes/

Unread post by mrneilypops » Mon Dec 02, 2013 3:54 pm

@dkeg
I am having problems opening the Numix variety pack from the terminal and xarchiver.
I just get an empty text file...

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 Dec 02, 2013 4:07 pm

^ okay, I have not tried to d/l and install myself.

can anyone else confirm this issue?

Work hard; Complain less

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: /usr/share/themes/

Unread post by GekkoP » Mon Dec 02, 2013 4:11 pm

Same here. What kind of archive is it?

Post Reply