View Single Post
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#2960
Originally Posted by Brian_7 View Post
This is the desktop file:

And this is wrapper.sh:



What do i need to change in wrapper.sh to run it with root permissions?
Just add
Code:
sudo
rigth after Exec=

e..g
Code:
Exec=sudo "/opt/preenv ..."
youll need sudser for this
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post: