gksu removed from the repo's of Ubuntu 18.04

Chat about Linux in general
User avatar
MintBean
Level 9
Level 9
Posts: 2854
Joined: Fri Aug 07, 2015 6:54 am
Location: Blighty

Re: gksu removed from the repo's of Ubuntu 18.04

Post by MintBean » Tue Apr 24, 2018 5:14 pm

In Nemo you can browse to a folder, right click on the background in the file display area and select 'open as root.' Displaying a file from the window will then open the editor with elevated privileges.

User avatar
thx-1138
Level 5
Level 5
Posts: 741
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: gksu removed from the repo's of Ubuntu 18.04

Post by thx-1138 » Tue Jun 05, 2018 7:46 pm

...now that 19 Beta is actually available, i thought of further asking & bumping up this thread...

Per this discussion here -> viewtopic.php?f=46&t=270632
xed admin:/// returns 'WARNING **: 17:13:04.337: The specified location is not mounted'
So i wanted to ask, is this just a harmless warning coming from the gvfs backend?
Or would pkexec xed be a 'safer' choice instead?

User avatar
Pjotr
Level 20
Level 20
Posts: 10214
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: gksu removed from the repo's of Ubuntu 18.04

Post by Pjotr » Wed Jun 06, 2018 4:38 am

thx-1138 wrote:
Tue Jun 05, 2018 7:46 pm
...now that 19 Beta is actually available, i thought of further asking & bumping up this thread...

Per this discussion here -> viewtopic.php?f=46&t=270632
xed admin:/// returns 'WARNING **: 17:13:04.337: The specified location is not mounted'
So i wanted to ask, is this just a harmless warning coming from the gvfs backend?
Or would pkexec xed be a 'safer' choice instead?
You have to provide the full path with admin://. So, for editing /etc/default/grub:

Code: Select all

xed admin:///etc/default/grub
Note that you'll be asked for your password twice, the first time that you use it during a session.
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
thx-1138
Level 5
Level 5
Posts: 741
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: gksu removed from the repo's of Ubuntu 18.04

Post by thx-1138 » Wed Jun 06, 2018 11:19 am

Pjotr, using the full path was what returned the warning (xed admin:///etc/initramfs-tools/conf.d/resume)...
So I assume that gvfs maybe is slightly happier by first 'mounting' the admin:// path (ie. opening such in whatever file browser),
and only afterwards opening the file for editing...

User avatar
trytip
Level 6
Level 6
Posts: 1445
Joined: Tue Jul 05, 2016 1:20 pm

Re: gksu removed from the repo's of Ubuntu 18.04

Post by trytip » Wed Jun 06, 2018 12:56 pm

anyone know if possible to save password when using pkexec so you only have to enter once for session? this is the main reason i use gksu i edit a lot of icons,configs, and misc files in root with multiple programs, having to enter password for every root action will get ridiculous and if possible not use extra services or daemons just for password saving.
using gedit admin:/// you can't any preferences
Image

Post Reply

Return to “Chat about Linux”