Re: reading notifications?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 29 January 2018 09.01:51 Dr. Nikolaus Klepp wrote:

> well, you could poll for tun0, till it appears:
>
> 	tdesu <openconnect_script> &
> 	while sleep 1; do xmessage "waiting for tun0" -timeout 1 & ip addr show
> dev tun0 1>/dev/null 2>&1 && break; done
>
>
> Nik


Thank you Nik. xmessage steals focus from tdesu and I can't input the 
password, so I removed that.

Now I run:

tdesu <openconnect_script> &
while sleep 1; do  ip addr show dev tun0 1>/dev/null 2>&1 && break; done

and I put a zenity call in <openconnect_script>

That works quite well.

Regards,

Thierry

---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-users-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting




[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux