Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Run as sudo in UI?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kkinkouu
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2015
Posts: 89
Location: United Kingdom

PostPosted: Thu Oct 12, 2017 7:06 pm    Post subject: Run as sudo in UI? Reply with quote

Hey Guys,

Is there a nice feature in xfce, that will allow you to run as "sudo su" via the UI?

Sort of right click "Run as Administrator"

Cheers
Back to top
View user's profile Send private message
Myu
Apprentice
Apprentice


Joined: 22 Oct 2014
Posts: 162
Location: Belgium

PostPosted: Thu Oct 12, 2017 8:13 pm    Post subject: Reply with quote

Perhaps gksu ?

Not using it myself right now so cannot be certain.

edit : formatting
_________________
Gentoo stable (with bits of ~amd64) / Games ! (Linux & vfio-pci ) // Xfce

Feel free to PM me if you would like a simple ebuild and I'll see what I can do :]


Last edited by Myu on Thu Oct 12, 2017 9:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5591

PostPosted: Thu Oct 12, 2017 8:47 pm    Post subject: Reply with quote

x11-misc/ktsuss is an option also
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21328
Location: here

PostPosted: Fri Oct 13, 2017 6:50 am    Post subject: Reply with quote

There is also pkexec from sys-auth/polkit package.
But all of those are command line tools.
Then you should create a .desktop file that run an application with one of those command like:
Code:
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=myprogram (as root)
Comment=configuration loader
Exec=pkexec myprogram_binary
Icon=/usr/share/icons/hicolor/48x48/apps/myprogram.png
Terminal=false
Categories=Development;IDE

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum