Page 3 of 6

Re: /usr/share/themes/

Posted: Thu Nov 07, 2013 4:07 am
by dkeg
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 7418 times
If you guys want me to make those fixes and repackage, let me know. Pretty simple to hack up yourself though :)

Re: /usr/share/themes/

Posted: Thu Nov 07, 2013 7:22 am
by machinebacon
^ 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 ;)

Re: /usr/share/themes/

Posted: Thu Nov 07, 2013 7:39 am
by dkeg
yeah you're right, that's true. thanks for the check :D

Re: /usr/share/themes/

Posted: Thu Nov 07, 2013 3:01 pm
by RandomCharacter
@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

Re: /usr/share/themes/

Posted: Thu Nov 07, 2013 3:14 pm
by machinebacon
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.

Re: /usr/share/themes/

Posted: Thu Nov 07, 2013 3:15 pm
by dkeg
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?

Re: /usr/share/themes/

Posted: Thu Nov 07, 2013 3:17 pm
by RandomCharacter
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

Re: /usr/share/themes/

Posted: Thu Nov 07, 2013 3:21 pm
by dkeg
great! Glad we were able to get it sorted.

Re: /usr/share/themes/

Posted: Thu Nov 07, 2013 5:09 pm
by RandomCharacter
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

Re: /usr/share/themes/

Posted: Thu Nov 07, 2013 5:34 pm
by dkeg
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?

Re: /usr/share/themes/

Posted: Thu Nov 07, 2013 5:51 pm
by RandomCharacter
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

Re: /usr/share/themes/

Posted: Fri Nov 08, 2013 11:40 pm
by RandomCharacter
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

Re: /usr/share/themes/

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

Re: /usr/share/themes/

Posted: Sun Dec 01, 2013 5:12 pm
by wuxmedia
nice - time to black out!

Re: /usr/share/themes/

Posted: Sun Dec 01, 2013 5:18 pm
by GekkoP
very nice, thanks dkeg.

Re: /usr/share/themes/

Posted: Mon Dec 02, 2013 2:43 am
by machinebacon
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 :)

Re: /usr/share/themes/

Posted: Mon Dec 02, 2013 3:27 am
by dkeg
Thanks Jules, appreciate it. I'm glad to contribute. Yeah, I can do that. That will be #3 version :)

Re: /usr/share/themes/

Posted: Mon Dec 02, 2013 3:54 pm
by mrneilypops
@dkeg
I am having problems opening the Numix variety pack from the terminal and xarchiver.
I just get an empty text file...

Re: /usr/share/themes/

Posted: Mon Dec 02, 2013 4:07 pm
by dkeg
^ okay, I have not tried to d/l and install myself.

can anyone else confirm this issue?

Re: /usr/share/themes/

Posted: Mon Dec 02, 2013 4:11 pm
by GekkoP
Same here. What kind of archive is it?