Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-09-2005, 12:38 PM   #1
Registered: Apr 2005
Distribution: Fedora Core 4
Posts: 88

Rep: Reputation: 15
Question lock screen


I am trying to write a shell script which after receiving a first signal the screen would be locked and then on reception of the second signal the screen would be unlocked. Do I need 2 functions to do the job ? Should I look for the second signal from a while loop or from the unlock function ? I am lost

trap "lock" 1 2 3 15
trap "unlock" 1 2 3 15



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
Can't lock screen colpaarm Linux - Software 5 05-28-2007 02:14 AM
Screen Lock up when enabling full screen in VLC unux82 Linux - Software 0 07-20-2005 03:01 AM
Screen lock changes screen resolution ohzo Linux - Laptop and Netbook 0 06-23-2004 11:13 AM
screen lock killi Linux - Software 1 05-14-2003 07:01 PM
lock screen nautilus_1987 Linux - Software 1 09-23-2002 08:53 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:44 AM.

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