thor27 / steam-login

Put STEAM BigPicture mode at login screen
121 stars 30 forks source link

Why is steam starting in the background? #46

Open Vosjedev opened 1 year ago

Vosjedev commented 1 year ago

The issue this came from: after .5 seconds, the program says steam had an error starting, because it cant find /proc/$STEAM_PID. And then it exits... even though steam is still starting... but all checks to see if steam is running fail, because the window it not there YET.

why are you starting steam in the background, and then checking if steam is still running? It would be way simpler to just not start it in the background.

That's all I changed here. The Steam command is not appended by & anymore, and all checks if steam is still running are commented out.

Another way would be to check if steam is running using pgrep. you could also save the process id and use wait to wait for it.

Vosjedev commented 1 year ago

anyone still active here?