Comments (11)
@benley yeah I actually encountered this issue myself in my nixos configuration. I came up with a solution, but I'm not 100% sure why this is happening, althuogh I do have some ideas. See
NixOS/nixpkgs#43836 for solution and speculation
from gtk-sni-tray.
afaik nm-applet is the only affected applet. Do you know of any others that encounter this issue?
from gtk-sni-tray.
nm-applet is the only one I'm sure of; I'm still figuring out which apps even support the new SNI style tray interface and only know about a few.
from gtk-sni-tray.
One thing you should know is that many electron apps need to be started with
XDG_CURRENT_DESKTOP='Unity'
in order to use sni
from gtk-sni-tray.
things I currently have in my sni tray are:
kde-connect
https://github.com/IvanMalison/notifications-tray-icon
lxqt-powermanagement
pasystray
udiskie
clipit
gitter
nm-applet
steam
vlc
quassel
you can always use xembedsniproxy to get xembed tray icons in your sni system tray, but its not a perfect solution.
from gtk-sni-tray.
Nice, thanks for that list! I've tried xembedsniproxy from plasma-workspace and it basically works, but clicking on widgets acts strangely and the icons look fuzzy - which is something I remember seeing when I was running KDE as well, and now I have some clue about why :-)
from gtk-sni-tray.
I'm going to close this since it is more of a nixos issue than anything else. Do let me know if you have any other problems.
from gtk-sni-tray.
Reasonable. Thanks for the info.
from gtk-sni-tray.
Hi, I think for the past year or so I haven't been able to get nm-applet working with taffybar on nixos. I don't get the issue described in the OP, but I think maybe at one point I did. I also don't get any errors in either status-notifier-watcher or nm-applet itself, and running status-notifier-watcher with -l DEBUG
shows that it registers just fine:
MethodCall {methodCallPath = ObjectPath "/StatusNotifierWatcher", methodCallInterface = Just (InterfaceName "org.kde.StatusNotifierWatcher"), methodCallMember = MemberName "RegisterStatusNotifierItem", methodCallSender = Just (BusName ":1.58"), methodCallDestination = Just (BusName ":1.50"), methodCallReplyExpected = True, methodCallAutoStart = True, methodCallBody = [Variant "/org/ayatana/NotificationItem/nm_applet"]}
MethodCall {methodCallPath = ObjectPath "/StatusNotifierWatcher", methodCallInterface = Just (InterfaceName "org.kde.StatusNotifierWatcher"), methodCallMember = MemberName "GetObjectPathForItemName", methodCallSender = Just (BusName ":1.17"), methodCallDestination = Just (BusName "org.kde.StatusNotifierWatcher"), methodCallReplyExpected = True, methodCallAutoStart = True, methodCallBody = [Variant ":1.58"]}
(I'm running nm-applet --sm-disable --indicator
)
If I launch without --indicator
, then it shows up via xembed-sni-proxy, but I can't interact with it because of general xembed weirdness (everything is like this, although I could've sworn it worked at some point).
It feels like to me it might silently be not able to find the icons. As for how I've set up NetworkManager, I just have networking.networkmanager.enable = true;
in my configuration.nix and services.network-manager-applet.enable = true;
in my home-manager configuration. Are either of the two of you able to get nm-applet working? I'm thinking it might be a case of my not having installed some package or something, as is historical with nixos and icon bugs.
from gtk-sni-tray.
@NickHu I had this issue quite some time ago, and @ErolB was just having this issue a few days ago. See: NixOS/nixpkgs#43836
from gtk-sni-tray.
I have this issue for clipit in nixos - taffybar can't find clipit-trayicon
. But I see the icon installed in hicolor theme...
Added: fixed after I set services.xserver.gdk-pixbuf.modulePackages, thanks to taffybar/taffybar#403 (comment)
from gtk-sni-tray.
Related Issues (20)
- Multiple/Duplicate icons for some applications HOT 18
- Only Qt programs have icons by default HOT 13
- Incorrect colors in icons HOT 3
- Some dynamic icons unchanging HOT 15
- Support Activate and SecondaryActivate HOT 7
- Possibly incomplete WM hints HOT 7
- No tooltips on hover
- Electron apps update icons by sending newIconThemePath; gtk-sni-tray continues to look in old path HOT 11
- Multiple copies of icon appear at startup, issue seems to be fixed later HOT 1
- IBus AppIndicator support HOT 4
- Can this be made swallowable inside another dock? HOT 8
- Builderror with gdkpixbuf 2.0.26 HOT 3
- Duplicate icons in tray
- Pattern match failure in GIGtkStrut.hs user error HOT 11
- Stop using gtk_resize_children
- Make chrome icon work
- Handle high dpi HOT 1
- No image is displayed for gitter HOT 1
- Add configuration option to disable forced square scaling
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtk-sni-tray.