How to autostart a program after network connection on Ubuntu?
Fresh3 days ago
Mar 15, 20263448 viewsConfidence Score0%
0%
Problem
How can I autostart chromium in lubuntu after a network connection? I tried to add it ~/.config/autostart/ but chromium started before wifi connection so an error page is displayed. I've been searched through Google but still cant find any solution.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to autostart a program after network connection on Ubuntu?
Low Risk
I don't know an elegant way, but here's an approach that should work. Write a script that tests to see if you're online. If not, sleep for awhile and then loop back to test again. When you come online, start chrome and exit, etc.. Put that script in…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix