Skip to content
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

Enable --socket=wayland #188

Closed
kaimast opened this issue May 20, 2021 · 5 comments
Closed

Enable --socket=wayland #188

kaimast opened this issue May 20, 2021 · 5 comments

Comments

@kaimast
Copy link

kaimast commented May 20, 2021

Since Signal 5.1 there is experimental support for Wayland (see signalapp/Signal-Desktop#3411).

Can we change the permissions of the flatpak to allow connecting to the Wayland server?

@hfiguiere
Copy link

You can try it yourself, but if this is experimental it's probably not a wise idea to enable it for all.

@kaimast
Copy link
Author

kaimast commented May 20, 2021

You still need to enable ozone in the command line. This would just make it a little easier to do so.

@bermeitinger-b
Copy link
Collaborator

Does this have any influence into non-wayland sessions?

@Arxcis
Copy link

Arxcis commented May 21, 2021

You can try it yourself, but if this is experimental it's probably not a wise idea to enable it for all.

I agree. I think having both --socket=wayland and --socket=x11 enabled at the same time would be confusing, because it is not obvious to a regular user, which one of the sockets Signal is actually using by default, or if it uses both.

As long as wayland is not default, I think we should expect those who want to experiment, to run the override commands manually:

flatpak override --user --socket=wayland org.signal.Signal
flatpak override --user --nosocket=x11   org.signal.Signal

...or use the toggle buttons in Flatseal:
image

...which would store the overrides in ~/.local/share/flatpak/overrides/org.signal.Signal:

$ cat ~/.local/share/flatpak/overrides/org.signal.Signal 
[Context]
sockets=!x11;wayland;

Once wayland is the default, the best practice would be to set --socket=wayland and --socket=fallback-x11 in https://github.com/flathub/org.signal.Signal/blob/master/org.signal.Signal.json.

@der-eismann
Copy link
Contributor

Is there any progress on this? Just enabling the socket shouldn't have any effect because you still need to set additional flags to run signal on Wayland.

bermeitinger-b added a commit that referenced this issue Jan 10, 2022
Enable access to wayland for #188
bermeitinger-b added a commit that referenced this issue Jan 10, 2022
Enable access to wayland for #188 (and maybe #238)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants