Score:1

Open GUI as admin

ru flag

I'm new to linux and I'll try not to make this ranty but is there an easy way to open a GUI app as sudo?

Is it asking for much for the context menu to have "Run as sudo" or at the least "Open in finder" so I can see where it's installed?

I figure I can run sudo, gksu, gksudo or all of the above if I can hunt down the location.

Is there some tool to make this simple task easier? The program below seems to be getting some permission denied problem when run regularly.

enter image description here

Hannu avatar
ca flag
You get the permission denied for files and locations that are important to the OS 'inner workings' - these folders and files are not to be accessed as normal user. I'd say there has been quite a lot of thought gone into setting up things w.r.t. root access, for your own good and peace of mind - learn to accept those settings; i.e. do not `sudo` (run as root) just out of habit, put some thought into it.
in flag
You can find the location of the binary/script that is run using `whereis`, `which`, `location` (after doing `sudo updatedb &` to update the locate database in the background), and a few other ways. It might help you say what app, and what actions you're trying to use.
waltinator avatar
it flag
"Running a GUI as `root`" is discouraged. It can screw up permissions, stir your system with a `root` stick, and has failed before.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.