yktoo / indicator-sound-switcher

Sound input/output selector indicator for Linux
https://yktoo.com/en/software/sound-switcher-indicator/
GNU General Public License v3.0
367 stars 29 forks source link

Update docs for target desktops(Ubuntu? Unity? GNOME?) #77

Closed paravoid closed 5 years ago

paravoid commented 5 years ago

README.md:

Sound input/output selector indicator for Ubuntu/GNOME. It shows an icon in the GNOME Panel.

man/indicator-sound-switcher.1:

is a sound input/output selector indicator for Ubuntu/Unity. It shows an icon in the indicator area in Ubuntu's Panel.

debian/control:

A simple yet usable application indicator for Ubuntu/Unity.

These are clearly inconsistent (it seems that the Unity references were dropped at some point, but only from README.md). But, also, none of these are accurate either. I've been using this on my Debian MATE desktop which is neither Ubuntu, Unity, nor GNOME :)

yktoo commented 5 years ago

Thanks @paravoid. Indeed, it all started as an indicator app for the now deceased Unity, then Canonical released a compatibility layer for GNOME and, apparently, its friends.

I'm not really aware of what DEs that compatibility layer supports, perhaps you can advice on that?

paravoid commented 5 years ago

I'm no expert myself but: you seem to be using the AppIndicator3 API. apt show gir1.2-appindicator3-0.1 (or apt show libappindicator3-1) says:

A library to allow applications to export a menu into the panel. Based on KSNI it also works in KDE and will fallback to generic Systray support if none of those are available.

So, I think it should work on all freedesktop.org-compatible desktops!

Also, note that there seems to be a better-maintained forked of application indicators etc. under the name of Ayatana. See Ayatana Indicator's home page as well as the email to debian-devel email from last year.

(Again, not an expert, this is just AIUI).

paravoid commented 5 years ago

With regards to the email thread above, I pushed #78 just now that adds support for Ayatana.

For the purposes of this issue... this should work on every desktop that supports SNI, and I think it will also fall back on the generic system tray spec. Basically... all desktops :)