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

change monitor where screensaver unlock dialog appears

Tags: None
(comma "," separated)
timrichardson
Registered Member
Posts
15
Karma
0
OS
When my laptop sleeps, hibernates or goes into screensaver, I need to unlock before session resume.
The unlock dialog usually appears on my external monitor. But the external monitor may no longer be present when I want to resume, which means I can't see the unlock dialog. This is a huge PITA. It could be fixed so easily if I could force the unlock dialog to always appear on my laptop's internal screen.
I've reported a bug a while ago, but there is no activity on it. I can't be the only user with this problem, so perhaps someone here has a solution.

My workaround is a script which unlocks the session, which I can run via a console logon (which I can see on my laptop's monitor).

Code: Select all
#!/bin/sh
# run as tim
export DISPLAY=:0
export XAUTHORITY=/home/tim/.Xauthority
qdbus org.kde.screenlocker /MainApplication quit


regards
Tim
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
As far as I know it follows the same setting as where your unmanaged windows will show up. System Settings -> Hardware -> Display and Monitor -> Multiple Monitors -> Show unmanaged windows on: [choose display].


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
timrichardson
Registered Member
Posts
15
Karma
0
OS
Unfortunately, that setting is not respected by the unlock dialog, at least in all KDEs I have used (I'm stuck on 4.4.5 until Debian releases Squeeze next weekend).


Bookmarks



Who is online

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