KDE

boredsquirrel , in Install updates from Discover without password ?

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

KaKi87 OP ,
@KaKi87@jlai.lu avatar

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

boredsquirrel , (edited )

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.

minecraftchest1 ,
@minecraftchest1@social.opendesktop.org avatar

@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

boredsquirrel , (edited )

I have examples in the repo I linked

polkit.addRule(function(action, subject) {
  if action.id == "org.freedesktop.packagekit.system-update" {
    if subject.isInGroup("wheel") {
      return polkit.Result.YES;
    }
  }
});

Please ask KDE Neon devs, if placing this rule as /etc/polkit-1/rules.d/packagekit-update.rules is safe

KaKi87 OP ,
@KaKi87@jlai.lu avatar

I don't have a rules.d directory at /etc/polkit-1/ though, I only have localauthority and localauthority.conf.d.

Should I create the directory then create the file ?

Thanks

boredsquirrel ,

Please ask KDE Neon devs.

Discuss.kde.org

Or file a bug on bugs.kde.org

minecraftchest1 ,
@minecraftchest1@social.opendesktop.org avatar
KaKi87 OP ,
@KaKi87@jlai.lu avatar

org.freedesktop.packagekit.system-update

Thanks

boredsquirrel ,

That was only one of the requested info. But I edited the rule.

MajinBlayze , in Install updates from Discover without password ?

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

KaKi87 OP ,
@KaKi87@jlai.lu avatar

Yes but APT packages are the ones requiring the password. Thanks

MajinBlayze ,

Yeah, I don't think there's any getting around that. Apt package modify the system, and by nature require elevated permissions.

Zamundaaa , in Install updates from Discover without 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

KaKi87 OP ,
@KaKi87@jlai.lu avatar

Could you please elaborate on that ? Thanks

Zamundaaa ,

Fedora just has

polkit.addRule(function(action, subject) {
    if ((action.id == "org.freedesktop.packagekit.package-install" ||
         action.id == "org.freedesktop.packagekit.package-remove") &&
        subject.active == true && subject.local == true &&
        subject.isInGroup("wheel")) {
            return polkit.Result.YES;
    }
});

in /usr/share/polkit-1/rules.d/org.freedesktop.packagekit.rules. If you put the same file in there, it should work.

Xeroxchasechase , in Install updates from Discover without password ?

Flatpacks usually don't require password

KaKi87 OP ,
@KaKi87@jlai.lu avatar

Yes but APT packages are the ones requiring the password. Thanks

Kekin , in Plasma 6.1 Beta Review, Its Perfect.
@Kekin@lemy.lol avatar

I tried it out for a while and I think a new feature? is that you can control de brightness of the monitor through Plasma. Cool for one monitor but I have 2 and one is brighter than the other at a given brightness %, so it got a bit annoying. I didn't look further into it but when 6.1 is released on Fedora I will probably need to.

Additionally the SDR colors when HDR is turned on looked better overall. Better than Windows was able to do even. Awesome stuff

SubArcticTundra , in Crystal Remix icon theme v2.2 and Crystal Dock v2.0 RPM released!
@SubArcticTundra@lemmy.ml avatar

Nice! I like how it isn't flat, unlike most things today

SolarPunker ,

It's frutiger aero, directly from 2000s.

SubArcticTundra ,
@SubArcticTundra@lemmy.ml avatar

Mmmmmmmmmmm!

dangvd OP ,

There are many good things from the 2000s :)

dangvd OP ,

Thank you! That's my thought too :)

CommunityLinkFixer Bot , in Your Data Is Yours with #LabPlot.

Hi there! Looks like you linked to a Lemmy community using a URL instead of its name, which doesn't work well for people on different instances. Try fixing it like this: !labplot

Alice , in Your Data Is Yours with #LabPlot.
@Alice@hilariouschaos.com avatar

🤔

fmstrat , (edited ) in Your Data Is Yours with #LabPlot.

What does this ad have to do with KDE?

Edit: question answered

Blisterexe ,
@Blisterexe@lemmy.zip avatar

Its a kde application

Bro666 OP Mod ,
@Bro666@lemmy.kde.social avatar

a) Not an ad

b) LabPlot is KDE's data visualization and analysis app.

fmstrat ,

Well that makes sense then

eager_eagle , (edited ) in "make capslock an additional Ctrl" option was removed in the latest update
@eager_eagle@lemmy.world avatar

try changing your ~/.config/kxkbrc:

[Layout]
# ... 
Options=caps:ctrl_modifier
# ...

that's the file KDE's keyboard settings change.

Also:

  • caps:ctrl_modifier means "Make Caps Lock act as an additional Ctrl modifier, but keep identifying as Caps Lock"
  • ctrl:nocaps means Ctrl position -> "Caps Lock as Ctrl"
  • ctrl:swapcaps means Ctrl position -> "Swap Ctrl and Caps Lock"
codewiz ,
@codewiz@mstdn.io avatar

I'm using 6.0.5 and I still see all three options in systemsettings.

I've always used ctrl:nocaps, what's the advantage of using caps:ctrl_modifier?

@eager_eagle @penquin

eager_eagle ,
@eager_eagle@lemmy.world avatar

iirc one program (a game, I think) didn't work properly when I had nocaps: the keyboard settings would allow the keybind, but it didn't work in-game

penquin OP ,
@penquin@lemm.ee avatar

The thing is that I don't need the option "Make Caps Lock act as an additional Ctrl modifier, but keep identifying as Caps Lock"

The one I need is gone for some reason. I need the "make caps additional Ctrl"

eager_eagle ,
@eager_eagle@lemmy.world avatar

But that does make caps work as ctrl. What's the behavior you want?

penquin OP , (edited )
@penquin@lemm.ee avatar

I want it to act as an additional Ctrl so I can fix the slow response of caps lock to prevent THis behavior

onion , in "make capslock an additional Ctrl" option was removed in the latest update
fuzzy_feeling , in "make capslock an additional Ctrl" option was removed in the latest update
Taffer , in "make capslock an additional Ctrl" option was removed in the latest update
@Taffer@programming.dev avatar

I use a thing called kbct for remapping CapsLock to Control: https://github.com/samvel1024/kbct

Wine apparently uses so low level input routines, this was the only way I could find that works properly. Need Control in the right spot to play Final Fantasy XIV. 😄

penquin OP ,
@penquin@lemm.ee avatar

I'll check this out. Thank you.

GravitySpoiled , in Dynamic Wallpaper?

It changes with light/dark mode. If you want changing wallpapers use something like https://github.com/saint-13/Linux_Dynamic_Wallpapers

sic_semper_tyrannis OP ,

How does dark & light mode change on its own? The Bazzite reference I made was I believe I remembered the background changing depending on the time of day or maybe it had a button to switch the modes in the panel with easy access (can't quite remember). On Kinoite I have the screen set to red light automatically at a certain time but the theme doesn't change to dark with it. Is this a possible feature with Plasma?

GravitySpoiled ,

There is in GNOME

Know idea about kde ... https://invent.kde.org/plasma/plasma-workspace/-/issues/59

mox , (edited ) in Debian KDE - login broken after trying to fix volume keys

I use KDE on Debian. I have not encountered this, nor can I think of a reason why showkey would break a user's desktop session.

If the GUI login screen is still visible when it hangs, I suppose sddm might be having trouble. To investigate, I would run journalctl -f in a text console, and maybe tail -F /var/log/Xorg.0.log* in another, while attempting a GUI login. When it hangs, I would switch back to the text consoles and see if the most recent log messages hint at what's hanging.

*(Or whichever log file corresponds to the new X session, assuming you're using Xorg instead of Wayland.)

Could the fingerprint reader be causing the problem on the main account?

Axisential OP ,

Thanks. I'll check out disabling the fingerprint reader and see if that makes a difference. Will do those investigations you've suggest too. But at this point it's looking like moving my user data and starting again on a new login.

mox , (edited )

Another thought: Is it possible that your original user account (which hangs) is trying to log in to an X session while the new one (which works) is using a Wayland session, or vice-versa? That might explain the difference in behavior if only one of the two session types is broken.

Good luck!

Axisential OP ,

Yes, I'd considered that too. Alas, not the case

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • All magazines