On 1/25/22 10:27, Didier Kryn wrote:
Le 25/01/2022 à 09:49, Olaf Meeuwissen via Dng a écrit :
Hi Tito,

tito via Dng <dng@lists.dyne.org> writes:
[...]
BTW, I don't use synaptic myself.  Too much bloat.  The command-line
suits my needs just fine.


    I'd have loved using aptitude but could never understand how to do the simplest thing with it, although I watched several experts using it and was impressed. As a menu-driven package manager, I very often use Synaptic, leaving apt-get for quick simple things or when dist-upgrading.

    I don't use synaptic with pkexec to get the permission. I think I haven't pkexec installed. I have a button on my pannel programmed with sh -c "SUDO_ASKPASS=/usr/bin/ssh-askpass sudo -A synaptic".

    For this to work, I must have ssh-askpass installed, /etc/sudoers configured to allow me to invoque synaptic, plus the following line in /etc/sudoers:

Defaults env_keep = "EDITOR LOGNAME XAUTHORITY DISPLAY"

    Only XAUTHORITY and DISPLAY  are needed in this case, the other variables serve other purposes.

Why don't you use the trusty old dselect?

Cheers
  Mike
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to