Firefox on Wayland

Everything about X, Gnome, KDE, ... and everything running on it

Firefox on Wayland

Postby otas.pe » 2020-06-06 11:48

Is there any way how to run Firefox on Wayland? I am using Debian Sid Gnome on Wayland but Firefox is running on X11. Thanks
Debian Sid 64bit Gnome
otas.pe
 
Posts: 49
Joined: 2010-04-03 16:51
Location: Czech

Re: Firefox on Wayland

Postby None1975 » 2020-06-07 10:59

OS: Debian 10.3 Buster / WM: xmonad
Debian Wiki | DontBreakDebian, My config files on github
User avatar
None1975
 
Posts: 1019
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Firefox on Wayland

Postby otas.pe » 2020-06-09 13:15

Thanks but does not work in Debain Sid. I thing some way exists but I can not find it.
Debian Sid 64bit Gnome
otas.pe
 
Posts: 49
Joined: 2010-04-03 16:51
Location: Czech

Re: Firefox on Wayland

Postby corpang » 2020-06-09 13:58

Copy the .desktop file from /usr/share/applications to ~/.local/share/applications. Edit the .desktop file under .local and add /usr/bin/env MOZ_ENABLE_WAYLAND=1 to the Exec line in the desktop file. Below is the what it looks like for Firefox-ESR. Note the --no-remote is only necessary for firefox-esr AFAIK. The Windows Protocol under about:support should then show wayland.

Exec=/usr/bin/env MOZ_ENABLE_WAYLAND=1 /usr/lib/firefox-esr/firefox-esr --no-remote %u
User avatar
corpang
 
Posts: 1
Joined: 2016-07-10 02:43

Re: Firefox on Wayland

Postby Head_on_a_Stick » 2020-06-09 14:15

You could also use an executable wrapper script at /usr/local/bin/firefox:
Code: Select all
#!/bin/sh
MOZ_ENABLE_WAYLAND=1 /usr/lib/firefox/firefox

^ That will work from the command line or launchers like dmenu.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12194
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Firefox on Wayland

Postby otas.pe » 2020-06-09 14:53

corpang wrote:Copy the .desktop file from /usr/share/applications to ~/.local/share/applications. Edit the .desktop file under .local and add /usr/bin/env MOZ_ENABLE_WAYLAND=1 to the Exec line in the desktop file. Below is the what it looks like for Firefox-ESR. Note the --no-remote is only necessary for firefox-esr AFAIK. The Windows Protocol under about:support should then show wayland.

Exec=/usr/bin/env MOZ_ENABLE_WAYLAND=1 /usr/lib/firefox-esr/firefox-esr --no-remote %u


Thanks, it works!
Debian Sid 64bit Gnome
otas.pe
 
Posts: 49
Joined: 2010-04-03 16:51
Location: Czech


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable