You are not logged in.
Pages: 1
Hi!
I'm using Arch and
xfce4-genmon-plugin 4.0.0
xfce4-panel 4.12.1
And my custom genmon plugins not using system panel color as bg color.
How to fix this?
Offline
Hello and welcome. I've moved your post to its own thread.
Can you identify which of those plugins are genmon plugins? Is it all 3 of them with the dark backgrounds?
Which Appearance theme are you using?
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 identify which of those plugins are genmon plugins? Is it all 3 of them with the dark backgrounds?
Yes, they are with dark background.
Which Appearance theme are you using?
I'm using Arc theme, and it really has dark panel, but I have recolored it to white by small mod of gtk-2.0/panel.rc file: http://pastebin.com/gdgZR9v8
But what color is using by genmon?
Offline
The genmon plugin uses a transparent background by default.
Can you post a screenshot of the Panel Properties > Items tab for that panel? Those don't look like genmon plugins to me.
Also, can you share one of the scripts that you are using to generate that output?
I just tested your patch here on the Arc theme and I don't get the dark background.
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
It's genmon 100%
Here is screenshot in Russian
My genmon scripts generate svg pictures and show them without label.
For example:
#!/bin/bash
iconfile=/tmp/arch-light2.svg
pkgs="Empty"
### XFCE GENMON XML ###
echo "<img>$iconfile</img>"
cat <<-EOF
<tool>$pkgs</tool>
EOF
cat <<-EOF
<click>/tmp/update2</click>
EOF
;;
exit 0
Last edited by javum (2017-03-09 15:40:43)
Offline
My genmon scripts generate svg pictures and show them without label.
Then where is the text in the image coming from? I can definitely see temperatures in the first two and numbers next to the Arch logo. Are they coming from behind the image from your desktop? Or are the images generated with the numbers?
The genmon-plugin version 4 has been migrated to GTK3. Do you have any GTK3 overrides in either ~/.config/gtk-3.0/gtk.css or /etc/gtk-3.0/gtk.css that might be affecting their display?
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, the numbers are the part of svg.
Also I tried the latest Arc with my patch - the bg is stiil dark.
And I haven't any GTK3 styles overrides.
Can you try this SVG: http://svgshare.com/i/xb.svg on your system with Arc theme with my patch and my genmon script?
Update: I found interesting thing. The dark bg is only when panel bg has no style in panel settings. If I select solid color, then genmon bg becomes that color too.
Last edited by javum (2017-03-10 04:20:03)
Offline
Okay, I see whats happening.
When dealing with themeing issues, always try Adwaita first to see if the issue exists there. If not, then its a "mis-configuration" with the theme itself (which is understandable as Xfce changes). If you add the following snippet to ~/.config/gtk-3.0/gtk.css:
.xfce4-panel.panel {
background-color: #F5F6F7;
text-shadow: none;
-gtk-icon-shadow: none;
}
.xfce4-panel.panel button.flat, .xfce4-panel.panel button.sidebar-button {
color: #F5F5F5;
border-radius: 0;
border: none;
}
.xfce4-panel.panel button.flat:hover, .xfce4-panel.panel button.sidebar-button:hover {
border: none;
background-color: rgba(0, 0, 0, 0.0);
}
.xfce4-panel.panel button.flat:active, .xfce4-panel.panel button.sidebar-button:active, .xfce4-panel.panel button.flat:checked, .xfce4-panel.panel button.sidebar-button:checked {
color: #ffffff;
border: none;
}
...it will override the settings in that theme to work properly.
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
Big thanks!
I edit my theme mod, and everything is ok now!
Offline
Pages: 1
[ Generated in 0.012 seconds, 8 queries executed - Memory usage: 552.48 KiB (Peak: 569.77 KiB) ]