You are not logged in.
Greetings:
I'm using Xfce 4.8 on Debian and no matter the Gtk theme put, the bottom of the systray icons, always white. You do not see much when the panel has a white or clear, but when the panel has a dark color, it looks pretty ugly.
Is there any way to fix this?
Last edited by xfcelav (2011-08-11 15:37:02)
url: blog.desdelinux.net
twt: @elavdeveloper
Offline
Enable compositing.
Offline
Sounds similar to this post : http://forum.xfce.org/viewtopic.php?id=6169
Xfce is NOT Xubuntu. Bugs in Xubuntu don't mean that Xfce is buggy ...
Offline
Sounds similar to this post : http://forum.xfce.org/viewtopic.php?id=6169
It is the same issue and composoting is enabled, including several different compositors, all with the same results...
Offline
When you say "the bottom of the systray icons", do you mean "the background"? Here I've noticed that when I change the Gtk theme, the systray icons background stays the same colour (as defined by the previous theme.) So if your previous theme had a white background then it would stay white.
Activating compositing does set the colour right, but that's because everything is redrawn I think (going back to no compositing keeps the right colour, though with compositing some icons have a lighter grey than others so it looks like drawing is handled differently...)
I also have other problems with the systray icons, but I don't know if that's caused by a panel bug or by bugs in the applications.
(I'm sure none of this helps -- just saying "I have problems too" I guess .)
Offline
Do you have the snapshot of the probleme ?
I don't have composing enabled but my panel is normal ....
Version : xfce4-panel 4.8.1-5.8.1
Problem with your theme configuration file ?
Xfce is NOT Xubuntu. Bugs in Xubuntu don't mean that Xfce is buggy ...
Offline
As I stated earlier, it happens with all themes.. No matter if I use Solid Color or None (use system style) in panel preferences, it remains the same
It only happens when the mouse is hovered over it. At all other times it is correct.
It only happens on Launchers, not on any other panel types
Here is a screenshot of the problem..
Offline
From your picture, I think you mean the panel not the tray. Have a look at
In particular the editing ~/.gtkrc section. This will allow you to edit the colours of the panel, overriding the colours set by the theme.
Offline
From your picture, I think you mean the panel not the tray. Have a look at
In particular the editing ~/.gtkrc section. This will allow you to edit the colours of the panel, overriding the colours set by the theme.
Right...
I have this issue opened here
http://forum.xfce.org/viewtopic.php?id=6169
and thought I was in that thread when I responded...
I have looked all through
area and have changed gtkrc section to at least a hundred different setups without success.. I can verify that the process is working because when I make a change to the .gtkrc file and add an image as a background, it works... But even with an image, the Launchers only still show a white background...
It appears that there is not a specific setting that can manipulate the backgrounds of the Launchers in the panel, or at least none that I have found as of yet..
I appreciate the reply and suggestions
Offline
Let try this :
Save this image in your home folder : http://img99.imageshack.us/img99/6641/p … nhover.png
It's a transparent 48x24px Png file. Name it panel-button-hover.png
Put this on your ~/.gtkrc-2.0
style "mypanel"
{
engine "pixmap"
{
image
{
function = BOX
recolorable = TRUE
state = PRELIGHT
file = "panel-button-hover.png"
border = { 1, 1, 0, 0 }
stretch = TRUE
}
}
}
widget "*Xfce*Panel*" style "mypanel"
class "*Xfce*Panel*" style "mypanel"
widget "*PanelWidget*" style "mypanel"
widget "*PanelApplet*" style "mypanel"
widget "*fast-user-switch*" style "mypanel"
widget "*CPUFreq*Applet*" style "mypanel"
widget "*indicator-applet*" style "mypanel"
class "PanelApp*" style "mypanel"
class "PanelToplevel*" style "mypanel"
widget_class "*PanelToplevel*" style "mypanel"
widget_class "*notif*" style "mypanel"
widget_class "*Notif*" style "mypanel"
widget_class "*Tray*" style "mypanel"
widget_class "*tray*" style "mypanel"
widget_class "*computertemp*" style "mypanel"
widget_class "*Applet*Tomboy*" style "mypanel"
widget_class "*Applet*Netstatus*" style "mypanel"
Re-log or change your Appearance theme to a temporary theme and switch back to your original theme.
Cross your finger and move your mouse over the launcher ...
Xfce is NOT Xubuntu. Bugs in Xubuntu don't mean that Xfce is buggy ...
Offline
Let try this :
Save this image in your home folder : http://img99.imageshack.us/img99/6641/p … nhover.png
It's a transparent 48x24px Png file. Name it panel-button-hover.pngPut this on your ~/.gtkrc-2.0
style "mypanel" { engine "pixmap" { image { function = BOX recolorable = TRUE state = PRELIGHT file = "panel-button-hover.png" border = { 1, 1, 0, 0 } stretch = TRUE } } } widget "*Xfce*Panel*" style "mypanel" class "*Xfce*Panel*" style "mypanel" widget "*PanelWidget*" style "mypanel" widget "*PanelApplet*" style "mypanel" widget "*fast-user-switch*" style "mypanel" widget "*CPUFreq*Applet*" style "mypanel" widget "*indicator-applet*" style "mypanel" class "PanelApp*" style "mypanel" class "PanelToplevel*" style "mypanel" widget_class "*PanelToplevel*" style "mypanel" widget_class "*notif*" style "mypanel" widget_class "*Notif*" style "mypanel" widget_class "*Tray*" style "mypanel" widget_class "*tray*" style "mypanel" widget_class "*computertemp*" style "mypanel" widget_class "*Applet*Tomboy*" style "mypanel" widget_class "*Applet*Netstatus*" style "mypanel"
Re-log or change your Appearance theme to a temporary theme and switch back to your original theme.
Cross your finger and move your mouse over the launcher ...I obtain this on my netbook :
http://img64.imageshack.us/img64/1801/zz6c.png
Worked perfectly...
I had tried something very similar to this but did not have all of the widget and class levels that you have
I cannot tell you HOW frustrating this had been, would probably get me booted from here, but I can tell you that I really appreciate this!
Thanks so much!!
Offline
Cool !
So it worth my night, as I'm not a theme guru ... I was just lucky that one of my old theme have those lines :-)
And I understand "HOW frustrating this had been" because there is no log, verbose, no feedback, debug option and you have to login logout most of the time (yeah, I really spent my night lol !).
I spent 2h to get my transparency working because one day I put export XLIB_SKIP_ARGB_VISUALS=1 on my .profile and all my transparency was solid black ...
Xfce is NOT Xubuntu. Bugs in Xubuntu don't mean that Xfce is buggy ...
Offline
Cool !
So it worth my night, as I'm not a theme guru ... I was just lucky that one of my old theme have those lines :-)
And I understand "HOW frustrating this had been" because there is no log, verbose, no feedback, debug option and you have to login logout most of the time (yeah, I really spent my night lol !).
I spent 2h to get my transparency working because one day I put export XLIB_SKIP_ARGB_VISUALS=1 on my .profile and all my transparency was solid black ...
I finally found exactly where it was at... I had been focusing on anything panel related to all gtrkc files I was looking at.. I then switched to a very basic xfce theme that put a light blue background.. I then traced that to
style "button"
bg[PRELIGHT] = "cce2ff"
Now that I traced the where... in the theme I use it was this...
Prelight = file "/button/button-prelight.png"
Too much focus on panel and not the button area...
I simply commented that line out and it was fixed...
That is what I had been asking for all along, was the where... and a process of elimination finally got me to it...
I sure appreciate your help.. Your code helped me to narrow it down...
Last edited by Vastone (2011-08-14 09:06:01)
Offline
It would be great if you could put the fruit of your tests and time on the xfce wiki. Just put a kind of "what parameter do what ?" Or what widget/class level apply on the xfce panel.
I think it will be really appreciated because there is very few words about this, even on the entire net.
Xfce is NOT Xubuntu. Bugs in Xubuntu don't mean that Xfce is buggy ...
Offline
Well. Thank you very much all for now I've solved it by turning on the composer, but always have an alternative for when you deactivate it.
Thanks.
url: blog.desdelinux.net
twt: @elavdeveloper
Offline
I will look in to a better solution for this.
Offline
@angstrom
@Vastone
Did this solution cure taskbar buttons transparency problem? On the screenshot from http://forum.xfce.org/viewtopic.php?pid=22652#p22652 they have gray background rather than transparent one. (Grey button with "Launcher" label)
Offline
For activated button, it seems to be resolved on the other thread http://forum.xfce.org/viewtopic.php?id=6169
I don't know if it works with the taskbar buttons ...
So your final ~/.gtkrc-2.0 will look something like this :
style "mypanel"
{
engine "pixmap"
{
image
{
function = BOX
recolorable = TRUE
state = PRELIGHT
file = "panel-button-hover.png"
border = { 1, 1, 0, 0 }
stretch = TRUE
}
image
{
function = BOX
recolorable = TRUE
state = ACTIVE
file = "panel-button-hover.png"
border = { 1, 1, 0, 0 }
stretch = TRUE
}
}
}
widget "*Xfce*Panel*" style "mypanel"
class "*Xfce*Panel*" style "mypanel"
widget "*PanelWidget*" style "mypanel"
widget "*PanelApplet*" style "mypanel"
widget "*fast-user-switch*" style "mypanel"
widget "*CPUFreq*Applet*" style "mypanel"
widget "*indicator-applet*" style "mypanel"
class "PanelApp*" style "mypanel"
class "PanelToplevel*" style "mypanel"
widget_class "*PanelToplevel*" style "mypanel"
widget_class "*notif*" style "mypanel"
widget_class "*Notif*" style "mypanel"
widget_class "*Tray*" style "mypanel"
widget_class "*tray*" style "mypanel"
widget_class "*computertemp*" style "mypanel"
widget_class "*Applet*Tomboy*" style "mypanel"
widget_class "*Applet*Netstatus*" style "mypanel"
Xfce is NOT Xubuntu. Bugs in Xubuntu don't mean that Xfce is buggy ...
Offline
Nick, is there any chance of that the ~/.gtkrc-2.0 from the post above will be in by the time xfce 4.10 happens? It makes the desktop look really nice and does not require a plenty of work from developers!
Offline
May this feature make xfce 4010?
Offline
I use Arch linux and XFCE 4.10 ,I put above code in my gtkrc but nothing happen , and my icons in panel2 have white border ,but i need icon do not have border ,I need my panel like this
http://www.zimagez.com/zimage/screensho … 0842pm.php
Last edited by mfaridi (2013-07-20 18:01:48)
Offline
I use Arch linux and XFCE 4.10 ,I put above code in my gtkrc but nothing happen , and my icons in panel2 have white border ,but i need icon do not have border ,I need my panel like this
You might miss the part of downloading that transparent file
Offline
[ Generated in 0.018 seconds, 8 queries executed - Memory usage: 645.31 KiB (Peak: 678.16 KiB) ]