System tray app 'volumeicon' gets killed immediately after login on Qtile

I have an autostart.sh script that starts picom, Network Manager applet, etc. when I log in to Qtile. Everything starts fine except volumeicon. When I log in after boot, the icon shows up for a fraction of a second with a red line through it, before it disappears. Using ps, I can see that it’s gone.

If I log out of Qtile and then log back in, it starts as it should and keeps running.

My guess is that it tries to start before the sound device or service is up and running.

try adding a sleep to it to slow it down

1 Like

I have tried that without success. Thanks for the suggestion though.

how long did you invoke sleep?
if you did something like
sleep 5 maybe try sleep 10