Nguyễn Hào
New member
How do I open a program as root in Ubuntu?
Answer
If you want the app to always run as root
Answer
If you want the app to always run as root
- Pin the application to the launcher as normal.
- Locate the applications . desktop file which will be in either: …
- Open with gedit: gksudo gedit /usr/share/applications/APPNAME.desktop.
- Then change the line Exec=APP_COMMAND. to Exec=gksudo -k -u root APP_COMMAND.
- Save.