this post was submitted on 25 May 2024
1 points (100.0% liked)

KDE

5338 readers
4 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
[–] [email protected] 0 points 5 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.

[–] [email protected] 0 points 5 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.

[–] [email protected] 0 points 5 months ago* (last edited 5 months ago)

I fail to understand why can’t you just add

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

after doing daemon-reload.