The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
0answers
13 views

How do I prevent unlocking the screen?

Use case: I want my screen to auto-lock when I unmount my USB drive. (That part is easy.) What's not so easy: I want the screen lock to require the USB drive and the password when I return. Thus, is ...
4
votes
1answer
31 views

How to configure XFCE (or X itself or whatever) to run a custom command when the user has been idle for some time?

For as long as I can remember locking screen with screensaver had never been working good. The problem that had always been there is that when I move the mouse or press a key screensaver disappears ...
0
votes
0answers
12 views

Monitor shuts down when entering Terminal [Linux Mint]

I have a relatively small monitor for one of my machines that Linux Mint. When entering the terminal (ctrl + alt + F1) The monitor shuts down and I have to, completely blind, scrawl out my login and ...
1
vote
1answer
36 views

i3 screen goes blank after 5 min inactivity

I am using i3 on Fedora 22, without a DM. The way I run it is with: exec i3 in my /etc/X11/xinitrc-common file, and: if [ -z "$DISPLAY" -a $XDG_VTNR -eq 1 ]; then startx fi in ...
1
vote
1answer
86 views

How do I enable the on-screen keyboard in the Linux Mint lock screen?

I'm using Linux Mint 17.2. I'm locked out of my own computer after changing my password to one using a 3rd tier character. I had set up my keyboard settings so the windows key enabled 3rd tier ...
2
votes
0answers
75 views

How to run a script after screen unlock under Gnome 3 with LightDM?

I'm on ArchLinux using Gnome 3, LightDM and Antergos/gnome-shell-extension-status-menu-buttons with light locker. I have a script that I need to run after every screen unlock, but so far I didn't ...
1
vote
0answers
47 views

Lock screen on suspend with Awesome WM

I currently use Fedora 22 with a plain Awesome WM session. I can lock the screen with say slock. There are ways to lock the screen on suspend with the system wide instance of systemd, see this ...
2
votes
2answers
1k views

Change the lock screen wallpaper

I know this may sound bad, but I'm annoyed by the 'lock screen' wallpaper of KALI SANA 2.0. This is the default 'lock screen' wallpaper: Kali Sana 2.0 default lock screen I have seen many tutorials ...
2
votes
0answers
37 views

How to keep a log about when screen has been locked/unlocked

I would like to keep track of the times when I locked/unlocked my computer. I'm running RHEL 6.6 with gnome 2. But maybe there is 'general' solution? Are there any commands, files or something which ...
0
votes
1answer
63 views

keyboard locked after resume until I type in a terminal

Issue: After my laptop comes back from suspend and I log in via lightdm, I have to use the mouse to open a terminal then type on the command line before my keyboard is responsive. I usually close the ...
0
votes
0answers
236 views

CentOS lock screen not unlocking

I have a centOS VM that when I lock the screen it will not let log me back in. I can enter my password as many times as I'd like, even try to "switch users" but the VM just ignores everything and ...
1
vote
1answer
81 views

How can I lock my screen automatically if internet connection is lost?

I will sometimes remote into my work computer from home using TeamViewer. Obviously I have to unlock the screensaver to use the GUI. When I'm done, I'll lock the screen either from the desktop or via ...
2
votes
0answers
200 views

How to use Desktop Lock Screen and turn off XScreenSaver Login Screen?

I am running Linux Mint 17.1, Cinnamon Desktop, Compiz, and XScreenSaver. I want to be able to use the Desktop Lock Screen and turn off the XScreenSaver Lock Screen. Turning off the Lock Screen in ...
1
vote
0answers
105 views

Run a script on a failed screen unlock attempt

I want to run a script in Python to detect when a user tries to unlock the screen, but fails. I use elementary OS Freya and light-lock. I tried it with dbus, but I couldn't figure out how to do it. ...
1
vote
0answers
13 views

Testing for an active window session

I'd like to run a cron job to test whether there is an active window session (GNOME or KDE) running on my host. By "active" I mean that in addition to just running, the user is "doing stuff". In ...
2
votes
0answers
183 views

xscreensaver screenlock Couldn't Grab Pointer - Already Grabbed

Running lxde and lxpanel on Debian 8.1. xdotool key "XF86LogGrabInfo" lists no actively grabbed devices in /var/log/Xorg.0.log. Clicking the Screenlock icon in the application launch bar has a long ...
2
votes
2answers
436 views

