bluesabre / menulibre

MenuLibre is an advanced menu editor that provides modern features in a clean, easy-to-use interface.
https://bluesabre.org/menulibre
GNU General Public License v3.0
199 stars 18 forks source link

Update `OnlyShowIn` .desktop entry for Hyprland #191

Open KAGEYAM4 opened 5 months ago

KAGEYAM4 commented 5 months ago

OnlyShowIn=Budgie;Cinnamon;GNOME;KDE;LXDE;LXQt;MATE;Pantheon;Unity;XFCE;

Can menulibre only run in these environment? Can i not run in Hyprland? What incompatibility is there for environments missing in OnlyShowIn?

bluesabre commented 5 months ago

To be honest, I don't know much about Hyprland myself at this point. This OnlyShowIn line restricts MenuLibre to desktop environments that are known to support for FreeDesktop.org Desktop Menu Specification.

Do you know if Hyprland supports this specification?

KAGEYAM4 commented 5 months ago

https://bbs.archlinux.org/viewtopic.php?id=285541

Wayland is comparable to X11. It is a protocol (an idea), it is not software*. Wayland compositors (such as hyprland) implement that protocol, but they also take on the jobs of window manager and compositing (which under X11 were three different bits of software).

In Hyprland, we just use Other launchers like rofi and such which follows XDG specification and if they don't we go create issue there :-)

KAGEYAM4 commented 5 months ago

So, now i understand that there are two specification, menu & .desktop-entry. I was interested in .desktop as i was using this https://codeberg.org/JakobDev/jdDesktopEntryEdit/ to create/edit .desktop entries.

Do you think it would be good to remove onlyShowIn key as on Wayland Side, you will have to add entry for every Compositor+WindowManager.

Also, XDG Specification is followed by many ( almost all i think ), you can just add warning mentioning common pitfalls regarding bug-reports that might come which may belong to DesktopEnvironment and the user should first verify that there DesktopEnvironment/Launcher follows XDG DesktopEntry/Menu specification.

These are .desktop entry of other programs which can be used to eding .desktop entries, in there they are also not using the OnlyShowIn key -