Replies: 2 comments
-
I guess it would depended on what kind window manager you will use. |
Beta Was this translation helpful? Give feedback.
-
@aleDsz Nowadays old X system tray protocol is not used. You can use D-Bus/libdbus and StatusNotifierItem to set the icon, see https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/. The problem is, for the menu, you will need some toolkit, like GTK or Qt, and that means you must somehow integrate into their main loop. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've plans (on my own) to allow Livebook Desktop App to be built for Linux distros and I've looking into some GUI library projects to create a single binary for many distros it can run, but it's kinda hard to have a GUI that works everywhere (only Linux in this case).
This is an example of how we works in MacOS, which is only the system tray icon with a menu and all these actions interacts with an Elixir API. And we already have a .NET implementation for Windows.
That said, is there a way to create a Linux app with tray icon + menu? If yes, a tiny example would help :)
Also, I'm open to any suggestion.
Beta Was this translation helpful? Give feedback.
All reactions