Rendering Desktop Icon Label Background Transparent in XFCE

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Rendering Desktop Icon Label Background Transparent in XFCE

Post#1 by jimwg » 17 Oct 2013, 11:14

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"

beny
Full of knowledge
Full of knowledge
Posts: 720
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Rendering Desktop Icon Label Background Transparent in X

Post#2 by beny » 18 Oct 2013, 09:38

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"

jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Re: Rendering Desktop Icon Label Background Transparent in X

Post#3 by jimwg » 19 Oct 2013, 02:34

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.

beny
Full of knowledge
Full of knowledge
Posts: 720
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Rendering Desktop Icon Label Background Transparent in X

Post#4 by beny » 19 Oct 2013, 03:10

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

jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Re: Rendering Desktop Icon Label Background Transparent in X

Post#5 by jimwg » 19 Oct 2013, 14:58

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

jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Re: Rendering Desktop Icon Label Background Transparent in X

Post#6 by jimwg » 19 Oct 2013, 21:12

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

beny
Full of knowledge
Full of knowledge
Posts: 720
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Rendering Desktop Icon Label Background Transparent in X

Post#7 by beny » 20 Oct 2013, 02:37

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

jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Re: Rendering Desktop Icon Label Background Transparent in X

Post#8 by jimwg » 20 Oct 2013, 14:17

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

Post Reply