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

Disable screen lock for all users

Tags: None
(comma "," separated)
interele
Registered Member
Posts
131
Karma
0
OS

Disable screen lock for all users

Thu Apr 14, 2016 12:02 pm
Can I disable screen locking for users ?
This is 4.19.4 BTW

Thanks

Mal
wolfi323
Registered Member
Posts
1129
Karma
11
OS
interele wrote:Can I disable screen locking for users ?

Yes.
You can put your custom kscreensaverrc or kscreenlockerrc (depending on the Plasma version you use) that disables it to one of the system's config locations to change the defaults.
Run "kde4-config --path config" or "kf5-config --path config" (again, depending on your Plasma version) to find out which folders are searched.

Or create one in /etc/skel/, that directory is copied to the user's home directory when a new user is created.

This is 4.19.4 BTW

There is no 4.19.4.

Please post your real version if you need further help.
Or at least specify whether you are using KDE4's Plasma or Plasma5, the openSUSE version alone would help already.
interele
Registered Member
Posts
131
Karma
0
OS
Sorry, brain/finger failure !

4.14.9

Mal
wolfi323
Registered Member
Posts
1129
Karma
11
OS
interele wrote:4.14.9

Well, there is no version 4.14.9 of the desktop either.
How did you get that version number?

Again, what *Plasma* version do you use, or what openSUSE version?
interele
Registered Member
Posts
131
Karma
0
OS
kinfocentre says KDE platform version 4.14.9
however Yast2 says 4.11.20

...I think I might just go home ...

M
wolfi323
Registered Member
Posts
1129
Karma
11
OS
interele wrote:kinfocentre says KDE platform version 4.14.9
however Yast2 says 4.11.20

Looks like you are using openSUSE 13.2 with KDE4 then...
Why can't you say that?
I did ask.

...I think I might just go home ...

Why?
I already told you in general how to do it.

But there were significant changes between KDE4 and Plasma5 in this regards, that's why it's vitally important to know what version you are using.

In KDE4 screen *locking* was not even enabled by default, so I still have to ask what exactly you want to disable.
Can you be a bit more verbose, please?
interele
Registered Member
Posts
131
Karma
0
OS
Sorry, I was trying to make it easier and ended up making a hash of it

The long story:
Yes, we are openSUSE13.2 and KDE4
We finally managed to get some new machines
These have a sleep button
When the students press it most of the time the machine goes to sleep ( surprisingly ) but occasionally it just locks the screen
If it sleeps it restarts on the lock screen
However you now can't enter anything in the keyboard to unlock the session

Since we've wanted to disable locking for a long time and never really got around to it
I figured that I could kill two birds with one stone just disabling screen locking.

Mal
wolfi323
Registered Member
Posts
1129
Karma
11
OS
interele wrote:We finally managed to get some new machines
These have a sleep button
When the students press it most of the time the machine goes to sleep ( surprisingly ) but occasionally it just locks the screen
If it sleeps it restarts on the lock screen


Ok, that would be the powersaving settings then, i.e. the "lock screen on resume" option in systemsettings (Configure Desktop in openSUSE)->Power Management->Advanced Options.
Not directly related to the screen saver (in KDE4 at least).

In that case, you'd want:
Code: Select all
[General]
configLockScreen=false

in powerdevilrc.

As you are using openSUSE 13.2 with KDE4, create a file /etc/kde4/share/config/powerdevilrc with this content (without that space in front of "[General]", that seems to be a bug in this forum...;) ), and it should be the default for all users to *not* lock the screen when resuming after suspend/hibernate.

But please note that this is only the default, existing user accounts will not be affected if they changed those settings manually.

However you now can't enter anything in the keyboard to unlock the session

That sounds unrelated to KDE though...
interele
Registered Member
Posts
131
Karma
0
OS
Cracking - that works a treat

I do suspect it's KDE as I have the same hardware but with Leap
on my machine and that works OK. Anyway, many thanks, that
will make my life a whole lot easier.

Ta

Mal


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]