Hi,

On 2/1/25 11:07 PM, Matthias Geiger wrote:
Dear maintainer,
I use sway which is launched from a greetd session. Since 1.10 I get a
quick screen of sway flashing the default background when
a) greetd starts (gtkgreet in my case)
b) logging in at the gtkgreet prompt just before my session starts

This is a bit annoying, and wasn't the case with the previous version.
oke, so I installed gtkgreet and greetd and tried to reproduce it. I *think* I saw the background image for a microsecond, but it was so fast I'm not sure. But I have a theory: If you're using gtkgreet config as documented on https://man.sr.ht/~kennylevinsen/greetd/#setting-up-greetd-with-gtkgreet you have

> include /etc/sway/config.d/*

at the end of the file. Since 1.10.1-1 the Debian sway package does not hardcode the setting of the background file in the config anymore, but the sway-backgrounds package instead puts a file in /etc/sway/config.d/ which sets the background. That would mean it's also picked up by the sway process that is started by greetd.

So if you *don't* include the files in `/etc/sway/config.d/` in your `/etc/greetd/sway-config`, the file that is shipped with sway-backgrounds won't be picked up by the greetd sway process and you should not see the background file.

cheers,
Birger

Reply via email to