Closed abouvier closed 7 years ago
this commands not supported:
--dark-theme Papirus-Dark --light-theme Papirus
because use CSS style for icons! BUT CSS Style not supported for tray apps (Non-KDE apps), see readme NOTE: https://github.com/PapirusDevelopmentTeam/papirus-icon-theme#kde-color-scheme
My global theme is Breeze but with Arc Dark panel and Papirus icons.
You need use Papirus - for dark plasma theme & light window theme:
hardcode-tray --conversion-tool Inkscape --theme Papirus
Also not forgot apply icon theme on kde settings and for GTK-apps too and restart apps...
Also you can replace tray icons color with sed, command available on README
Arc Dark Plasma Theme - not support KDE Color scheme Arc Color - support KDE Color scheme
Not confused ;)
For GTK DE: Papirus - dark panel & light windows Papirus-Dark - dark panel & dark windows ePapirus - mod for elementary (dark panel & light windows)
For KDE (if enabled support KDE Color scheme): Papirus - for dark plasma theme & light window theme Papirus Dark - for dark plasma theme & window theme or white plasma theme & window theme
For KDE (if disabled support KDE Color scheme): Papirus - for dark plasma theme & light window theme Papirus-Dark for dark plasma theme & dark window theme
Also you can modify colors for monochrome icons - use sed. Or disable KDE Color scheme on index.theme:
FollowsColorScheme=false
tray icons for non-KDE apps not supported KDE Color scheme - change colors manually with sed
Little note:
if you use ALL white or dark customization (plasma, colorscheme, window theme and etct) - use Papirus-Dark with Arc Color plasma theme (or Breeze plasma theme and others), but for white customization need replace colors for tray icons, because by default used white colors for tray and other monochrome icons too - KDE color scheme not supported no-KDE apps on tray (more apps use PNG for tray, another hardcoded or not used QsystemTray - used libbapindicator, python-indicator and etc etc...)
Papirus - it's only for white colorscheme with dark plasma theme. Not needed modify...
Hi varlesh!
First of all: Thank you very much for your work. I really like Papirus. Well, in fact I was suffering the same problem as abouvier. I'm using Papirus (not Papirus-Dark) because I have a light window theme and dark panels. But the Dropbox-Icon (besides some others) always displayed as in the picture abouvier posted: dark. All your proposals didn't do the trick for me. My solution was quite simple: I just copied the panel folders from Papirus-Dark to Papirus:
sudo rm -rf /usr/share/icons/Papirus/22x22/panel/ sudo rm -rf /usr/share/icons/Papirus/24x24/panel/ sudo cp -r /usr/share/icons/Papirus-Dark/22x22/panel/ /usr/share/icons/Papirus/22x22/ sudo cp -r /usr/share/icons/Papirus-Dark/24x24/panel/ /usr/share/icons/Papirus/24x24/
Maybe it'll help somebody. Have a nice day!
I don't know why you have problem with dropbox. See source dropboxstatus-logo.svg:
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22" version="1.1" viewBox="0 0 22 22" id="svg2">
<defs id="defs8">
<style type="text/css" id="current-color-scheme">
.ColorScheme-Text { color:#5c616c; } .ColorScheme-Highlight { color:#5294e2; } .ColorScheme-ButtonBackground { color:#d3dae3; }
</style>
</defs>
<path style="fill:currentColor" d="m7 3-5 3 4 2.9844-4.0098 3.0076 5.0098 3.008 4-3-5-3 5-3 5 3.0156-5 2.9844l4 3 5.0098-3.0234-4.01-2.98 4-3-5-3-4 2.9844-4-2.9844zm4 10-4 3-1-0.6v0.6l5 3 5-3v-0.604l-1 0.604-4-3z" id="path4" class="ColorScheme-ButtonBackground"/>
</svg>
use color class ColorScheme-ButtonBackground { color:#d3dae3; } - it's light icon! NonKDE apps not apply KDE color scheme from button background, because it's impossible. All nonKDE apps appply color from icon theme only. Maybe it's cache problem?
As I said: Unfortunately, all those tricks didn't help for me. I did a bunch of logouts, logins, deleting of KDE's icon cache … without any effort. As I saw that Papirus-Dark always takes the right icons (at least for the tray) I copied them--as I wrote in my previous post. I'm fine now.
By the way: The Dropbox icon wasn't the only one I had problems with. I think every icon in the tray that grapped an alternative in Papirus was affected. The update icon was all dark, too.
it's impossible! Open icon theme folder and check colors for panel icons... i don't know why this happened on your system:
This problem is not really fixed :p
And it's probably not related to Hardcode-Tray because I have a native icon who is dark instead of being white:
It's the update notifier from the discover
package.
Another one is the microphone icon on the volume control applet:
@abouvier it isn't Papirus icon.
Yes it is, it's the microphone-sensitivity-medium.svg
or microphone-sensitivity-medium-symbolic.svg
.
Oops, yeah. Anyway microphone-sensitivity-medium.svg
has the same CSS stylesheet as audio-volume-high-panel.svg
. So I don't know why it happens. I can't reproduce this bug on my virtual machine.
I use Arch with these pacakges:
I tried these commands:
$ hardcode-tray --conversion-tool Inkscape
$ hardcode-tray --conversion-tool Inkscape --theme Papirus
$ hardcode-tray --conversion-tool Inkscape --theme Papirus-Dark
$ hardcode-tray --conversion-tool Inkscape --dark-theme Papirus-Dark --light-theme Papirus
$ hardcode-tray --conversion-tool Inkscape --dark-theme Papirus --light-theme Papirus-Dark
But the result is always: HexChat and Discord are white but not Dropbox and Steam.
My global theme is Breeze but with Arc Dark panel and Papirus icons.