make salix scrollbar wider

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
ejames82
Posts: 16
Joined: 21. Jun 2011, 17:45

make salix scrollbar wider

Post by ejames82 »

hello,

how do I make the scrollbar on the right wider? I have a wide screen and a wide bar would be a worthwhile use of real estate.
thanks.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: make salix scrollbar wider

Post by gapan »

First of all, there is no "salix scrollbar". The scrollbar is provided by the toolkit each application uses. These toolkits use themes. In order to change any aspect of how any widget looks, you'll have to either:

1. Find a suitable theme and use it
2. Edit an existing theme to your liking

In the case of GTK+2 applications, you would need to find a new GTK+2 theme and use it, or edit the theme you're already using. Same of Qt applications or GTK+3 applications etc...

This is not a clear answer, but yours is not a clear question. You're not even stating the desktop environment/window manager you using, or the applications this involves...
Image
Image
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: make salix scrollbar wider

Post by laprjns »

Assuming you are using xfce as your desktop environment then try this
https://bbs.linuxdistrocommunity.com/di ... r-too-thin
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
ejames82
Posts: 16
Joined: 21. Jun 2011, 17:45

Re: make salix scrollbar wider

Post by ejames82 »

hello,

In the case of GTK+2 applications, you would need to find a new GTK+2 theme and use it, or edit the theme you're already using. Same of Qt applications or GTK+3 applications etc...
wow. there's alot I don't know. I did look at the themes already, under display>appearance>style. there is a little difference in the size of the bar, but not much.

You're not even stating the desktop environment/window manager you using, or the applications this involves...
sorry, xfce environment, and most of the time I would be using firefox or file manager native to salix 14.1.

Assuming you are using xfce as your desktop environment then try this
https://bbs.linuxdistrocommunity.com/di ... r-too-thin

I will check it out.

thanks gapan and laprjns
ejames82
Posts: 16
Joined: 21. Jun 2011, 17:45

Re: make salix scrollbar wider

Post by ejames82 »

I would like to add this info to the thread. I was able to get the wide bar. it works nice.

http://ubuntuforums.org/showthread.php?t=2288338

Code: Select all

leafpad ~/.gtkrc-2.0

add this at the end of the file and save:

Code: Select all

style "myscrollbar"
{
     GtkScrollbar::slider-width=40
}
class "GtkScrollbar" style "myscrollbar"

Code: Select all

leafpad ~/.config/gtk-3.0/gtk-widgets.css:

add this at the end of the file and save:

Code: Select all

.scrollbar {
        -GtkRange-slider-width: 40;
}
log out and back in.


use these commands at your own risk.
thanks for the replies.
Post Reply