Page 1 of 1

Rendering Desktop Icon Label Background Transparent in XFCE

Posted: 17 Oct 2013, 11:14
by jimwg
Greetings!

The subject line says it all! I wish to render desktop Icon text label background transparent in Porteus 2.1 32bit XFCE 4.10 while keeping the text visible through different colored screens. Mint mavens told me to try this in a gk file but it doesn't seem to work for Porteus. Any hint much appreciated!

Jim in NYC


style "xfce-panel-window-style"
{
# Time in miliseconds before the panel will unhide on an enter event
XfcePanelWindow::popup-delay = 2000

# Time in miliseconds before the panel will hide on a leave event
XfcePanelWindow::popdown-delay = 500
}
class "XfcePanelWindow" style "xfce-panel-window-style"



style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 0

fg[NORMAL] = "#ffffff"
fg[SELECTED] = "#ffffff"
fg[ACTIVE] = "#ffffff"

XfdesktopIconView::cell-text-width-proportion = 2.5

XfdesktopIconView::ellipsize-icon-labels = 0

}



style "xfdesktop-icon-view" {
## opacity of text background (0 - 255, 0 = transparent)
XfdesktopIconView::label-alpha = 0
XfdesktopIconView::selected-label-alpha = 100

## text background colors
base[NORMAL] = "#EDECEB"
base[ACTIVE] = shade (0.8, "#86ABD9")
base[SELECTED] = "#86ABD9"

## text foreground colors
fg[NORMAL] = shade (0.9, "#FFFFFF")
fg[ACTIVE] = shade (0.8, "#FFFFFF")
fg[SELECTED] = "#FFFFFF"

## whether or not unselected icon text gets truncated (...)
# XfdesktopIconVIew::ellipsize-icon-labels = 5

## text shadow to be painted with the icon labels
XfdesktopIconView::shadow-x-offset = 1
XfdesktopIconView::shadow-y-offset = 1
# XfdesktopIconView::shadow-color = "#000000"
# XfdesktopIconView::selected-shadow-x-offset = 0
# XfdesktopIconView::selected-shadow-y-offset = 0
# XfdesktopIconView::selected-shadow-color = "#ffffff"

## spacing and sizing of icons on the grid
# XfdesktopIconVIew::cell-spacing = 6
# XfdesktopIconView::cell-padding = 6
XfdesktopIconView::cell-text-width-proportion = 3
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

Re: Rendering Desktop Icon Label Background Transparent in X

Posted: 18 Oct 2013, 09:38
by beny
hi ,you have to adds this to the file in your home .gtkrc-2.0, it is a hidden file in you home,if you do not have you can make it.


style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 10
base[NORMAL] = "#000000"
base[SELECTED] = "#71B9FF"
base[ACTIVE] = "#71FFAD"
fg[NORMAL] = "#ffffff"
fg[SELECTED] = "#71B9FF"
fg[ACTIVE] = "#71FFAD" }
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

Re: Rendering Desktop Icon Label Background Transparent in X

Posted: 19 Oct 2013, 02:34
by jimwg
beny wrote:hi ,you have to adds this to the file in your home .gtkrc-2.0, it is a hidden file in you home,if you do not have you can make it.


style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 10
base[NORMAL] = "#000000"
base[SELECTED] = "#71B9FF"
base[ACTIVE] = "#71FFAD"
fg[NORMAL] = "#ffffff"
fg[SELECTED] = "#71B9FF"
fg[ACTIVE] = "#71FFAD" }
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
No go. :( Why does the basic script works in Mint I have to research.

Re: Rendering Desktop Icon Label Background Transparent in X

Posted: 19 Oct 2013, 03:10
by beny
look if you have the file .gtkrc-2.0 in your home, it is a hidden file adds the script and save it in my system work so in yours too

Re: Rendering Desktop Icon Label Background Transparent in X

Posted: 19 Oct 2013, 14:58
by jimwg
beny wrote:look if you have the file .gtkrc-2.0 in your home, it is a hidden file adds the script and save it in my system work so in yours too
I did this and I can still see the icon text's background, it's not totally transparent (like in Mint XFCE). Do you have other screen adjustments on your system that's giving you good results? I am working in root, not guest, so does that make a difference?

Jim in NYC
Porteus 2.1 32bit

Re: Rendering Desktop Icon Label Background Transparent in X

Posted: 19 Oct 2013, 21:12
by jimwg
beny wrote:look if you have the file .gtkrc-2.0 in your home, it is a hidden file adds the script and save it in my system work so in yours too
It seems to work very well in XFCE guest mode but nix for root, where I'm based. I'm trying to examine the scripts to make out anything unique with root that makes this so.

Jim in NYC

Re: Rendering Desktop Icon Label Background Transparent in X

Posted: 20 Oct 2013, 02:37
by beny
Ahau it is the wizard of xfce,if you have trouble with, ask to him,he is the xfce 32 and 64 bit manteiner on porteus

Re: Rendering Desktop Icon Label Background Transparent in X

Posted: 20 Oct 2013, 14:17
by jimwg
beny wrote:Ahau it is the wizard of xfce,if you have trouble with, ask to him,he is the xfce 32 and 64 bit manteiner on porteus
Okay, thanks! I'll try to contact him!

Jim in NYC