SteamOS icon indicating copy to clipboard operation
SteamOS copied to clipboard

[Suggestion] Add 2 o 3 more seconds to auto-login to steam

Open tecnogaming opened this issue 12 years ago • 5 comments

Autologin to Steam is pretty fast on an SSD system and so, it came out short of autologin when using a WIFi connection.

It displays "cannot connect" just 1 second BEFORE the "Network Connected" sign displays.

So, this should be easy fixing, just add 2 seconds to the autologin so it gives time to WiFi to properly get the connection or wait for devices to be ready.

tecnogaming avatar Dec 20 '13 20:12 tecnogaming

This might work on your system but might not on another. Better fix long term is to make the steam client aware of the network status state. OS X for example has APIs for exactly this.

dustinrue avatar Dec 20 '13 23:12 dustinrue

I agree, becasue as it is now, it seems to not check the state, just want to connect.

tecnogaming avatar Dec 21 '13 00:12 tecnogaming

NetworkManager has a dbus API that could be used to listen for network changes.

vadi2 avatar Dec 21 '13 01:12 vadi2

If you want to add a delay BEFORE the account is logged in you could try adding a delay to lightdm. In /etc/lightdm/lightdm.conf add the line:

autologin-user-timeout=5

replacing 5 with however many seconds you want.

If you want to add a delay AFTER the login prompt, edit the file /usr/bin/steamos-session and add the following before the steam launch command:

sleep 5

So the last few lines in that file should look like:

loadargb_cursor /usr/share/icons/steam/arrow.png
sleep 5
steam -tenfoot -steamos -enableremotecontrol

hitsuji avatar Dec 21 '13 02:12 hitsuji

We're working on a change to wait for network (or a small timeout) before printing that error, which should address this problem.

Plagman avatar Dec 21 '13 03:12 Plagman