Re: xdg-su: using gnomesu in the generic option if available.

Simon Lees <[email protected]>
Newsgroups gmane.linux.xdg.devel
Message-ID <[email protected]>

On 08/27/2016 12:23 AM, Rex Dieter wrote:
> PCMan wrote:
> 
>> On Mon, Aug 8, 2016 at 1:11 PM, Simon Lees <[email protected]> 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
>>> objects.
>>>
>>> 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.
>> https://github.com/lxde/lxqt-sudo
>> However, I think pkexec is a reasonable fallback.
>> Cheers!
> 
> 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
to push.

Cheers

-- 

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

_______________________________________________
xdg mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xdg
signature.asc (application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXwNrqAAoJEBHULpq+GPyR7EYH/3EHlK+SaQQi900xxMdY6QRS
mm4mwQhJTNPzC+Yhwh/Y1qLAy8EvtObwFeh6ixU6xZyrg/wDjrrqVraFTKjWYCi7
UlTOWXCh8WPrmXbHfRjAajtrKT31IDiF/rn1lrBt8EZbZsQnEfWt11x83EjjSjdU
HLRFewZzyTixGfgNvcCgvQALZ26e0ADfai1NV00H03sFuY9N0DewEgo8SiFz8p0k
gVOaXGs8JJzjguSKL0JzFC1lRh2TU4wXHyA2Stf90yXBAOqFGwemoSc+iL62grR1
P8F8jGSVPoP5RrCWj//+uy+kPXwu9w4gY/UBhhZZeCiOcZxliVBk4U/G/5ilNDE=
=iyZU
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.