GithubHelp home page GithubHelp logo

Comments (11)

IvanMalison avatar IvanMalison commented on June 17, 2024

@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.

IvanMalison avatar IvanMalison commented on June 17, 2024

afaik nm-applet is the only affected applet. Do you know of any others that encounter this issue?

from gtk-sni-tray.

benley avatar benley commented on June 17, 2024

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.

IvanMalison avatar IvanMalison commented on June 17, 2024

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.

IvanMalison avatar IvanMalison commented on June 17, 2024

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.

benley avatar benley commented on June 17, 2024

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.

IvanMalison avatar IvanMalison commented on June 17, 2024

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.

benley avatar benley commented on June 17, 2024

Reasonable. Thanks for the info.

from gtk-sni-tray.

NickHu avatar NickHu commented on June 17, 2024

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.

IvanMalison avatar IvanMalison commented on June 17, 2024

@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.

kurnevsky avatar kurnevsky commented on June 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.