LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-01-2004, 07:17 AM   #1
Nocterro
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware, debian
Posts: 4

Rep: Reputation: 0
running a command after a set period of keyboard inactivity?


Looking for a console program to run a command after a set period of no input being received from the keyboard. Any ideas?
 
Old 09-01-2004, 08:27 AM   #2
maxfacta
Member
 
Registered: Aug 2004
Location: Perth, Australia
Distribution: Debian @ home + work :)
Posts: 66

Rep: Reputation: 21
Try xscreensaver
You can configure all timeout values etc, and have it run whatever program you like.

See `man xscreensaver` and your ~/.xscreenaver config file.
 
Old 09-02-2004, 02:06 AM   #3
Nocterro
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware, debian
Posts: 4

Original Poster
Rep: Reputation: 0
no x server

There's no X server running on this machine, it's a console mode only server box. Any other ideas?
 
Old 09-03-2004, 09:04 AM   #4
maxfacta
Member
 
Registered: Aug 2004
Location: Perth, Australia
Distribution: Debian @ home + work :)
Posts: 66

Rep: Reputation: 21
Hmm... this might be dodgy, but you could look at the modification times on /dev/ttyx
I've noticed that console activity updates the timestamp on these special files.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 do I automatically logout after a period of inactivity? AshleyK Linux - Security 4 12-31-2004 10:47 PM
Running a program for a specific period of time CaptainHowdy Linux - Software 2 08-22-2004 07:02 PM
Only starting command in a specific time period jeroenvrp Linux - Software 3 07-20-2004 11:18 PM
Webpages/Email takes ages to load after period of inactivity Robstro Linux - Networking 1 05-26-2004 01:31 AM
Log entry during period of inactivity Gavin Linux - General 1 01-14-2002 01:08 AM


All times are GMT -5. The time now is 12:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration