gksudo 16.10

Tom H tomh0665 at gmail.com
Sat Nov 5 10:52:02 UTC 2016

On Sat, Nov 5, 2016 at 12:12 AM, Colin Law <clanlaw at gmail.com> wrote:
> On 4 November 2016 at 18:40, Tom H <tomh0665 at gmail.com> wrote:
>> On Fri, Nov 4, 2016 at 12:30 PM, Ralf Mardorf <silver.bullet at zoho.com>
>> wrote:
>> > You can't install gksudo, but need to run an editor with root
>> > privileges? However, what should be the advantage of gksudo over sudo?
>> >
>> > apt update && apt install gksu
>> Exactly. There's no gksudo package. It's gksu that provides gksu and
>> gksudo.
>> But gksu was deprecated a long time ago, but it was moved from "main"
>> to "universe" with 14.04 (LTS-wise; maybe it was moved earlier when
>> all releases are taken into account) probably because some DEs still
>> use it.
> Deprecated it may be, but I don't know how else easily to run
> something like gedit with sudo permissions.

If you preserve the right envvars, like DISPLAY and XAUTHORITY, it's
very simple.

More information about the ubuntu-users mailing list