You are not logged in.
I am developing for a customer, who wants a desktop which is mainly white.
As the desktop icons labels are also mainly white, it makes for difficult reading, and I have been unable to find where to configure the font colour for those.
Any idea ?
Last edited by rolgiati (2018-02-03 20:20:14)
Offline
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
Gateful thanks; I just need to replace #000000 with #ffffff in the three fg lines of ~/.gtkrc-2.0 !
Offline
Gateful thanks; I just need to replace #000000 with #ffffff in the three fg lines of ~/.gtkrc-2.0 !
except that, sadly, it does not work, my icons labels still come out in white with grey shadows...
Offline
Just to confirm, you are using xfdesktop 4.12.x (gtk2) version?
If so, try this snippet:
style "xfdesktop-icon-view" {
XfdesktopIconView::shadow-x-offset = 0
XfdesktopIconView::shadow-y-offset = 0
XfdesktopIconView::shadow-color = "#000000"
XfdesktopIconView::selected-shadow-x-offset = 0
XfdesktopIconView::selected-shadow-y-offset = 0
XfdesktopIconView::selected-shadow-color = "#000000"
base[NORMAL] = "#b5b5b4"
base[SELECTED] = "#b5b5b4"
base[ACTIVE] = "#b5b5b4"
fg[NORMAL] = "#000000"
fg[SELECTED] = "#000000"
fg[ACTIVE] = "#000000"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
...or if you want a transparent text background, try:
style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 0
XfdesktopIconView::selected-label-alpha = 0
XfdesktopIconView::shadow-x-offset = 0
XfdesktopIconView::shadow-y-offset = 0
XfdesktopIconView::shadow-color = "#000000"
XfdesktopIconView::selected-shadow-x-offset = 0
XfdesktopIconView::selected-shadow-y-offset = 0
XfdesktopIconView::selected-shadow-color = "#000000"
base[NORMAL] = "#b5b5b4"
base[SELECTED] = "#b5b5b4"
base[ACTIVE] = "#b5b5b4"
fg[NORMAL] = "#000000"
fg[SELECTED] = "#000000"
fg[ACTIVE] = "#000000"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
You'll need to restart xfdesktop (pkill xfdesktop) or log out and back in again to see the change.
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
Just to confirm, you are using xfdesktop 4.12.x (gtk2) version?
[ron@localhost ~]$ xfdesktop -V
This is xfdesktop version 4.12.4, running on Xfce 4.12.
Built with GTK+ 2.24.31, linked with GTK+ 2.24.31.
Build options:
Desktop Menu: enabled
Desktop Icons: enabled
Desktop File Icons: enabled
If so, try this snippet:(SNIP)
You'll need to restart xfdesktop (pkill xfdesktop) or log out and back in again to see the change.
Thank you for your kind help.
Sadly, the snippet did not work either. ;-3(
Offline
Can you post back the results of:
cat $HOME/.gtkrc-2.0
...and:
ls -al $HOME | grep gtk
...and:
ps -ef | grep -i desktop
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
Can you post back the results of:
cat $HOME/.gtkrc-2.0
[ron@localhost ~]$ cat $HOME/.gtkrc-2.0
style "xfdesktop-icon-view" {
XfdesktopIconView::shadow-x-offset = 0
XfdesktopIconView::shadow-y-offset = 0
XfdesktopIconView::shadow-color = "#000000"
XfdesktopIconView::selected-shadow-x-offset = 0
XfdesktopIconView::selected-shadow-y-offset = 0
XfdesktopIconView::selected-shadow-color = "#000000"
base[NORMAL] = "#b5b5b4"
base[SELECTED] = "#b5b5b4"
base[ACTIVE] = "#b5b5b4"
fg[NORMAL] = "#000000"
fg[SELECTED] = "#000000"
fg[ACTIVE] = "#000000"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
...and:
ls -al $HOME | grep gtk
[ron@localhost ~]$ ls -al $HOME | grep gtk
-rw-r--r-- 1 ron ron 565 janv. 23 03:54 .gtkrc-2.0
...and:
ps -ef | grep -i desktop
[ron@localhost ~]$ ps -ef | grep -i desktop
ron 2634 1 0 07:24 ? 00:00:01 xfdesktop
ron 3631 3568 0 07:29 pts/0 00:00:00 grep --color -i desktop
Offline
That should work. Which appearance (gtk2) theme are you using?
Also try changing the last line:
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
...to this:
widget_class "*XfdesktopIconView*" style:highest "xfdesktop-icon-view"
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
That should work. Which appearance (gtk2) theme are you using?
Sorry, have no idea where to find that information.
Also try changing the last line to this:
widget_class "*XfdesktopIconView*" style:highest "xfdesktop-icon-view"
Tried it, no change ;-3(
Offline
Here is an easy way to get the theme name:
xfconf-query -c xsettings -p /Net/ThemeName
Are you logging in and out again to test it?
Also, can you create a second account on your computer and try this snippet with that account?
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
Here is an easy way to get the theme name:
xfconf-query -c xsettings -p /Net/ThemeName
Got it: Blue-Submarine
Are you logging in and out again to test it?
Yes, tried with both pkill xfdesktop and logout - login
Also, can you create a second account on your computer and try this snippet with that account?
Tried the snippet in another account, no change ;-3(
Offline
Does changing the appearance theme (Settings Manager > Appearance > Style) and restart xfdesktop (pkill xxfdesktop) make that snippet work?
Try this version:
style "my-xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 0
XfdesktopIconView::selected-label-alpha = 100
XfdesktopIconVIew::ellipsize-icon-labels = 1
XfdesktopIconView::shadow-x-offset = 1
XfdesktopIconView::shadow-y-offset = 1
XfdesktopIconView::shadow-color = "#000000"
XfdesktopIconView::selected-shadow-x-offset = 1
XfdesktopIconView::selected-shadow-y-offset = 1
XfdesktopIconView::selected-shadow-color = "#000000"
XfdesktopIconView::cell-spacing = 0
XfdesktopIconView::cell-padding = 0
XfdesktopIconView::cell-text-width-proportion = 2
base[NORMAL] = "#b5b5b4"
base[SELECTED] = "#b5b5b4"
base[ACTIVE] = "#b5b5b4"
fg[NORMAL] = "#000000"
fg[SELECTED] = "#000000"
fg[ACTIVE] = "#000000"
}
widget_class "*XfdesktopIconView*" style "my-xfdesktop-icon-view"
Last edited by ToZ (2018-01-24 13:22:00)
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
Does changing the appearance theme (Settings Manager > Appearance > Style) and restart xfdesktop (pkill xxfdesktop) make that snippet work?
Try this version:
style "my-xfdesktop-icon-view" { XfdesktopIconView::label-alpha = 0 XfdesktopIconView::selected-label-alpha = 100 XfdesktopIconVIew::ellipsize-icon-labels = 1 XfdesktopIconView::shadow-x-offset = 1 XfdesktopIconView::shadow-y-offset = 1 XfdesktopIconView::shadow-color = "#000000" XfdesktopIconView::selected-shadow-x-offset = 1 XfdesktopIconView::selected-shadow-y-offset = 1 XfdesktopIconView::selected-shadow-color = "#000000" XfdesktopIconView::cell-spacing = 0 XfdesktopIconView::cell-padding = 0 XfdesktopIconView::cell-text-width-proportion = 2 base[NORMAL] = "#b5b5b4" base[SELECTED] = "#b5b5b4" base[ACTIVE] = "#b5b5b4" fg[NORMAL] = "#000000" fg[SELECTED] = "#000000" fg[ACTIVE] = "#000000" } widget_class "*XfdesktopIconView*" style "my-xfdesktop-icon-view"
Sorry for the delay; HD on the box where I test PCLOS went belly-up, took couple week to have another sent to Darkest Paraguay.
Tried the above, it worked !
My thanks to all who gave their time to help me out.
Offline
[ Generated in 0.011 seconds, 9 queries executed - Memory usage: 608.23 KiB (Peak: 625.08 KiB) ]