LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-06-2014, 03:51 AM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Program to blank the screen (without password)


Hi LQ.org.

Are there any programs to blank the screen without a password to unlock it? I run IceWM, so no DE solution. I want to be able to lock the screen so it will be blank and to unlock it to just hit any key on keyboard. And I also need mouse to not be able to unlock screen, only keyboard.
 
Old 07-06-2014, 04:36 AM   #2
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 441

Rep: Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574
Hi there.

XScreenSaver is the standard screen saver software for Linux and the X server, and it is available for Arch as well:

XScreenSaver
Arch Linux Wiki: XScreenSaver

The configuration window allows to disable the password lock option, and to blank the screen instead of running a demo. Regarding the screen being unlocked by the keyboard only, I don't know how you could do that, and in fact the man page says (emphasis is mine):

Quote:
The xscreensaver program waits until the keyboard and mouse have been idle for a period, and then runs a graphics demo chosen at random. It turns off as soon as there is any mouse or keyboard activity.
[Edit] Maybe there is a workaround regarding your requirement for the mouse (this is from the man page as well):

Quote:
pointerPollTime (class Time)
When server extensions are not in use, this controls how frequently xscreensaver checks to see if the mouse position or buttons have changed. Default 5 seconds.

pointerHysteresis (class Integer)
If the mouse moves less than this-many pixels in a second, ignore it (do not consider that to be "activity.") This is so that the screen doesn't un-blank (or fail to blank) just because you bumped the desk. Default: 10 pixels.
HTH,
Philip

Last edited by Philip Lacroix; 07-06-2014 at 04:50 AM. Reason: possible workaround added
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable screen blank / screen saver on Red Hat Enterprise jearl28 Linux - Newbie 8 05-03-2013 10:41 AM
my opengl program gives a blank output screen after compilation... prayas.suneja Linux - Newbie 3 02-26-2011 05:58 PM
[SOLVED] Fedora live cd - Screen goes blank right before login screen loads deadalus.globalnode Fedora 5 04-21-2010 03:36 PM
Blank Screen After Screen Lock / Screensaver edwin11 Linux - Desktop 10 01-23-2009 09:55 AM
When closing my graphics program & entering the application again the screen is blank armesk Programming 7 08-29-2003 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration