<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;"><div><div><div style="font-family: arial, sans-serif;font-size: 13px">Hello,<br><br>Nice to see the hack could help someone.<br><br>BTW I "improved" the ugly hack this way:<br><br><signature></signature> (<br> path=/proc/driver/nvidia<br> if ! test -e $path; then<br> IFS=':' read -a radio <<< $(LANG=C nmcli -t radio)<br> nmcli radio wifi off<br> while ! test -e $path; do<br> continue<br> done<br> test ${radio[1]} = 'enabled' && nmcli radio wifi on<br> fi<br>)&<br><br>And it resides now on /usr/local/bin/primusrun (<a rel="external nofollow noopener noreferrer" target="_blank" tabindex="-1" href="https://seb.lautre.net/git/seb/scripts/blob/master/primusrun">https://seb.lautre.net/git/seb/scripts/blob/master/primusrun</a>)<br><br>Best regards,<br><br>Seb</div></div></div></div></body></html>