Unfortunately I cannot find the code in the recent audacious version.
On my system Ubuntu + Cinnamon there is no systray icon for audacious and no option to enable it.
VLC player has an option in preferences: "Show systray icon", but it does not work.
However, in any case MPRIS2 a D-Bus based protocol is the preferred way way on Linux.
Here is the code: /github. com/audacious- media-player/ audacious/ blob/3ec8f6781c 5682d22f42d3415 f123bef98fd0ee9 /src/statusicon /gtktrayicon- x11.c
https:/
Unfortunately I cannot find the code in the recent audacious version.
On my system Ubuntu + Cinnamon there is no systray icon for audacious and no option to enable it.
VLC player has an option in preferences: "Show systray icon", but it does not work.
However, in any case MPRIS2 a D-Bus based protocol is the preferred way way on Linux.
It looks like for your simple demand we need only to implement the MPRIS2 Raise() command. /specifications .freedesktop. org/mpris- spec/latest/ Media_Player. html#Method: Raise
https:/
https:/ /github. com/daschuer/ mixxx/blob/ mpris/src/ mpris/mediaplay er2.h#L44
The "only" issue is that we need to put Mixxx on the white list for the various sound applets like here: /github. com/nbourdau/ pkg-cinnamon/ blob/ac7b0c5002 5461a9e43e6781f 83355f832ad4091 /files/ usr/share/ cinnamon/ applets/ sound%40cinnamo n.org/applet. js#L102
https:/
Will this work for you?
#####
For windows, it looks like a solution based on http:// doc.qt. io/qt-5/ qsystemtrayicon .html
will work.
#####
Mac OS?