papirus-icon-theme
papirus-icon-theme copied to clipboard
Wrong xfce4-power-manager tray icon color
- Distribution: Endeavour OS (arch based)
- Desktop environment: Xfce + i3
- Installing method: aur community/papirus-icon-theme 20210302-1
- App name: xfce4-power-manager 4.16.0
I use the vimix-dark-laptop-ruby theme and the PapirusDark theme.
The icon of the tray despite being white on my disk is recolored to a dark color, making it invisible.
I checked with strace xfce4-power-manager
that the icon loaded is correct /usr/share/icons/Papirus-Dark/symbolic/status/battery-level-80-symbolic.svg
But it is displayed in a dark color:
The only way to fix this is to add
* {color:#FFFFFF;}
to ~/.local/gtk-3.0/gtk.css
however it has impact on other places than this specific icon
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/issues/2484
I don't think that's the same as #2484, the icon is correctly found and displayed but with the wrong styling. Do you think it is related to the gtk theme or the application instead of the icons theme ?
Papirus - it's Darker theme, but symbolic icons need get color from GTK theme. This icon not get color from GTK Theme...
@aacebedo what this orange icon on tray? And why wifi icon very small?
what this orange icon on tray? And why wifi icon very small?
The orange icon is the seafile application (www.seafile.com). The wifi is small because I was missing a bar in reception quality (if you zoom you can see the darker background), so it's working correctly.
Ok so even if I see that the battery icon color is correct in Papirus-Dark, it's color shall have been changed by the theme to match the dark theme ? In this case I shall create an issue on the vmix theme.
On Papirus Dark used only light symbolic icons, you can check it... But it's irrelevant, symbolic colors draw from GTK
Ok thank you, I'll do an issue on the GTK theme, maybe there is something wrong with xfce4-power-manager.
seafile icons used from binary qrc: https://github.com/haiwen/seafile-client/blob/master/src/ui/tray-icon.cpp#L492
seafile icons used from binary qrc: https://github.com/haiwen/seafile-client/blob/master/src/ui/tray-icon.cpp#L492
You are right, I did not noticed the seafile icon because it was readable on my theme, They shall probably rewrite that to use a theme provided icon or at least a svg icon to let the theme recolorize it I guess.
I'm now test manjaro xfce 4.16 and battery icon show correct... BUT i'm not have battery have only stationary computer). I think it's upstream xfce4-power-manager bug. Also only battery icons used symbolic style... All other tray elements not symbolic
See last screen all icons used color #444444
, but battery use from GTK Theme #323232
What's your gtk theme ? I guess I shall be able to display then correct icon like you even if it is not the exact color. My version of xfce4-power-manager seems to be the same as you. Note I use polybar for the tray icon zone.
Do you think the bug shall be reopened to keep track of this ?
It's built in Manjaro XFCE Themes... I think better way for you - found another power manager applet for battery, with libappindicator for example
https://github.com/maateen/battery-monitor
https://github.com/maateen/battery-monitor
Thank you for the info but I prefer not to use unmaintained projects so I'll stick with the xfce4-power-manager if there is nothing else for moment. I hope the bug will be fixed. I notified vimix theme project of the issue. Maybe they'll find then correct css selector to add to target only this application.
I managed to customize this color: you can use
#xfce4-power-manager-plugin image {
-gtk-icon-palette: warning #ff0000, success #00ff00, error #0000ff;
color: #ffff00;
}
Of course you can change your colors here. color
is for "normal" status, warning
is for "caution", success
is for full/charging, and error
is for empty battery.
I managed to customize this color: you can use
#xfce4-power-manager-plugin image { -gtk-icon-palette: warning #ff0000, success #00ff00, error #0000ff; color: #ffff00; }
Of course you can change your colors here.
color
is for "normal" status,warning
is for "caution",success
is for full/charging, anderror
is for empty battery.
I'm pretty new with this, but can you tell me where to change/add this?
Adding it to ~/.config/gtk-3.0/gtk.css
and restarting the power-panel changes nothing...