New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tray icon problem #767
Comments
Looks like we have to come up with some clever hack to get the correct icon path in Python virtual environments (relevant code location here: https://github.com/Nicotine-Plus/nicotine-plus/blob/master/pynicotine/gtkgui/tray.py#L202), unless there's a better way I'm not aware of. Until then, you'd have to copy the tray icons to |
Oh, detecting venv was about comparing sys.real_prefix and sys.base_prefix.
If they don't match, you're in venv. Keep it with a grain of salt, i have
very vague memory about this and don't have a computer around right now.
…---
aknerats[::-1]
On Sun, Oct 25, 2020, 22:36 Mat ***@***.***> wrote:
Looks like we have to come up with some clever hack to get the correct
icon path in Python virtual environments (relevant code location here:
https://github.com/Nicotine-Plus/nicotine-plus/blob/master/pynicotine/gtkgui/tray.py#L202),
unless there's a better way I'm not aware of. Until then, you'd have to
copy the tray icons to /usr/share/icons/hicolor/32x32/apps, create a
custom icon theme, or install a Nicotine+ package system-wide.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#767 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABXXGCNBK7DVU566NG5PFTSMSK7VANCNFSM4S5S36QA>
.
|
maybe this would be a way to detect env?
(tested on py 3.7 and 3.8) |
cheers! |
Nicotine+ version: 7a42977 (current master)
Operating System/Distribution: Debian testing, sddm & awesome
Hi folks, ever since I switched to npp 2.0+ (running from source) my tray icon is just this "page with missing stuff" (see screenshot, right next to slack icon). Any ideas, how to get "normal icon"?
The text was updated successfully, but these errors were encountered: