04-30-2009
Quote:
Originally Posted by
nagalenoj
I need to stop getting input from keyboard and mouse at some specific time like, every day from 6 PM to 7PM likewise.
If I was going to do this, I would first consider running a cron script that changes the permissions of the I/O devices you want to block at the specified time; and then changes them back again.
Be careful, however and test it first, because you don't want to make a mistake a lock yourself out of your system.
9 More Discussions You Might Find Interesting
1. HP-UX
hi folks,
i've got a blank hp visualize C3000 workstation and installed HP-UX 11.11. When I want to start X, I get the following error message:
# X
Fatal server error:
Couldn't open X pointer device! Is one attached?
I've connected an mouse and a keyboard with an usb/ps2 connector.... (5 Replies)
Discussion started by: grisu
5 Replies
2. Programming
Hi,
Is there any way to capture/record the input events from keyboard, as well as from mouse using C.
Thanks in advance (4 Replies)
Discussion started by: yhacks
4 Replies
3. What is on Your Mind?
Anyone ever had any problem related to wrist lesions caused by keyboard or mouse? Tendinitis? Tenosynovitis?
How long it lasted? How did it go away? (3 Replies)
Discussion started by: redoubtable
3 Replies
4. UNIX for Advanced & Expert Users
I need help from someone that is good at making scripts. I'm trying to make a script file that checks for keyboard and mouse activity during 1 am to 8 am and logs you off if it detects activity. I can't find anything useful in google.
---------- Post updated 06-30-10 at 12:33 AM ----------... (1 Reply)
Discussion started by: cokedude
1 Replies
5. SCO
hi
I've configured X Server using Video Configuration Manager on SCO 5.0.6, but the keyboard and mouse are freezing after 5 minutes on the graphical login mask.
---------- Post updated at 01:59 PM ---------- Previous update was at 02:43 AM ----------
BTW I finished the configuration,... (2 Replies)
Discussion started by: ccc
2 Replies
6. UNIX for Advanced & Expert Users
I have a very weird problem with the gedit 2.30.3 text editor on GNOME 2.30.2 (Ubuntu Linux 10.04 LTS):
Any and all mouse clicks and key-presses into the gedit window are summarily ignored. When I say the gedit window, I mean the gedit window proper, the window contents, not the decoration of... (1 Reply)
Discussion started by: ropers
1 Replies
7. What is on Your Mind?
Which Input device do you use the most ?
for me... keyboard ofcourse !! (56 Replies)
Discussion started by: vpraveen84
56 Replies
8. UNIX for Dummies Questions & Answers
Hello All,
PC: CuBox-i (*i.MX6) Mini-PC
OS: openSUSE 13.1 (Bottle) (armv7hl)
Kernel: 3.14.14-cubox-i
# uname -a
Linux CuBox-HQ 3.14.14-cubox-i #1 SMP Sat Sep 13 03:48:24 UTC 2014 armv7l armv7l armv7l GNU/LinuxSo I've been having this random issue happen on this PC where a few strange... (12 Replies)
Discussion started by: mrm5102
12 Replies
9. Shell Programming and Scripting
I would like a script that would run pm-suspend if there has been no keyboard or mouse input for a specified time.
------ Post updated at 11:17 AM ------
Never mind. I found a setting in power management that does what I need. (0 Replies)
Discussion started by: drew77
0 Replies
LEARN ABOUT DEBIAN
xtrlock
XTRLOCK(1) General Commands Manual XTRLOCK(1)
NAME
xtrlock - Lock X display until password supplied, leaving windows visible
SYNOPSIS
xtrlock
DESCRIPTION
xtrlock locks the X server till the user enters their password at the keyboard.
While xtrlock is running, the mouse and keyboard are grabbed and the mouse cursor becomes a padlock. Output displayed by X programs, and
windows put up by new X clients, continue to be visible, and any new output is displayed normally.
The mouse and keyboard are returned when the user types their password, followed by Enter or Newline. If an incorrect password is entered
the bell is sounded. Pressing Backspace or Delete erases one character of a password partially typed; pressing Escape or Clear clears any-
thing that has been entered.
If too many attempts are made in too short a time further keystrokes generate bells and are otherwise ignored until a timeout has expired.
The X server screen saver continues to operate normally; if it comes into operation the display may be restored by the usual means of
touching a key (Shift, for example) or the mouse.
OPTIONS, X RESOURCES, CONFIGURATION
None.
BUGS
Additional input devices other than the keyboard and mouse are not disabled.
The timeouts, bitmaps and mouse cursor colour cannot be modifed.
SEE ALSO
X(1), xlock(1), Xlib Documentation.
AUTHOR
Ian Jackson <ian@chiark.greenend.org.uk>
COPYRIGHT
Copyright (C) 1993, 1994 by Ian Jackson.
Permission to use, copy, modify and distribute this software and its documentation is granted under the terms of the GNU General Public
Licence, version 2 or later, as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
XTRLOCK(1)