Ask Your Question

Run from gnome menu as root

asked 2016-04-20 18:46:22 -0500

andydev gravatar image

Hi all, I want to be able to run my app from the gnome menu as root, however, I am unable to do so. The following works inside the terminal

sudo ./app

Ideally, I would like to avoid using pkexec because configuring the pkexec file for each program I add to the gnome menu just feels like too much of a task. I usually use alacarte to add items to the menu so using this program would be ideal.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-04-20 19:42:59 -0500

florian gravatar image

updated 2016-04-20 19:44:30 -0500

How about beesu? That would do it...

In your case: beesu - ./app



edit flag offensive delete link more

answered 2016-04-22 04:01:09 -0500

genodeftest gravatar image

Don't run GUI applications as root. It brings a risk to break your own user account and is pretty unsafe due to the broken/non-existing Xorg security architecture.

edit flag offensive delete link more

Question Tools


Asked: 2016-04-20 18:46:22 -0500

Seen: 787 times

Last updated: Apr 22 '16