You are not logged in.
Hi,
I have a ~/.config/gtk-3.0/gtk.css containing the following code to colour the workspace switcher (buttons):
#pager-4 button { background-color: #B35A57; }
#pager-4 button:checked { background-color: #4B7946; }
#pager-4 button:hover { background-color: #406398; }
looks pretty good. BUT, if this gtk.css exists transparency of the panel is not working anymore.
When I rename/delete the gtk.css transparency works fine again.
Do I need any additional entries in the gtk.css to make transparency work...
Thanks a lot
Offline
if the code gets deleted, thus an empty gtk.css exists, this behaviour is still present
Last edited by fant (2021-12-12 21:51:24)
Offline
That code shouldn't have any impact on the transparency of the panel. Have you tried restarting the panel:
xfce4-panel -r
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
yes, panel restarted several times
everytime I changed the gtk.css
Offline
Which distro and which version of Xfce are you using?
Can you run xfce4-panel in debug mode and post back the output?
xfce4-panel -q
PANEL_DEBUG=1 xfce4-panel
I can't replicate this issue on Arch Linux using Xfce 4.16,
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
ToZ,
thanks a lot for your efforts - highly appreciate :-)
I use debian 11 and xfce 4.16. The only thing what came in mind was, that I removed gnome completely and installed xfce (never regretted...;-) Proably I missed something...
But, the problem got solved by a behaviour which I would describe as a bit creepy...
I set the transparency to 0 (for enter and leave panel). Nothing happend = no transparancy.
Then I made a screenshot (shift+print) to cast a picture how it looks.
I selected an appropriate area, panel included of course. I got a terrible screen greasing (pointer and coordinates) on the panel.
Then, in some kind of "panic attack", I restarted the panel and now it works and looks fine as it should....
I promise, I had restarted the panel several times before...with no result.
Now I'm pretty happy with my deskop ;-)
Probably XFCE has some kind of self-healing power...
Offline
I set the transparency to 0 (for enter and leave panel). Nothing happend = no transparancy.
Just wanted to say that changing background transparency is different in 4.16. The enter/leave opacity changes the visibility of both the background transparency and the icons. To change just the background, you should follow these instructions.
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
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 554.26 KiB (Peak: 555.54 KiB) ]