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.
Locked
ydbdm
Level 1
Level 1
Posts: 4
Joined: Wed Nov 23, 2022 11:23 pm

Displaying an icon on the right bottom panel

Post by ydbdm »

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!
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.
billyswong
Level 8
Level 8
Posts: 2239
Joined: Wed Aug 14, 2019 1:02 am

Re: Displaying an icon on the right bottom panel

Post by billyswong »

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
ydbdm
Level 1
Level 1
Posts: 4
Joined: Wed Nov 23, 2022 11:23 pm

Re: Displaying an icon on the right bottom panel

Post by ydbdm »

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
https://github.com/evuraan/Swipe is the app I was referring to - I've incorporated a status indicator, thank you for the pointers!

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!
Locked

Return to “MATE”