Window title bar size and scrollbar width
Window title bar size and scrollbar width
Hi, greetings to Puppy community from Athens, Greece.
I have a simple noob questions,
How do I change window title bar size and scrollbar width in basic theme?
I have a simple noob questions,
How do I change window title bar size and scrollbar width in basic theme?
- Attachments
-
- pimg.jpg
- (34.61 KiB) Downloaded 1908 times
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
The the scroll bar is set by the GTK theme. You can change the GTK theme by the app Chtheme. "Menu>Desktop>Chtheme". If you want the theme then you need to edit that theme which I don't know how to do.
If you are using JWM, which I think you are, then the title bar is done by the JWM theme. The title bar hight is controled by the <Height> tag in the <WindowStyle> tag in the file "/root/.jwm/jwmrc-theme" The other themes are in "/root/.jwm/themes" You can swith themes by "Menu>Desktop>JWM Configuration"
Example:
If you are using JWM, which I think you are, then the title bar is done by the JWM theme. The title bar hight is controled by the <Height> tag in the <WindowStyle> tag in the file "/root/.jwm/jwmrc-theme" The other themes are in "/root/.jwm/themes" You can swith themes by "Menu>Desktop>JWM Configuration"
Example:
Code: Select all
<WindowStyle>
<Font>Sans-12</Font>
<Width>5</Width>
<Height>20</Height>
<Active>
<Text>white</Text>
<Title>#4A5966</Title>
<!-- <Corner>#4A5966</Corner> -->
<Outline>black</Outline>
</Active>
<Inactive>
<Text>black</Text>
<Title>#DCDAD5</Title>
<!-- <Corner>#DCDAD5</Corner> -->
<Outline>black</Outline>
</Inactive>
</WindowStyle>
[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Hello revo
Welcome to the kennels.
Let's assume for example,
that you are wanting to hack the Polished-Blue theme.
What you need to do is,
open up /usr/share/themes/Polished-Blue/gtk-2.0/gtkrc in Geany (or whatever text editor),
right click on it, and select Open As Text
At lines 21 and 22
you will see this:
Just change it to whatever you desire,
something like this for example:
Save your changes,
then go to Menu > Desktop > Chtheme
select any other theme, then select Polished-Blue
Click Apply, then click OK
You should now have skinny little scrollbars.
CatDude
.
Welcome to the kennels.
Let's assume for example,
that you are wanting to hack the Polished-Blue theme.
What you need to do is,
open up /usr/share/themes/Polished-Blue/gtk-2.0/gtkrc in Geany (or whatever text editor),
right click on it, and select Open As Text
At lines 21 and 22
you will see this:
Code: Select all
GtkRange::slider_width = 14
GtkRange::stepper_size = 14
something like this for example:
Code: Select all
GtkRange::slider_width = 10
GtkRange::stepper_size = 10
then go to Menu > Desktop > Chtheme
select any other theme, then select Polished-Blue
Click Apply, then click OK
You should now have skinny little scrollbars.
CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
@CatDude Thanks muchly. I have been wanting to do that for a long long time. Could you face telling how to/what doc to read for getting scroll buttons set-up like in the default QT/KDE themes.
[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Hello abushcrafter
I only looked into it because revo asked how to do it, and i am a curious little sod.
A quick google, and i soon had the answer.
Are you referring to a Puppy derivative (possibly dejan's KDPUP) by any chance,
if so i could always download it and have a play with it.
CatDude
.
No problem mate.abushcrafter wrote:@CatDude Thanks muchly. I have been wanting to do that for a long long time.
I only looked into it because revo asked how to do it, and i am a curious little sod.
A quick google, and i soon had the answer.
I'd love to, if i knew anything about it, but i am not that familiar with KDEabushcrafter wrote:Could you face telling how to/what doc to read for getting scroll buttons set-up like in the default QT/KDE themes.
Are you referring to a Puppy derivative (possibly dejan's KDPUP) by any chance,
if so i could always download it and have a play with it.
CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
I think I did do a small amount of searching but didn't find any thing. Could I have you search terms please?CatDude wrote:A quick google, and i soon had the answer.abushcrafter wrote:@CatDude Thanks muchly. I have been wanting to do that for a long long time.
Never did get around to asking did I ish.CatDude wrote:I only looked into it because revo asked how to do it, and i am a curious little sod.abushcrafter wrote:@CatDude Thanks muchly. I have been wanting to do that for a long long time.
I have added a attachment a screenshot of the default QT look of scrollbars.CatDude wrote:I'd love to, if i knew anything about it, but i am not that familiar with KDEabushcrafter wrote:Could you face telling how to/what doc to read for getting scroll buttons set-up like in the default QT/KDE themes.
Are you referring to a Puppy derivative (possibly dejan's KDPUP) by any chance,
if so i could always download it and have a play with it.
CatDude
.
- Attachments
-
- DefaultQTLookOfScrollBars.png
- (507 Bytes) Downloaded 1800 times
[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Hello abushcrafter
It was the second link: [ubuntu] Scrollbar resizing - Ubuntu Forums
that gave me the answer.
if it is the double arrows at the bottom of the scrollbar, then i think we may be in business. (see pic)
Let's use the Polished-Blue theme once again as the guinea pig.
Open up /usr/share/themes/Polished-Blue/gtk-2.0/gtkrc in Geany (or whatever text editor),
right click on it, and select Open As Text
Now add the following:
just beneath:
Please note: In the image below, these are both set to 16
Save your changes,
then go to Menu > Desktop > Chtheme
select Polished-Blue
Click Apply, then click OK
Hope this helps
CatDude
.
P.S
I included the line:
just in case you fancied having two arrows at the top as well,
in which case you would change the 0 for a 1
.
Certainly mate, here you go: how to resize scrollbars in gtk themeabushcrafter wrote:Could I have you search terms please?
It was the second link: [ubuntu] Scrollbar resizing - Ubuntu Forums
that gave me the answer.
I'm not sure exactly what it is you are after,abushcrafter wrote:I have added a attachment a screenshot of the default QT look of scrollbars.
if it is the double arrows at the bottom of the scrollbar, then i think we may be in business. (see pic)
Let's use the Polished-Blue theme once again as the guinea pig.
Open up /usr/share/themes/Polished-Blue/gtk-2.0/gtkrc in Geany (or whatever text editor),
right click on it, and select Open As Text
Now add the following:
Code: Select all
GtkScrollbar::has-secondary-forward-stepper = 0
GtkScrollbar::has-secondary-backward-stepper = 1
Code: Select all
GtkRange::slider_width = 14
GtkRange::stepper_size = 14
Save your changes,
then go to Menu > Desktop > Chtheme
select Polished-Blue
Click Apply, then click OK
Hope this helps
CatDude
.
P.S
I included the line:
Code: Select all
GtkScrollbar::has-secondary-forward-stepper = 0
in which case you would change the 0 for a 1
.
- Attachments
-
- shot.png
- Is this what you are after, or am i missing something ?
- (37.41 KiB) Downloaded 1897 times
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact: