View previous topic :: View next topic |
Author |
Message |
kkinkouu Tux's lil' helper
Joined: 17 Aug 2015 Posts: 95 Location: United Kingdom
|
Posted: Thu Oct 12, 2017 7:06 pm Post subject: Run as sudo in UI? |
|
|
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 |
|
|
Myu Apprentice
Joined: 22 Oct 2014 Posts: 164 Location: Belgium
|
Posted: Thu Oct 12, 2017 8:13 pm Post subject: |
|
|
Perhaps gksu ?
Not using it myself right now so cannot be certain.
edit : formatting _________________ Gentoo stable with bits of ~amd64 // Xfce 4.13 + Compiz Reloaded.
Last edited by Myu on Thu Oct 12, 2017 9:01 pm; edited 1 time in total |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Thu Oct 12, 2017 8:47 pm Post subject: |
|
|
x11-misc/ktsuss is an option also |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30822 Location: here
|
Posted: Fri Oct 13, 2017 6:50 am Post subject: |
|
|
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 |
|
|
|