Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-15-2007, 11:58 PM
|
#1
|
|
LQ Newbie
Registered: Feb 2007
Posts: 2
Rep:
|
locking mouse,keyboard and the system
i am currently doing my final year project.and as a module in that i need to lock the keyboard,mouse and the system when the user gets away from the system and resume them to normal state when the user comes back.i use a bluetooth phone as a token for the user.using python i check for the users presence.if the communication between phone and the system(laptop) breaks i need to lock mouse,keyboard and system.
for that i need to lock mouse,keyboard and the system individually so that someone cannot give any input via mouse or keyboard.so please tell me how to lock mouse,keyboard and system individually using a program.i am using ubuntu.i dont want the user to enter any password when he returns.the system will automatically detect him when he returns.
Last edited by balajitrz; 02-16-2007 at 11:27 PM.
|
|
|
|
02-16-2007, 12:28 AM
|
#2
|
|
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
|
Can you please explain what exactly you want to do? You must provide us with much more details if you want us to help you.
Also, what distro are you using? Please put this information in your profile.
--Ian
|
|
|
|
02-16-2007, 08:29 AM
|
#3
|
|
Member
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 397
Rep:
|
If you use KDE for your desktop there is a Lock applet that you can add to the panel. Just right-click on an empty part of the panel, then in the drop-down (drop-up?) menu, click "Add applet to panel", then select the Lock/logout applet, or whatever Lock applet you have there.
When you click the Lock applet, your screen will go into screensaver mode and you will need to type in your password to unlock it. After one of my cats deleted a year's worth of email by walking on the keyboard, I never turn my back for a moment without now locking it!
|
|
|
|
02-16-2007, 12:46 PM
|
#4
|
|
Member
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 376
Rep:
|
For a generic solution, run xscreensaver-demo and use menu File->Lock Screen Now. (There used to be xlock, but it's not installed by default in Ubuntu Dapper, so I assume it's obsolete.)
You probably ought to find the easier way you're meant to use. On Ubuntu / Gnome, it's menu System -> Quit... -> Lock Screen.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:28 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|