10-10-2014, 11:31 PM
(10-10-2014, 11:54 AM)misko_2083 link Wrote: One more idea. This kind of check can be used in all of the install scripts.![]()
And nice work on this line:
I like it. Now you can add that question back to the scripts: Do you want to start $APPNAME?Code:sudo -u '#1000' -H sh -c "google-chrome-stable http://www.netflix.com"
I am somewhat reluctant to do this with every installer as it relies on the fact that user #1000 is the person currently logged in and running the installer with sudo privs. The Netflix installer will be gone in the next version of LL so this is just a quick fix

Download your free copy of Linux Lite today.
Jerry Bezencon
Linux Lite Creator
"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
![[Image: lrUHro3.jpg]](https://i.imgur.com/lrUHro3.jpg)
Jerry Bezencon
Linux Lite Creator
"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
![[Image: 0op1GNe.png]](https://i.imgur.com/0op1GNe.png)
![[Image: LgJ2mtP.png]](https://i.imgur.com/LgJ2mtP.png)
![[Image: vLZcFUE.png]](https://imgur.com/vLZcFUE.png)
![[Image: lrUHro3.jpg]](https://i.imgur.com/lrUHro3.jpg)