this post was submitted on 25 May 2024
24 points (85.3% liked)

KDE

5407 readers
277 users here now

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.

founded 1 year ago
MODERATORS
 

I made a simple script and timer for a friend to automatically switch between light and dark theme on Plasma. In case anybody needs this.

you are viewing a single comment's thread
view the rest of the comments
[–] azvasKvklenko@sh.itjust.works 2 points 6 months ago (1 children)

Yes, systemd has ability to run user services. For every logged in user there is one daemon socket that user can access to run services without ever rising privileges. They can run in background automatically as soon as you log in (at least one user session must be opened) or alternatively you can enable lingering for your account that assures it’s always up, so your user services can start on boot without you even logging in. It gets units from couple of directories - system packages can install user services in /usr/lib/systemd, custom global user services can go to /usr/local/lib/systemd for any individual user, theres also /etc/systemd and ~/.config/systemd for unit files of particular user.

[–] boredsquirrel@slrpnk.net 1 points 6 months ago (1 children)

Thanks, yes I am doing that for 2 projects.

They download the Thunderbird and Firefox arkenfox/equivalent user.js script and change them a bit.

The TB one is pretty clean and already uses it, the FF one is pretty messy and doesnt yet use it.

https://github.com/boredsquirrel/thunderbird-hardening-automation

You still need to activate the service units it seems, I will look into that.

[–] azvasKvklenko@sh.itjust.works 1 points 6 months ago* (last edited 6 months ago) (1 children)

I fail to understand why can’t you just add

systemctl --user enable --now thunderbird-hardening-overwrite.service

after doing daemon-reload.

[–] boredsquirrel@slrpnk.net 1 points 6 months ago

Yes thats it. To my knowledge "enabling" just linked the service to the active dir, but I suppose not