This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Disabling the auto screen lock programatically?

Tags: None
(comma "," separated)
User avatar
gunnarniels
Registered Member
Posts
1
Karma
0
Hello,

I'm brand new to KDE but a longtime linux user. I have a series of scripts that I like to run to stand up a new machine, and as part of that, I want to disable the auto screen lock / screensaver. I'm using the Fedora KDE spin, I think it's plasma 5.8.1. Most of my research has pointed me towards qdbus, but the commands that I've found seem to be outdated where methods are missing from the dbus that were mentioned (reparseConfiguration). The documentation around these also felt a little thin.

I have a few questions as I explore the new environment:

* I was trying to find out what was executed with "Screen Locking" in the application launcher, but wasn't sure where that came from. Where are application launcher items sourced from? I finally found it /usr/share/kservices5/screenlocker.desktop after figuring out what the kscreenlocker rpm installed, was surprised to find it here.
* I found screenlocker is launched via kcmshell5 screenlocker. I see screenlocker is a KCModule? What are these used for generally, control panel like widgets? How can I programatically drive it?
* I don't see a screen saver option in the application launcher. Is it even fair to call this a screensaver, or is it really just a screenlocker? How does this relate to KSMServer?
* Where are the *go to* docs the KDE community for answering questions like these?
* Where are the core source repos for KDE projects? Unless I missed it, I didn't find any links on the home page.

EDIT: I'm realizing I'm going to be generically interested in where kcmodules are storing configuration data, since I'm insterested in also configuring user_manager. Do these store data separately for system/user (something like /usr vs $HOME/.config?). user_manager looks like it actually uses some kind of database judging from the source's cursor references. Where is this stuff, and what's the best way to set up configuration management to manage it?
Thank you!


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]