Start with Wayland by default on Hirsute

Asked by Andrea Somaini

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

Language:
English Edit question
Status:
Solved
For:
Ubuntu thunderbird Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
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.

Revision history for this message
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 ( https://bazaar.launchpad.net/~mozillateam/firefox/firefox.hirsute/revision/1478 ) solves the problem, since it sets the env variable only in wayland session

Should I maybe file a bug regarding this?

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

You have to look at the whole history

https://launchpad.net/ubuntu/+source/thunderbird/+changelog

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 thunderbird.sh script.

Revision history for this message
Andrea Somaini (thegoldgoat) said :
#4

I see, thanks a lot :)

Revision history for this message
Andrea Somaini (thegoldgoat) said :
#5

Thanks Manfred Hampl, that solved my question.