xdg-su: using gnomesu in the generic option if available.
sflees at suse.de
Sat Aug 27 00:12:26 UTC 2016
On 08/27/2016 12:23 AM, Rex Dieter wrote:
> PCMan wrote:
>> On Mon, Aug 8, 2016 at 1:11 PM, Simon Lees <sflees at suse.de> wrote:
>>> Hi All,
>>> I was answering an openSUSE bugtracker question re xdg-su and lxqt and
>>> the most sensible solution we came to was modifying xdg-su's behavior
>>> when running under a generic DE to use gnomesu or kde-su if they are
>>> present so I thought i'd put the idea up for discussion in case anyone
>>> For reference currently lxqt doesn't have its own replacement for
>>> gnomesu/kde-su (well not one I know of) distro's are also highly
>>> unlikely to recommend either of those packages with lxqt as they will
>>> bring in uneeded kde or gtk packages but by modifying the generic
>>> fallback to atleast check for there existence first a user can then
>>> choose to use one of them if they please.
>> FYI, LXQt now provides its own tool, lxqt-sudo.
>> However, I think pkexec is a reasonable fallback.
> There are "reasons(tm)"(1) why xdg-utils doesn't install xdg-su by default,
> though I wouldn't object to adopting patches to improve it either.
> My strong recommendation: just use pkexec (or engineer things to use
> policykit natively).
> -- Rex
Coming from a distro where it does, I wrote a patch this week to enable
lxqt support and improve enlightenment support in a couple of places
there are a couple of things I have not implemented yet and that don't
have a generic fallback (xdg-file-dialog, xdg-copy) are these actually
used anywhere? Having mostly used enlightenment + openSUSE for the last
few years which doesn't have a implementation i've never hit an issue
from not having them but maybe other distro's use them more? Once that
issue is sorted (or decided that it can wait) i'll have the patch ready
Simon Lees (Simotek) http://simotek.net
Emergency Update Team keybase.io/simotek
SUSE Linux Adeliade Australia, UTC+9:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: OpenPGP digital signature
More information about the xdg