Gksu in 14.04?
Tom H
tomh0665 at gmail.com
Fri Aug 8 10:20:52 UTC 2014
On Thu, Aug 7, 2014 at 12:23 PM, Oliver Grawert <ogra at ubuntu.com> wrote:
> Am Mittwoch, den 06.08.2014, 17:26 -0400 schrieb Tom H:
>>> YES! Sorry to shout but I use gksu frequently for both nautilus and
gedit!
>>> I'm sure I'm not alone :)
>>
>> I can see from this thread and some of the links that there people
>> doing this - and I'm amazed.
>>
>> The question is: do Canonical and Ubuntu know?
>
> how would it help that canonical knows ? it wont change the decision of
> the gnome/fedora/redhat upstream developers to drop gksudo support and
> integrate everything with pkcon/pkexec ...
What I meant by "Canonical/Ubuntu know" is: do they know that there might
be packages in main that depend on gksu, now in universe and that there are
users who want to use gedit or nautilus as root (not something that I do or
that I'd recommend).
It turns out from the search that I've just run - and posted in an earlier
email - that the gksu dependencies are in universe/multiverse.
For users who want to use gedit as root:
# cat /usr/share/polkit-1/actions/com.ubuntu.gedit.policy
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<action id="com.ubuntu.gedit">
<description gettext-domain="gedit">Run gedit</description>
<message gettext-domain="gedit">Authentication is required to run gedit
as root</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate
key="org.freedesktop.policykit.exec.path">/usr/bin/gedit</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>
I'd stupidly tried to have this file in a subdirectory of "/etc/polkit-1/"
earlier...
> this is like the nautilus UI changes ... you can only do so much
> downstream after the code/support was removed upstream unless you have
> endless resources ...
I understand the resource problem. But making pkexec work, in the few cases
that aren't working and that people seem to want to use, isn't that
resource intensive.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140808/3b8c300d/attachment.html>
More information about the ubuntu-users
mailing list