That's exactly the idea. :-) Tim. */
On 19 March 2018 at 11:37, Hamish MB <[email protected]> wrote: > Thanks Tim. > > Right, so I should be able to make a script to run processes as root, > and then make a polkit action for that script, so the dialogs are nicely > presented, rather than displaying script names and things like that. Is > that a hack/bad idea or does it sound okay? I'm sure there must be a > nicer way of doing this... > > Hamish > > > On 16/03/18 14:24, Tim Waugh wrote: >> On 16 March 2018 at 14:05, Hamish MB <[email protected]> wrote: >>> I see, I think. In that case it sounds like the wrong tool for what I'm >>> trying to do, though I'm sure that for example synaptic uses it. I'm >>> thinking specifically of using pkexec, does that work this way too? >> Yes, pkexec just uses the org.freedesktop.policykit.exec action. See >> pkaction(1) for a list of other actions installed. >> >> Tim. >> */ > > -- > Next meeting: Bournemouth, Tuesday, 2018-04-03 20:00 > Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ > New thread: mailto:[email protected] / CHECK IF YOU'RE REPLYING > Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR -- Next meeting: Bournemouth, Tuesday, 2018-04-03 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:[email protected] / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

