directory-menu@torchipeppo: Add native version with Wayland support#8255
Conversation
This splits the menu applet into two versions, a classic version (which was the default until now) and a native to Cinnamon version, which leverages Cinnamon's PopupMenu for the implementation and should work better in wayland sessions than the classic Gtk version.
Its garbage collector should call that automatically
|
Hi, thank you very much for your work. Apart from that, it's all great! I appreciate the fix to quit unmapped menu processes too, I hadn't noticed that in my earlier pass. |
Sometimes things can get wedged and require a Cinnamon restart. If that doesn't work, do you want to hold off on merging this? |
|
Regarding the settings not opening issue, consider checking the logs with either the Cinnamon Looking Glass app or reading the |
|
Hi, sorry for the delay. I can't see any logs despite multiple Cinnamon restarts, but it seems like the issue only affects the test-spice version. Applying your changes to my development copy of the applet results in everything working correctly, including the settings. Actually, even the test-spice of the current version of the applet doesn't show the settings either, so this is probably a glitch contained within devtest. So, I'm optimistic that the merge will be okay. Let's go with it and see if anything happens. |
|
Downloaded the update, can confirm everything is in order. Thanks a lot to @anaximeno for your work! |

This adds a Native to Cinnamon version of the applet with the main goal of allowing Wayland support for the applet. In X11 sessions this native implementation is accessible and usable as well (the user must change to it in settings), but the default remains the previous Gtk based implementation now labeled as "classic". For Wayland sessions the native version is set to run instead, but this behavior can also be disabled from the settings.
ref: torchipeppo/directory-menu-for-cinnamon#2 (I've discussed this with the author in their personal repo before sending this PR)
I'll also ping @torchipeppo here for their review.
Video example of how it should work
2026-01-30.03-51-36.mp4