How to disable the 10 minute screen timeout/lock in KDE?

1

I'm trying KDE desktop on Ubuntu 14.04LTS (the start screen now says "kubuntu" but the DE was installed on top of regular ubuntu). When no actions have been made for like 10 or 15 minutes or so the screen locks and Spotify/youtube/anything is paused.

In System Settings > Display and Monitor > Lock Screen I unchecked the timer (and put a large timeout time in the unchecked setting).

In System Settings > Energy Saver i have configured it not to do anything when hooked up to AC power.

The xscreensaver is set to "disable screen saver"

These settings did not stop the timeout. I edited ~/.kde/share/config/kscreensaverrc into:

[ScreenSaver]
Enabled=false
LegacySaverEnabled=false
Lock=false
PlasmaEnabled=false
Saver=krandom.desktop
Timeout=36000060

This had no effect. I found in another answer that doing

setterm blank 0
setterm powerdown 0
xset s 0 0

will do the trick, which it did! But it is overwritten on reboot. Is my only option to make this a startup script? I couldn't believe that this would be such a problem in such a standard DE...

Jonatan Öström

Posted 2015-10-14T00:38:01.090

Reputation: 165

Answers

2

On my version of KDE (4.14.12) there is a power management widget. (You can add it by right clicking on the launcher bar and choosing Panel Options -> Add Widget. It's called Battery and Brightness.) On this widget there is a checkbox labelled Enable Power Management. If uncheckt it disables dimming of the screen altogether. This works for me.

enter image description here

Ben

Posted 2015-10-14T00:38:01.090

Reputation: 190

Thank you for the answer. I am on 4.13.2 and the widget here is called 'Battery Monitor'. Anyway, it had the same battery settings options (but no brightness) so i unchecked the box and we'll see if it works. – Jonatan Öström – 2015-10-14T09:21:58.727

@JonatanÖström Did it work? If so it might help other users, if you mark the answer as correct. – Ben – 2015-10-14T15:21:39.857

In fact, I'm not sure. I found out that unplugging the computer changed settings and I got sick of it. I made a fresh install of kubuntu 15.04 w/ plasma 5 and in this version the regular setting for the screen lock did work. – Jonatan Öström – 2015-10-15T16:07:01.300

Anyway, I marked it as correct, as it could have been an acceptable solution in case it worked, which I don't know. – Jonatan Öström – 2015-10-15T16:14:02.857