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

2016-08-26 Thread Simon Lees


On 08/27/2016 12:23 AM, Rex Dieter wrote:
> PCMan wrote:
> 
>> On Mon, Aug 8, 2016 at 1:11 PM, Simon Lees  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 LinuxAdeliade Australia, UTC+9:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B



signature.asc
Description: OpenPGP digital signature
___
xdg mailing list
xdg@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/xdg


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

2016-08-26 Thread Rex Dieter
PCMan wrote:

> On Mon, Aug 8, 2016 at 1:11 PM, Simon Lees  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

___
xdg mailing list
xdg@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/xdg


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

2016-08-07 Thread PCMan
On Mon, Aug 8, 2016 at 1:11 PM, Simon Lees  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!

> Cheers
>
> --
>
> Simon Lees (Simotek)http://simotek.net
>
> Emergency Update Team   keybase.io/simotek
> SUSE LinuxAdeliade Australia, UTC+9:30
> GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
>
>
> ___
> xdg mailing list
> xdg@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/xdg
>
___
xdg mailing list
xdg@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/xdg


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

2016-08-07 Thread Simon Lees
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.

Cheers

-- 

Simon Lees (Simotek)http://simotek.net

Emergency Update Team   keybase.io/simotek
SUSE LinuxAdeliade Australia, UTC+9:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B



signature.asc
Description: OpenPGP digital signature
___
xdg mailing list
xdg@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/xdg