Skip to content

Add support for Wayland on Linux/Flatpak #209

@Reinachan

Description

@Reinachan

Describe your suggested feature

Currently the app seems to be running only on X11/XWayland, however, Linux is currently moving away from X11 and towards Wayland with several distributions dropping support for X11 going forward. Sure, the app will still work on Wayland through XWayland backwards compatibility, but apps feel better integrated with the system when using Wayland, generally have fewer bugs, and are more secure. As long as you also don't depend on other apps using XWayland, you also free up system resources as you don't have to run XWayland as well. I personally most of the time don't have any apps running XWayland, so this is useful to me. I believe supporting Wayland should simplify fixing #208, but I'm not a linux dev and don't know for sure.

Additional details

I attempted changing the flatpak permissions, but it seems the app refuses to launch if I don't give it X11 permissions, so that implies to me that Wayland is simply not supported atm.

Once you do support Wayland, I believe best practice is to change the flatpak socket permissions to include wayland and fallback-x11 but not X11 assuming you still support X11 as well as Wayland. This allows X11 users to still use the app in X11 mode while Wayland users get to use it in Wayland mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions