pop-os / launcher

Modular IPC-based desktop launcher service
Mozilla Public License 2.0
228 stars 47 forks source link

Support OnlyShowIn and NotShowIn #20

Closed friday closed 2 years ago

friday commented 3 years ago

Desktop Entries allow apps to specify that they should show conditionally based on the Desktop Environment, using OnlyShowIn and NotShowIn

https://specifications.freedesktop.org/menu-spec/latest/ar01s03.html

I have XFCE installed and see those apps from running Gnome

Screenshot from 2021-09-13 21-21-00

The top one for example is /usr/share/applications/xfce4-power-manager-settings.desktop which specify NotShowIn=GNOME;KDE;Unity;

If you want this change I could try to implement it.

mmstick commented 3 years ago

Sure, yes, in plugins/desktop_entries