Start with Wayland by default on Hirsute

Asked by Andrea Somaini on 2021-04-29

Since the update to Hirsute, Firefox starts with Wayland by default (It did not on Groovy)

However, for Thunderbird, I still need to provide `MOZ_ENABLE_WAYLAND=1` as env variable for it to start with Wayland

Is there a reason for this choice or it just a missing feature?

Question information

English Edit question
Ubuntu thunderbird Edit question
No assignee Edit question
Solved by:
Manfred Hampl
Last query:
Last reply:
Manfred Hampl (m-hampl) said : #1

What you are asking for is already dealt with in Bug #1916469 but during an attempt to implement this some additional problems arose.

An updated version is available in hirsute-proposed, you can test it.

Andrea Somaini (thegoldgoat) said : #2

The updated version in hirsute-proposed does not involve wayland as far as I can understand

Patching Thunderbird launch script like this ( ) solves the problem, since it sets the env variable only in wayland session

Should I maybe file a bug regarding this?

Best Manfred Hampl (m-hampl) said : #3

You have to look at the whole history

Wayland support was added in 1:78.9.0+build2-0ubuntu2 but this version failed to build.
Version 1:78.9.0+build2-0ubuntu3 additionally has a change that allows building.

You are right, revision 1478 in bazaar is not yet included in that version.
1:78.9.0+build2-0ubuntu3 (in hirsute-proposed) should work on wayland (and perhaps has problems on Xorg because missing revision 1478).

I am quite sure that this is work in progress and hope that a new version will be provided soon.

As a temporary workaround you can apply a fix similar to revision 1478 on your script.

Andrea Somaini (thegoldgoat) said : #4

I see, thanks a lot :)

Andrea Somaini (thegoldgoat) said : #5

Thanks Manfred Hampl, that solved my question.