this post was submitted on 17 May 2025
1 points (100.0% liked)

Arch Linux

8869 readers
1 users here now

The beloved lightweight distro

founded 5 years ago
MODERATORS
 

I try to download a file with curl directly after logging into Gnome. This usually fails because mostly the WiFi connection is only established after login. If I wait long enough in the login screen before logging in, the connection is already established and the download works.

So far I have used Manjaro. WiFi was already active long before the login screen of GDM was even displayed. The download therefore always worked.

The download is initiated with a *.desktop file in ~/.config/autostart.

Is there another way to start the download after the user is logged in and the WiFi connection is really ready?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 month ago

Ahh ok. Since in this case the script should only run at start and then exit, I use oneshot. Many thx.