Is that possible ?

Thanks

You are viewing a single thread.
View all comments
8 points
*

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 like org.somenama.packagekit_update

This GUI prompt might also already be the one you described

https://github.com/boredsquirrel/Linux/tree/main/polkit

permalink
report
reply
2 points

Sorry I thought that Discover was only used on KDE neon, which thefore is the distro, and the CLI equivalent is indeed the one you mentioned.

So what’s the solution for this distro ?

Thanks

permalink
report
parent
reply
1 point
*

I used Neon for a while. Again, can you please give the needed information. If the password dialog shows, at the left click on “expand”/“show more” and you see the exact action that is executed.

Then have a look at the rules in my linked repo, and replace the action in “libvirt” with that, and the group with “wheel”

(Use groups and send me the output, no idea if the sudo users are in the sudo group on Ubuntu)

Then send that rule, embed it in

``` Rule ```

To format correctly. I look at it and if it is correct, we go on.

permalink
report
parent
reply
2 points

org.freedesktop.packagekit.system-update

Thanks

permalink
report
parent
reply

@boredsquirrel
You need to create a polkit rule that allows authentication without password. I will see if I can send an example your way sometime this comming week.
@KaKi87

permalink
report
parent
reply

KDE

!kde@lemmy.kde.social

Create post

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn’t, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

Community stats

  • 1.2K

    Monthly active users

  • 935

    Posts

  • 6.9K

    Comments