Automatically run screensaver - auto locking screen?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Automatically run screensaver - auto locking screen?
Hi,
In windows i can schedule a screensaver to activate if the system has been idled for a set time. In linux how do i do that? And can i set a time limit, and when the system has been idled for that time limit, a locking program will lock up the screen so no body can open it excpet when i come back the the computer? It doesn't matter if the screensaver solution can also solve the locking issue.
you're asking a fair few very basic questions, the answers to which you can easily find out yourself. i really don't want to sound rude and i'm very sorry if i appear so. i'd recommend buying a linux book to help you get a decent grip on the many little things the linux does. alternatively, there's a number of entire linux books on teh link in my sig. have a flick through the redhat unleashed on for a start.
either way, xscreensaver should load automatically as a "daemon" when you load xwindows, assuming you're using kde or gnome. if not, just add a line such as
xscreensaver &
to end start of your .xinitrc of .Xclients file. There's probably a way to do that with a gui config thing in kde or gnome, but i don't use them, so i couldn't say!
& makes it run in the background so your terminal is not tied up with it and you can get a new prompt at the same terminal. If you have gnome all the options you are looking for are in the control center. xscreensaver manual at http://www.jwz.org/xscreensaver/man1.html
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.