Desktop Entry Specification - ExecuteAs proposition

Matthias Clasen mclasen at redhat.com
Sun Mar 7 12:09:15 PST 2010


On Mon, 2010-03-08 at 01:25 +0800, PCMan wrote:

> Agree. This need to be supported by the spec, but in the spec we can
> clearly recommend more sophisticated approaches like policykit and
> discourage the use of this key if better alternative exists.
> In this way, we don't promote the improper use of privilege elevation.
> Nor do we prevent developers who really need this from using it. The
> point is not sudo is good or not, but those who really need this
> feature should be able to use it given they don't find better
> alternatives for their cases.

I don't think anything needs to be added to the spec. The spec gives you
a full exec line, you can use it to exec gksudo or use a console-helper
approach or polkit or any other mechanism you like. No need to add dead
weight to the spec for this.

Matthias



More information about the xdg mailing list