Is that possible ?
Thanks
Without telling your distro this question is not helpful.
Discover uses packagekit, an abstraction layer that can do things like install, update, remove on many different distros.
So this might be distro-independent, but maybe not.
Try to enter in the terminal
pkcon upgrade
and if a GUI password prompt pops up, click on “expand” and see the action that is used likeorg.somenama.packagekit_update
This GUI prompt might also already be the one you described
Unfortunately it’s not working 😅
Thanks
Yes create the directory. This is a standard directory but KDE Neon may not use it. Also you need to place that policy there and reload the polkit daemon (no idea how to do that, just reboot lol).
And as I said, if the admin password window shows, use the “show details” button at the left to get the ID of the polkit action.
KDE is a very empowering Desktop!
Unfortunately it’s not working 😅
Thanks
Rule looks fine. Please contact KDE devs on discuss.kde.org
This will be Neon specific, on Fedora this is the directory used for polkit rules.
For flathub packages, you could switch to user installs instead of system. Settings, then click the up arrow next to flathub (user) (if it’s configured, otherwise you’d have to add it)
It will prevent multiple users from being able to use the same installation of packages, but if you’re the only user if the machine it doesn’t really matter
Flatpacks usually don’t require password
Yes, and many distros have a polkit rule set up to allow installing or updating without a password. You can likely just copy it from Fedora or sth
Yes but the only way I know is to make your whole system use no password Do sudo visudo and change the line %wheel ALL=(ALL:ALL) ALL To %wheel ALL=(ALL:ALL) NOPASSWD: ALL and make sure you are in the wheel group you can check by doing groups | rg wheel If not add yourself via sudo passwd --add $USER wheel Then edit the file ~/.config/kdesurc to be [super-user-command] super-user-command=sudo
This is a massive security risk but hey windows let’s you do admin stuff without a password as well
Many Distros use polkit instead of sudo actions. Though many sudo actions dont have polkit rules.
deleted by creator