Hello,
I run Linux Mint 21 MATE - I've a binary that I wrote, I launch this once I've logged in. I would like to display an icon on the right bottom panel that is indicative that this app is running. Optionally I'd also like to provide a basic right-click menu that'd allow me to exit this app. At least starting with an indicator icon would be wonderful.
Could you please point me the correct direction?
Thanks!
Displaying an icon on the right bottom panel
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Displaying an icon on the right bottom panel
Last edited by LockBot on Wed May 24, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
- Level 8
- Posts: 2239
- Joined: Wed Aug 14, 2019 1:02 am
Re: Displaying an icon on the right bottom panel
The native way to do so in Linux Mint is through XAppStatusIcon
https://projects.linuxmint.com/xapp/ref ... sIcon.html
It can fallback to "traditional" Gtk.StatusIcon, so any Linux desktop variants that are traditional enough to support Gtk.StatusIcon can display it. I am not an experienced GTK application programmer so I can't offer any more help.
ps. Oh there is a demo of how to use them and a show of their difference https://www.youtube.com/watch?v=S0onVliBWQ4
https://projects.linuxmint.com/xapp/ref ... sIcon.html
It can fallback to "traditional" Gtk.StatusIcon, so any Linux desktop variants that are traditional enough to support Gtk.StatusIcon can display it. I am not an experienced GTK application programmer so I can't offer any more help.
ps. Oh there is a demo of how to use them and a show of their difference https://www.youtube.com/watch?v=S0onVliBWQ4
Re: Displaying an icon on the right bottom panel
https://github.com/evuraan/Swipe is the app I was referring to - I've incorporated a status indicator, thank you for the pointers!billyswong wrote: ⤴Thu Nov 24, 2022 6:20 am The native way to do so in Linux Mint is through XAppStatusIcon
https://projects.linuxmint.com/xapp/ref ... sIcon.html
It can fallback to "traditional" Gtk.StatusIcon, so any Linux desktop variants that are traditional enough to support Gtk.StatusIcon can display it. I am not an experienced GTK application programmer so I can't offer any more help.
ps. Oh there is a demo of how to use them and a show of their difference https://www.youtube.com/watch?v=S0onVliBWQ4
While I wrote Swipe to suite my needs, I hope others would find it useful - especially those of us who have laptops with touchpads and/or touchscreens. Feedback / suggestions are most welcome!