How to avoid system timeout to login screen when I make a cup of tea?

Linux Mint 17.1 (MATE) running on HP G250 Laptop and older HP desktops. It's just me and the dog at home and I like to run the computer all day, but it keeps returning to the login screen after a few ...
0
votes
0answers
512 views

Light Locker - Run script on screen lock/unlock

I'd like to run a script if the XFCE session is locked and unlocked. Is there a way that I can intercept this and perform certain actions when the desktop is locked or unlocked? I have found ...
3
votes
1answer
101 views

On lockscreen how can I auto-turn off monitors if they wake up?

I'm on Debian (Jessie) using KDE 4.14.2 nothing really stood out to me in the System Settings on how to trigger a lock screen and after doing a bunch of research I ended up binding Ctrl+L to run the ...
1
vote
2answers
337 views

Kill browser when lock screen

I am running xubuntu on a shared low-ressources computer. I would like to run a script that kills the browser (firefox and chromium) whenever the user locks the screen, so that other users can use the ...
1
vote
1answer
91 views

What software is lock or lck

Which software provides /usr/bin/lock or /local/bin/lck ? The manual says that GNU Screen will call a screenlock program. But I don't have them in my system. Also my $LOCKPRG is empty. So is there ...
2
votes
3answers
1k views

How to lock screen for a terminal session?

