Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] How to change gtk scrollbar colors?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
micmac
l33t
l33t


Joined: 28 Nov 2003
Posts: 996

PostPosted: Tue Dec 04, 2007 7:28 pm    Post subject: [Solved] How to change gtk scrollbar colors? Reply with quote

Hi all,

I upgraded gtk-engines recently and now my default gtk engine/theme Clearlooks draws blueish scrollbars. Previously they were grey (and that I liked better).

Here's my current ~/.gtkrc-2.0:
Code:

gtk-theme-name = "Clearlooks"
gtk-font-name = "Tahoma 8"
gtk-menu-popup-delay = 0


I found the file /usr/share/gtk-engines/clearlooks.xml and it holds this section:
Code:

  <option type="color" name="scrollbar_color" default="#999999">
    <long_name>Scrollbar Color</long_name>
    <long_name xml:lang="de">Bildlaufleistenfarbe</long_name>
    <description>Sets the Color of Scrollbars</description>
    <description xml:lang="de">Legt die Farbe der Bildlaufleisten fest</description>
  </option>


Anyone knows what to put in my ~/gtkrc-2.0 file to change the scrollbar_color? I don't want to mess with the system file clearlooks.xml. I'd rather change it in my user's configuration file.

Regards
mic

Edit and fix:
Code:

style "my-clearlooks" = "clearlooks-default"
{
    engine "clearlooks"
    {
        colorize_scrollbar = FALSE  # TRUE = blue scrollbars
        menubarstyle       = 0     # 0 = flat, 1 = sunken, 2 = flat gradient
        toolbarstyle       = 0     # 0 = flat, 1 = enable effects
        animation          = FALSE # TRUE = animated progress bars
        style              = CLASSIC # GUMMY or CLASSIC
    }
}

class "*" style "my-clearlooks"
Back to top
View user's profile Send private message
Elfan
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2006
Posts: 109

PostPosted: Wed Dec 12, 2007 7:07 pm    Post subject: Reply with quote

Is it possible to have the scrollbar appear the crazy blue on mouse over but the normal gray otherwise?
Back to top
View user's profile Send private message
micmac
l33t
l33t


Joined: 28 Nov 2003
Posts: 996

PostPosted: Thu Dec 13, 2007 10:54 am    Post subject: Reply with quote

:)

Hi!

I don't think so, but to tell you the truth I don't know.

Regards
mic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum