[Flatpak] Enable native Wayland
Categories
(Core :: Widget: Gtk, task)
Tracking
()
People
(Reporter: theevilskeleton, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Actual results:
When using Wayland, Firefox will open in an Xwayland window instead of a pure/native Wayland window. Other programs opened in an Xwayland window will still be able to see Firefox, thus still making it a security/privacy issue to Wayland users.
Expected results:
It should be opened in a native Wayland window.
I made a post about enabling native Wayland in Firefox Flatpak: https://www.reddit.com/r/LinuxCafe/duplicates/isdmmp/tip_use_firefox_flatpak_in_native_wayland_no/
Here's a merge request in the LibreWolf repository (fork of Firefox) about natively enabling Wayland: https://gitlab.com/librewolf-community/browser/linux/-/merge_requests/11/diffs
Basically, the only lines you have to add are:
"--socket=wayland",
"--env=MOZ_ENABLE_WAYLAND=1",
(remove the comma in the second line if it's the last line.)
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 2•4 years ago
|
||
I could create a merge request. I don't really mind
Updated•4 years ago
|
Is there any progress on this? Seems like such an obvious change to make...
Reporter | ||
Comment 4•3 years ago
|
||
Reporter | ||
Comment 5•3 years ago
|
||
(In reply to ajtbecool from comment #3)
Is there any progress on this? Seems like such an obvious change to make...
Firefox is a FOSS project, so it relies on the community. If the change is obvious to you, then we would've appreciated it if you would submit a patch.
Comment 6•3 years ago
|
||
It seems like a bad idea to make this change in the firefox flatpak before it's done in the default build (hence the dependency on bug 1543600).
Reporter | ||
Comment 7•3 years ago
|
||
Updated•3 years ago
|
Reporter | ||
Comment 8•3 years ago
|
||
(In reply to Julien Cristau [:jcristau] from comment #6)
It seems like a bad idea to make this change in the firefox flatpak before it's done in the default build (hence the dependency on bug 1543600).
Sure. I'll just keep it opened until a member decides to merge it.
Reporter | ||
Comment 9•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 10•2 years ago
|
||
Probably, fallback-x11
instead of x11
for the socket
option should be used then to not give unnecessary access to x11 on wayland capable systems?
For infos on option see:
https://docs.flatpak.org/en/latest/sandbox-permissions.html#standard-permissions
and
https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-override
under option socket for override command
Updated•4 months ago
|
Description
•