Is there a way to start Mailspring 1.17.4 in the background under Linux Wayland?

Usually, I have Mailspring set to launch on startup in the background using mailspring --background. But in v1.17.4, I get this message and cannot get it to start in the background:

The --background flag has no effect under Wayland, where an activation context is required and windows must be shown immediately.

I’m on GNOME 49.

Is there a way to workaround this issue? Thanks.

Hey! Mailspring 1.18.0 was just released and should address this issue. The --background flag now works on Wayland — it briefly shows the main window and then hides it, which is the best we can do given Wayland’s requirement that windows have an activation context and be shown immediately (#2623).

You can update via snap refresh mailspring, the built-in auto-updater, or download from https://www.getmailspring.com/download.

1 Like