The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
2answers
243 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 ...
0
votes
0answers
37 views

Why can I lock the screen via manually launched script but not via shortcut launched script in Gnome 3.12?

To be clear, I want to prevent the screen turning off instantly after manually locking it in Gnome 3.12(+). I have an ok script solution that I'll include here, if possible I'd like to either launch ...
3
votes
2answers
45 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
2answers
326 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
87 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
27 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 ...
2
votes
1answer
72 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
39 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
1answer
111 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
62 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
105 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
538 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 ...
5
votes
2answers
163 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 ...
0
votes
0answers
59 views

Does Steam have special treatment of screen lock?

When I play a game through Steam, the computer is obviously active and I don't expect the screen to be locked. However, when I'm closing the game I see a locked screen. If the screen is locked, it ...
1
vote
1answer
79 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.
5
votes
1answer
1k 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.
3
votes
1answer
4k 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). ...
3
votes
1answer
270 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
435 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
576 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
216 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
98 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
235 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 ...
7
votes
2answers
5k 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 ...
5
votes
1answer
3k 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
112 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 ...
1
vote
1answer
385 views

SSH disconnects when screen locked with vlock

I'm using tmux + PuTTY to get all the UNIX goodness I need when using Windows. I have the following settings in my .tmux.conf: set-option -g lock-command vlock set-option -g lock-after-time 1800 As ...
5
votes
1answer
546 views

Too big delay with xscreensaver on wrong password in OpenSUSE 12.2

There is too big delay when logging in with xscreensaver in OpenSUSE 12.2 --- Actual delay is 10 seconds, but not found anywhere in configs Already done: checked pam timeout in login.defs (3 ...
0
votes
1answer
209 views

Locking Desktop just Like Windows

Whenever I am at work, I would like to lock the computer so my desktop isn't accessible to others. In windows it's trivial, press the Windows+L key. Is there something similar available in Linux, ...
5
votes
4answers
11k views

Disable automatic screen lock in XFCE in Centos

I have a generic install of Centos 5.8 with XFCE 4.4. Pretty much all defaults. As is, after a certain amount of idle time the screen locks (goes black, requires a password to continue). How do I ...
5
votes
2answers
1k views

Preventing access to TTY when X is killed

Assume I start an X server manually from a virtual console /dev/tty1 with xinit or startx, with the line id:3:initdefault: set in /etc/inittab. The X server gets run and put on another virtual ...
7
votes
1answer
510 views

Pause music while screen is locked

I was wondering whether it is possible to pause a music player (in my case Rhythmbox), by pressing a button, while the screen is locked. I would assume no, but I thought I'd ask. A short example: If ...
6
votes
1answer
452 views

How to disable Switch User option from Fedora 15

Is there a way to disable the Switch User option from a locked screen on Fedora 15? I've tried this way, but no luck, since gconf-editor has no effect.
2
votes
2answers
1k views

Locked out of Linux Mint

I am running Linux Mint 12 with Cinnamon and sometimes when I leave my computer idle for a while, it will lock the screen. Usually, when I move the mouse a login prompt will pop up, but sometimes it ...
14
votes
4answers
7k views

Is there a way to lock command line?

For example, in X session, I can use Ctrl-Alt-L to lock the screen, so it would ask for password to unlock and prevent somebody from messing with mine computer. But if I have an open terminal session ...
5
votes
1answer
1k views

How do I run a script on unlock?

I'd like to run a screen 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 see that it is ...
3
votes
2answers
135 views

Screen content showing for a few seconds before screensaver starts (Fedora 14)

This happens every now and then, I have not pinned down the cause but let me describe the symptoms. On occasion when I come back to the computer after a few hours the screen is in energy saving mode, ...
2
votes
3answers
5k views

Locking the screen via CLI?

Is there any way that I can lock the screen CLI-style? I'm trying to target as many desktop managers as possible (mostly LightDM, but GDM, KDM, SLiM, XScreensaver, etc. would be great too), but I can ...
4
votes
2answers
680 views

Run commands after unlocking X screen (KDE)

When I leave work, I lock my machine with ctrl + l to lock the screen. When I come back, I always forget to log into jabber. Is there a way to run a command after the screen is unlocked? This is in ...
6
votes
1answer
1k views

Lock screen w/ slock after a certain time?

I am running OpenBox in Arch Linux, how can I set it up so that I can have slock lock my screen after a certain amount of time (with no activity)? Thanks!