You are not logged in.
hi, i would like to ask if somebody can help to get these 3 different things into gtk-3.0/gtk.css:
OLD settings in .gtkrc-2.0
# tooltips off
gtk-enable-tooltips = 0
#
#
#
# window button width
style "xfce-tasklist-style"
{
XfceTasklist::max-button-length = 150
}
class "XfceTasklist" style "xfce-tasklist-style"
#
#
#
# window button font color
style "gtk-theme-config-panel" {
fg[NORMAL] = "#ffffff"
fg[PRELIGHT] = "#ffffff"
fg[SELECTED] = "#ffffff"
fg[ACTIVE] = "#000000"
}
widget "*Xfce*Panel*" style "gtk-theme-config-panel"
class "*Xfce*Panel*" style "gtk-theme-config-panel"
thanks in advance,
Tim
Offline
Hello and welcome.
All of the following CSS snippets should be added to ~/.config/gtk-3.0/gtk.css.
# tooltips off
gtk-enable-tooltips = 0
GTK3 removed the disabling of tooltips in 3.10. The best you can do now is make them fully transparent (they are still displayed but not visible). To do so, use the following snippet:
tooltips { opacity: 0; }
window button width
style "xfce-tasklist-style"
{
XfceTasklist::max-button-length = 150
}
class "XfceTasklist" style "xfce-tasklist-style"
Use:
.tasklist { -XfceTasklist-max-button-length: 150; }
window button font color
style "gtk-theme-config-panel" {
fg[NORMAL] = "#ffffff"
fg[PRELIGHT] = "#ffffff"
fg[SELECTED] = "#ffffff"
fg[ACTIVE] = "#000000"
}
widget "*Xfce*Panel*" style "gtk-theme-config-panel"
class "*Xfce*Panel*" style "gtk-theme-config-panel"
Use:
/* NORMAL */
.tasklist button {
color: #ffffff;
}
/* PRELIGHT */
.tasklist button:hover {
color: #ffffff;
}
/* ACTIVE - only while being clicked */
.tasklist button:active {
color: #000000;
}
/* SELECTED */
.tasklist button:checked {
color: #000000;
}
Adjust colours to suit.
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
thank you for your instant reply but nothing of this works. datetime is black again. icon text seems to work.
this is my gtk.css:
#icon text not truncated#
* {
-XfdesktopIconView-ellipsize-icon-labels: 0;
}
#datetime font color#
#datetime-8* {
color: #E4E4E4;
}
#tooltips off#
tooltips { opacity: 0; }
#window button width#
.tasklist { -XfceTasklist-max-button-length: 150; }
#window button font color#
/* NORMAL */
.tasklist button {
color: #ffffff;
}
/* PRELIGHT */
.tasklist button:hover {
color: #ffffff;
}
/* ACTIVE - only while being clicked */
.tasklist button:active {
color: #000000;
}
/* SELECTED */
.tasklist button:checked {
color: #000000;
}
Last edited by qx4vv9a (2019-08-12 14:47:10)
Offline
Don't use "#" as comments in css files - they are actually used as element indicators (use /* comment */ instead). Try the following gtk.css file:
/* icon text not truncated */
XfdesktopIconView.view {
-XfdesktopIconView-ellipsize-icon-labels: 0;
}
/* datetime font color */
#datetime-8* {
color: #E4E4E4;
}
/* tooltips off */
tooltips { opacity: 0; }
/* window button width */
.tasklist { -XfceTasklist-max-button-length: 150; }
/* window button font color */
/* NORMAL */
.tasklist button {
color: #ffffff;
}
/* PRELIGHT */
.tasklist button:hover {
color: #ffffff;
}
/* ACTIVE - only while being clicked */
.tasklist button:active {
color: #000000;
}
/* SELECTED */
.tasklist button:checked {
color: #000000;
}
You can always check your ~/.xsession-errors file after to see if any error messages are displayed.
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
thank you, that's pretty good. everything works but the opacity of tooltips. they are displayed with value 0 or 100. no difference.
Offline
everything works but the opacity of tooltips. they are displayed with value 0 or 100. no difference.
Sorry, my bad. It should be "tooltip", not "tooltips".
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
/* icon text not truncated */
XfdesktopIconView.view {
-XfdesktopIconView-ellipsize-icon-labels: 0;
}
/* datetime font color */
#datetime-8* {
color: #E4E4E4;
}
/* tooltips off */
tooltip { opacity: 0; }
/* window button width */
.tasklist { -XfceTasklist-max-button-length: 150; }
/* window button font color */
/* NORMAL */
.tasklist button {
color: #ffffff;
}
/* PRELIGHT */
.tasklist button:hover {
color: #ffffff;
}
/* ACTIVE - only while being clicked */
.tasklist button:active {
color: #000000;
}
/* SELECTED */
.tasklist button:checked {
color: #000000;
}
works, now i'm happy.
thank you very much!
Offline
[ Generated in 0.015 seconds, 8 queries executed - Memory usage: 547.37 KiB (Peak: 548.21 KiB) ]