as we could use xflock4 command to lock the screen (ask for a password to continue) in an X session; I need a similar way to lock the tty1 session. Is there any? (logout is not working when I call in ...
1
vote
2answers
546 views

Suspend button does not work when xscreensaver is active on xfce Debian

I've Debian jessie and xfce. When I push the power button, my system is suspended. When I press any key on my keyboard the system wake up and I get the login prompt of Xscreensaver (screen lock is ...
0
votes
1answer
76 views

How to configure the Screen Locker

I'm using KDE 4 and it locks the screen without warning and then it requires password to unlock, I need a warning before locking as the Gnome before locking the screen it set the screen brightness ...
2
votes
1answer
181 views

Cross linux method to detect screensaver or locked screen running

I'm looking for a cross linux method to detect if screensaver (both XScrenSaver and non-XSCreenSaver) is running or if locked screen is up. Bash or c method would be awesome. Can you please help me ...
0
votes
1answer
166 views

Mint maximum user passtext length?

Strangely, I can use a long passtext, approximately 64 words long, for disk encryption, but I'm having trouble with user password lengths. Certain steps fail like the installer or unlocking the ...
6
votes
2answers
684 views

Can I simulate mouse movements via terminal without xdotool?

I would like to write a script to prevent a computer from locking by virtually wiggling the mouse. However, I do not have xdotool on the computer that I am using, and I cannot install since I am not ...
3
votes
2answers
111 views

Lock system after awake suspend (incl. forced-shutdowns system after countdown)?

For speed and convenience I do not shutdown my system when I am only gone some minutes, but do a pm-suspend! When the system "unsuspends"/resumes I would like that there is a (screen)lock (on X and ...
0
votes
5answers
10k views

How to get Kali Linux to not go to sleep?

I'm using Kali linux on vmware in windows7. I've been trying to crack my wpa password and noticed that when I leave the system running (in process of cracking password) and leave the laptop on and go ...
1
vote
1answer
377 views

How to activate the password prompt on a lock screen?

I am using Linux Mint 17 Cinnamon. When I lock the screen it shows a dimmed version of my desktop background and the time. So when I want to unlock it, I usually move the mouse and the prompt for ...
1
vote
0answers
122 views

Can I use xautolock or anything else to run a command when input is received after the timeout?

I want to have my screen lock and backlight fade out after some delay, and then I want to have the backlight fade back in when I move the cursor or press a button. Having the screen fade out is easy ...
3
votes
2answers
550 views

Systemd: locking the console

I have a laptop that runs Debian Jessie with only the Linux console - no X server installed. A recent dist-upgrade replaced sysvinit with systemd. Now I'm trying to get systemd to lock the console ...
1
vote
1answer
136 views

Prevent the mouse to wake up display

I set my displays to sleep with xset dpms force off after locking the screen with kscreenlock. This is great, the displays wake up when the mouse is moved (by me, air, the cat). I'd like to set it in ...
3
votes
2answers
715 views

Custom shortcut to i3lock screen

I'm having difficulties with creating a custom keyboard shortcut. I'm trying to lock my screen using i3lock with a picture. From the terminal, the command i3lock -i ~/Pictures/lock.png works like ...
2
votes
1answer
351 views

Pin Lock Screen

Is there a way to replace password lock screen in Linux (Mint Debian Edition) with a pin lock screen? Like the one found in Windows 8 for example. It's annoying/inconvenient to have to input 16 ...
4
votes
2answers
520 views

get xautolock status

I'm currently using xautolock to automatically lock my screen with slock. However, when I'm watching a movie, I certainly don't want my screen to go black suddenly. I read the manpage and saw that ...
2
votes
1answer
1k views

Do not lock screen command

I am running Lubuntu with LXDE and xfce power manager. I have set lock screen when going to sleep (suspend/hibernate) and I like it this way. However, I'd like that the screen does not get locked when ...
6
votes
2answers
434 views

Using vlock without changing VT from X

X screen lockers are fine, but I sometimes have stuff open on other TTYs that I want to lock as well. For this reason I would like to use vlock -a to lock all TTYs at the same time. However, I am ...
1
vote
1answer
140 views

How to show time away from computer?

I was wondering how to measure the time elapsed after, say, screensaver starts and then show that time on a freedesktop notification when back.
6
votes
1answer
3k views

How can I trigger the screensaver's locking feature using D-BUS from the command line?

How can I trigger the screen saver manually from the command line? I'm using GNOME 3.8.4 on Fedora 19, but the solution should not necessarily be specific to this distro.
7
votes
3answers
13k views

Why doesn't my screen lock in XFCE?

I'm trying out XFCE on Arch Linux, and for some reason the Lock Screen option in the session menu doesn't do anything. Neither does running xflock4 at the command line (it exits 0 with no output). ...
4
votes
1answer
494 views

xautolock: how to auto-unlock on user activity?

I need to run a script after a period of user inactivity. For that I use the wonderful program xautolock. Now, I also need to run another script when the activity is resumed (e.g. mouse is moved or a ...
5
votes
1answer
911 views

Can I set a bash timeout only for virtual consoles (ctrl+alt+{f1-f6})

I know that I can set a TMOUT variable to automatically end a bash session after a specified period of inactivity. However, what I want is to apply that only to my 6 built-in virtual consoles, which ...
3
votes
2answers
1k views

Disable xscreensaver when program is running?

I find it very annoying that xscreensaver sometimes helpfully starts while I'm playing Urban Terror, and was wondering if there is a better way to solve this than making some script to run Urban ...
3
votes
1answer
439 views

Unlock Gnome shell takes a long time

I lock my GNOME Shell 3.6.3.1 by Ctrl+Alt+L as usual but when I try to unlock it takes up to a minute before I get my desktop back. While waiting I get a black background and a mouse pointer. Any ...
5
votes
1answer
183 views

Xorg - ignore first click event when resuming from Screen Blanking

Is it possible to somehow configure xorg to ignore the first mouse click when screen blanking is enabled ?? The reason is I have a touch screen in an embedded arch linux application which remains ...
1
vote
1answer
495 views

Lock screen shortcut not working after update of Fedora 16

I recently ran a bunch of updates (I didn't pay attention to which, I was just prompted to update a bunch of stuff), and after running them, the lock-screen shortcut (CTRL-Alt-L) no longer works. I ...
17
votes
4answers
18k views

How can I lock my screen in Gnome 3.8 without GDM?

There is no "Lock" option showing up in the user menu, and the standard shortcuts (Ctrl+L or Ctrl+Alt+L) don't do anything. I'm running Fedora 19 with Gnome Shell 3.8.3, and XDM 1.1.11. I'm using ...
9
votes
1answer
7k views

suspend AND lock screen on closing lid in arch/systemd

what is the most straightforward way to lock the screen AND suspend when closing the lid? I'm using event hooks in /etc/systemd/logind.conf and successfully suspend upon closing the lid. However I'm ...
2
votes
0answers
148 views

Automatically lock but not darken gnome shell when inactive

Gnome Shell 3.8 can be configured to darken and eventually turn off the screen after a given period without user activity. (The corresponding setting can be found at Settings/Performance.) From there ...