Questions tagged [lock-screen]
The lock screen lets a user lock the currently-running session behind a password screen. This screen may either be blank or show a screensaver until mouse or keyboard activity is detected.
1,027
questions
104
votes
11
answers
172k
views
How do I lock the screen from a terminal? [duplicate]
I am using Ubuntu 12.04. Is there any way to lock the screen or session from a terminal command or script?
98
votes
4
answers
74k
views
How to set custom lock screen time in Ubuntu 18.04
The maximum lock time in Ubuntu 18.04, when set via GUI, is 15 minutes. This can be set in Settings → Power → Power Saving → Blank screen.
I'd like to increase this to 30 minutes for ...
92
votes
7
answers
121k
views
How do I lock the desktop screen via command line?
How can I lock my desktop screen from the command line?
85
votes
10
answers
264k
views
Keyboard shortcut for "Lock screen" not working
I tried the combination CTRL+ALT+L or L but it is not working. But if I select the menu item Lock screen from the Setting drop down it works.
Any thoughts on how to fix keyboard shortcut?
68
votes
6
answers
9k
views
A timer that automatically locks the screen to take a break away from the computer?
I'm looking for a graphical or command line program that provides me with the following workflow:
Start a 25min session
After 25min screen is automatically locked for 5min (or maybe just turned black?...
62
votes
3
answers
40k
views
How do I disable the on-screen keyboard in the unlock screen?
Somehow, I activated the on-screen keyboard (Onboard) in the unlock screen and I can't deactivate it now. I've restarted the computer, but it's still there in the unlock screen.
How can I deactivate ...
58
votes
4
answers
60k
views
Disable password request from suspend - 18.04
How can I disable password request after suspend in Ubuntu 18.04? I have already turned off the screen lock but that didn't fix it.
I am new Ubuntu user. There seems to be lots of information on how ...
54
votes
5
answers
79k
views
Unlock login screen using command line
Is it possible to unlock the 13.04 Gnome shell login screen
from a command line? A user is logged in to Gnome shell, I can log in to a console as this user. I also have root access.
This is for ...
53
votes
1
answer
2k
views
How do I stop the constant requests for a password?
I am 70 years old and losing my memory. The only other person here is my wife, who I trust with everything.
I have Ubuntu set to automatically log me in when I boot the system. I need to stop the ...
46
votes
5
answers
171k
views
How do I change the length of time the lock screen appears for?
When my screen is locked and I then reawaken it, by moving the mouse or pressing the keyboard, the password entry screen appears. How can I change the amount of time that is taken before the password ...
44
votes
3
answers
54k
views
Disabling Lock Screen 18.04
I've just installed Ubuntu 18.04 and I want to disable the lock screen. I don't want to see it at all, neither on power-on nor after suspension.
I tried:
Settings -> Privacy -> Screen Lock -> ...
42
votes
10
answers
35k
views
How to turn off screen (DPMS) together with locking session in KDE?
First of all, I'm aware a similar question for GNOME is asked here: "Switch off laptop backlight when locking screen".
Objective
I would like to turn off my screen on locking the session for power ...
41
votes
3
answers
46k
views
How can I change the purple background color of the lock screen on Ubuntu 17.10?
Recently I installed Ubuntu 17.10 which comes with Gnome as the default DE and I like it a lot but cannot figure out how to change the purple background of the lock screen (when typing in the password)...
38
votes
9
answers
38k
views
How do I stop the screen from being locked on suspend?
On GNOME the screen locks when I suspend, and I find that a bit annoying (no one else in the house uses ubuntu anyway haha). What can I do to stop this?
35
votes
1
answer
4k
views
Alt+Left key locks the screen
I have seen a few similar problems on SE. None of them match exactly, and unfortunately none of their solutions worked either.
The problem: Alt + Left key locks the screen. This is also the Chrome ...
34
votes
5
answers
33k
views
How to make the lock screen look like the login screen?
Is there any way to make the login screen from a locked session (either by using Ctrl+Alt+L or from a screen timeout) look like the login screen when you're starting a new session? I hate that ...
28
votes
4
answers
24k
views
Lock screen without blank in 18.04
I'm running Ubuntu 18.04 on a laptop. When I lock the computer, I want the screen to remain on indefinitely. I do want the computer to lock automatically when it is idle (but still, the screen should ...
27
votes
3
answers
6k
views
Unity7 and Gnome 3: How to disable "lock was blocked by an application", so that Gnome3 always locks the screen?
When I have virtualbox in full screen, on Unity it always locks after 5 minutes, but in Gnome3 (and even Unity7) it shows a popup message: lock was blocked by an application.
Can I force Unity or ...
26
votes
3
answers
16k
views
upgrade from 16.04 to 18.04, lock screen is stuck
Right now I'm upgrading a fairly clean install of 16.04 to 18.04 and it seems to be stuck.
I mean, after some time into the upgrade it went on screen lock and I typed my username and password and it ...
23
votes
3
answers
27k
views
How to prevent the screen lock while watching video (Netflix, Youtube, Amazon Prime) in Ubuntu 17.10
In earlier Ubuntu versions like 16.04 and 17.04 while watching YouTube videos in full-screen mode, the screen would not get locked automatically.
In Ubuntu 17.10 while watching videos in browser, ...
23
votes
1
answer
5k
views
how to disable gnome lock screen curtain in ubuntu 17.10? [duplicate]
I have disabled the screen lock which requires a password (settings->privacy) and I have activated the screen blanking which switches off the display (settings->power->blank_screen).
But when I want ...
22
votes
8
answers
58k
views
How do I disable automatic screen locking in Xubuntu?
After about 10 minutes, Xubuntu 14.04 goes to sleep all by itself. I've set up the shuffle on the music player and it only gets through 3 songs before I have to sign in again. There is no screensaver ...
21
votes
4
answers
17k
views
How can I lock the screen using the new lockscreen from the command line?
Ubuntu 14.04 introduces a new lockscreen that looks similar to the login screen.
I am still able to lock the screen using the command gnome-screensaver-command --lock (as I always did before), which ...
20
votes
4
answers
4k
views
How to prevent cleaner from hanging my lock screen in Ubuntu 16.04
In my workplace I'm using Ubuntu 16.04 with unity, standard installation. When I leave my office I lock my screen (ctrl+alt+l). During the evening, the office is cleaned. A few times, I've got back to ...
20
votes
3
answers
37k
views
How to disable screen lock in Ubuntu 14.04 / Unity? [duplicate]
I disabled the lock in the "Brightness & Lock" but I still get the lock screen when is resumes/wake from suspend. Although the option "Require my password when waking from suspend" is unchecked
20
votes
3
answers
8k
views
Two lock screens when unlocking my computer
Probably I installed something, but I don't know what it is... Since then, I have to type my password twice in two different lock screens.
If I lock the computer (CTRL-ALT-L), then I have to give the ...
20
votes
2
answers
4k
views
How to allow key functions while desktop locked
Is it possible to allow a keyboard's volume keys to continue working when your desktop is locked? Currently, the default behavior disables all special-function keys until the desktop's unlocked. I ...
19
votes
3
answers
7k
views
With Ubuntu 18.04, how can I have a hot corner that locks the computer?
I want to have a hot corner that will immediately (and reliably) load my lock screen. Any suggestions?
19
votes
5
answers
39k
views
Lock Screen not working. 14.04
I recently upgraded to 14.04 and since then my lock screen is not working.I read online that gnome-screensaver is not supported in Trusty and it was suggested that I install xscreensaver instead. The ...
19
votes
3
answers
17k
views
How can I know when my screen was locked last time?
Exist a log where I can look for that information? I want to know last days when my PC automatically locked the screen because was idle.
19
votes
3
answers
19k
views
Key short cut `Super+L` (i.e. `Win+L`) not working for `LockScreen` in 12.04 LTS
I want to change Key short cut to Super+L for LockScreen but it is not working. If I try any other combination like CTRL+ALT+L or CTRL+ALT+G , it works.
Win+L combination used to work in 11.10.
19
votes
3
answers
10k
views
How do I configure the screen to lock when I close the lid?
I've configured Ubuntu to put the screen in black when I close the lid of the laptop, but I want that, when I open it again, it demand the password like blocking the screen with Ctrl+Alt+L, but I can'...
18
votes
7
answers
41k
views
Lock screen does not unlock with correct password Gnome and Ubuntu 14.04
I had to reinstall recently. I installed normal Ubuntu 14.04. I then installed gnome/gnome shell/gdm. I then logged in my user to gnome. Since then I have been configuring my system.
Yesterday, ...
18
votes
4
answers
11k
views
How to run script after resume and after unlocking screen
In Ubuntu 12.04 LTS, I would like to run scripts after resuming from suspend, and after unlocking my desktop. These need to run as my user, and with access to my $DISPLAY.
In particular, I would like ...
18
votes
0
answers
6k
views
How do I turn off the onscreen keyboard on the lock screen? [duplicate]
The lock screen has an on screen keyboard that I am unable to disable. I don't remember exactly but I believe I turned it on using the "Screen Keyboard" setting in the Universal Access settings. I've ...
17
votes
5
answers
25k
views
After upgrading to ubuntu 20.04 Lockscreen not working
I tried the shortcut Super + L nothing happens.
In the settings, have set lockdown timer for 1 min, nothings happens after that.
In the right corner menu after clicking lock item, it is showing ...
17
votes
2
answers
23k
views
When my screen is locked, will running processes/internet connection be halted?
Sometimes I leave my PC doing other stuff while running an upgrade or downloading big files, Syncing my Dropbox, or something like that. After 10mins or so, my screen is locked (which I like).
I just ...
16
votes
3
answers
32k
views
Where do I set-up a screen saver in Xubuntu 15.10?
That's strange but I can't find where can I choose a screen saver and configure when will it start. There is no button named anything like "screen saver" in the Settings Manager.
16
votes
1
answer
3k
views
Don't wake screen on notifications when locked
When I lock my laptop, if chrome or other apps have a notification it will wake the screen. How can I disable that while still keeping it locked and open?
15
votes
6
answers
25k
views
How do I disable the Cinnamon 2 lock screen?
When my computer is locked, I am presented with the default Ubuntu lockscreen. When I enter my password and unlock it, I am presented with the Cinnamon 2 lock screen and I have to enter my password ...
15
votes
2
answers
4k
views
cannot find/read/delete new notifications on lock screen
In Ubuntu 17.10 the lock screen tells me that there is a new notification from Backups and another from the Software Manager. However I don't see how I can view those notifications. When I start ...
15
votes
1
answer
7k
views
Disable display of media controls on lock screen (showMediaControls) on KDE Plasma 5.12.7
The KDE lock screen has media player controls that look like this:
I would like to turn this feature off,
as described in D9685 (Add config for the lockscreen to toggle media controls) and KDE Bug ...
15
votes
2
answers
14k
views
Lock Tmux Session With Vlock
I have just installed tmux and vlock. When I try to perform the lock-session command, my terminal flashes and then nothing happens. Is there something in my .tmux.conf that must be added to tell tmux ...
15
votes
1
answer
719
views
Prevent light-locker from setting volume to 100%
I'm on 14.04 with XFCE.
When I lock the screen it appears to mute the system volume (or perhaps just mute anything from the locked session?).
When I log back in the volume is reset to 100%. This ...
14
votes
5
answers
6k
views
How do I lock the screen after resuming from hibernation?
I've been able to successfully hibernate and resume my Ubuntu 12.04 Desktop PC using procedure that I've documented in this answer. However, I now have a problem that whenever the PC resumes, it does ...
14
votes
3
answers
15k
views
Light locker stops background activities (eg. music playback) when screen is locked
I upgraded my xubuntu installation to the new release, 14.04. This release includes a new light-locker, a great improvement if you ask me. The thing is that whenever I try to lock the session or when ...
14
votes
1
answer
3k
views
Why does my Ubuntu 17.10 lock screen show "file 2 new notifications"
When I move my mouse or hit enter to wake up Ubuntu the lock screen shows "files: 2 new notifications" and "Backups: 1 new notification" but after I enter my password there are no notifications to be ...
14
votes
2
answers
13k
views
Disable Ctrl-Alt-L's behavior of locking the screen
I need to disable the Ctrl-Alt-L key combination to use it for IntelliJ (an IDE). I have managed to do it on my desktop computer which currently runs 17.10, but I cannot figure out how to do it on 16....
14
votes
2
answers
19k
views
Use of Yubikey Neo for login 2FA and lock screen
I want to use my Yubikey Neo to login to Ubuntu 14.04. In addition, it would be convinient if the screen is locked automatically everytime I unplug the Yubikey.
14
votes
1
answer
54k
views
Ubuntu 14.04 LTS randomly freezes (graphics/unity only) [duplicate]
When I'm just chilling on the desktop or doing whatever, Ubuntu 14.04 LTS will (every 10-20 minutes or so) just randomly freeze. The screen just stops, I can't see my mouse move, etc. However, I can ...