You are not logged in.
Hello ,
I want to change the Scrollbar color in a first time and then , the Scrollbar background color .
I think it's concern just gtk theme in Menu>Parameters>appearance .
I'm saying that because there is no file who contains parameters for the Scrollbar in xfwm4's folder .
Any ideas ?
Offline
Yes. the scrollbar is an element of the Appearance (GTK) theme. You won't find anything in the xfwm4 configuration files to control it. A sample snippet like this in your gtk configuration files will change the colours.
#########################################################################
# Scrollbar colours
style "my-scrollbar"
{
bg[NORMAL] = "#FF0000" # scrollbar
bg[PRELIGHT] = "#00FF00" # hover
bg[ACTIVE] = "#0000FF" # trough colour (can be over-ridden by theme engine configs)
}
widget_class "*Scrollbar" style "my-scrollbar"
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
@ToZ's colors = Wow , that's gaudy
Thanks , it works . A few questions =
This snippet ( and the file ) look like a script .
What kind of script language ?
Is there a Manual or something who explain where colors like Srollbar comes from when it's not specified in the gtkrc file ??
Where can i learn about all those xfce configurations ?
Last edited by infinite (2015-12-12 16:24:49)
Offline
@ToZ's colors = Wow , that's gaudy
Nothing like red, green and blue to make the scrollbar noticeable.
This snippet ( and the file ) look like a script .
What kind of script language ?
Its not a script, it just gtk configuration settings. Look at other gtkrc files in /usr/share/theme/THEME/gtk-2.0/gtkrc to see similar types of settings. You'll might also want to look at the files in /usr/share/theme/THEME/gtk-2.0 for GTK3 configuration settings - these are in CSS format and will affect any applications that are built on the gtk3 framework.
Is there a Manual or something who explain where colors like Srollbar comes from when it's not specified in the gtkrc file ??
I've never come across a definitive "here is how you do it". Here are some links to get you started:
GTK2:
- https://wiki.gnome.org/Attic/GnomeArt/T … /GtkThemes
- https://en.wikibooks.org/wiki/GTK%2B_By_Example/Theming
- http://www.orford.org/gtk/
GTK3
- https://developer.gnome.org/gtk3/stable/theming.html
- http://worldofgnome.org/making-gtk3-the … -1-basics/
Using a theme engine
- https://wiki.xfce.org/howto/gtk_theme
Where can i learn about all those xfce configurations ?
They're not really Xfce configurations, they are GTK configurations. Applications can be created using a variety of toolkits (GTK2, GTK3, QT) and each of these toolkits have their own way of being themed.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
You'll might also want to look at the files in /usr/share/theme/THEME/gtk-2.0 for GTK3 configuration settings - these are in CSS format and will affect any applications that are built on the gtk3 framework.
I have no idea of how to verify which version of gtk , themes use .
I've never come across a definitive "here is how you do it". Here are some links to get you started:
GTK2:
- https://wiki.gnome.org/Attic/GnomeArt/T … /GtkThemes
- https://en.wikibooks.org/wiki/GTK%2B_By_Example/Theming
- http://www.orford.org/gtk/
GTK3
- https://developer.gnome.org/gtk3/stable/theming.html
- http://worldofgnome.org/making-gtk3-the … -1-basics/
Using a theme engine
- https://wiki.xfce.org/howto/gtk_theme
I'm going to check it....
Where can i learn about all those xfce configurations ?
They're not really Xfce configurations, they are GTK configurations. Applications can be created using a variety of toolkits (GTK2, GTK3, QT) and each of these toolkits have their own way of being themed.
Ok , but at the end , is it possible to have a Window config' with = Xfwm4+GTK+QT or Xfwm4+QT ?
Offline
Ok , but at the end , is it possible to have a Window config' with = Xfwm4+GTK+QT or Xfwm4+QT ?
Its possible, but it requires some work. See, for example, https://wiki.archlinux.org/index.php/Un … plications.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 545.72 KiB (Peak: 546.56 KiB) ]