Firefox: Difference between revisions
imported>Fadenb m →Screen Sharing: attempt at rewording to reflect different capabilities depending on the exact setup |
imported>Efx m I have verified firefox wayland + pipewire + gnome 3 + stable works without the patch. |
||
| Line 76: | Line 76: | ||
environment.sessionVariables = { | environment.sessionVariables = { | ||
MOZ_ENABLE_WAYLAND = "1"; | MOZ_ENABLE_WAYLAND = "1"; | ||
XDG_CURRENT_DESKTOP = "sway"; | XDG_CURRENT_DESKTOP = "sway"; | ||
XDG_SESSION_TYPE = "wayland"; | XDG_SESSION_TYPE = "wayland"; | ||
}; | }; | ||
| Line 83: | Line 83: | ||
home.sessionVariables = { | home.sessionVariables = { | ||
MOZ_ENABLE_WAYLAND = 1; | MOZ_ENABLE_WAYLAND = 1; | ||
XDG_CURRENT_DESKTOP = "sway"; | XDG_CURRENT_DESKTOP = "sway"; | ||
XDG_SESSION_TYPE = "wayland"; | XDG_SESSION_TYPE = "wayland"; | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* If you are not using Sway you can remove the 'XDG_CURRENT_DESKTOP = "sway";' line | |||
* Ensure that the environment variables are correctly set for the user systemd units. E.g.:<syntaxhighlight lang="shell"> | * Ensure that the environment variables are correctly set for the user systemd units. E.g.:<syntaxhighlight lang="shell"> | ||
# Sway users might achieve this by adding the following to their Sway config file | # Sway users might achieve this by adding the following to their Sway config file | ||
| Line 92: | Line 93: | ||
exec systemctl --user import-environment | exec systemctl --user import-environment | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Firefox ESR=== | ===Firefox ESR=== | ||