-
Notifications
You must be signed in to change notification settings - Fork 748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optionally install wayland session files #12273
Conversation
It seems clear to me that Wayland support is experimental and incomplete, but having the opportunity to try it can help you see the problems that will gradually be resolved. |
For me, this is more about packaging consistency. All of the other cinnamon packages have optional wayland support, and if muffin (for example) is built without, it seems a little silly to be installing wayland session files. I just checked and At least in Gentoo, wayland is not enabled by default unless you're specifically using a GNOME or KDE package manager profile. The xdg-portal support is also optional, though enabled by default. So it would be odd to install the config/session files if xdg-desktop-portal-xapp is not installed or wayland is disabled. Side note - since cinnamon wayland support is experimental/incomplete, the Gentoo package does have an additional mask prevention users from enabling wayland builds. But a user is able to unmask and enable wayland, if they desire. I'm not strongly pushing for this being accepted upstream, since this might be a bit specific to Gentoo packaging. If not, I'll just continue to conditionally remove these files in the package definition. But since I was going through and submitting a variety of PRs, I figured I'd give this one a chance too :) |
I don't get the point to making xdg-portal conf optional, it is used in xorg session are well. |
ca76309
to
92bcc5a
Compare
At one point, the xdg portal stuff was just targeting flatpack and other app sandboxes. But, as you point out, it's evidentially becoming increasingly prevalent in normal desktop apps/envs. Annoying, considering
Regardless, the simple solution is to make the portal stuff required, since that seems to be the trend. I've dropped those changes from the patch. |
Many of our apps use XAppDarkModeManager as a way of bringing Gtk3 in line with libadwaita and browsers, for setting dark mode. Maybe this is what you're running into? |
Add options to disable installing wayland session and xdg-portal files. Cinnamon shouldn't advertise having wayland sessions if the rest of the packages are built without wayland support.
I didn't see a good option for handling
cinnamon-session-cinnamon
without a more significant refactor. But fortunatelycinnamon-session
aborts with an obvious error message