

- #XSCREENSAVER START HOW TO#
- #XSCREENSAVER START MANUAL#
- #XSCREENSAVER START CODE#
- #XSCREENSAVER START PLUS#
Xscreensaver-command -lockMake sure the file is executable (chmod a+x). Possibly in /usr/lib/kde4/libexec/ or /usr/libexec/kde4/, depending on the distro and phase of the moon) with these two lines: Replace the file kdesktop_lock or krunner_lock or kscreenlocker in /usr/bin/ (or possibly in /usr/kde/3.5/bin/ or X-KDE-StartupNotify=false 4: Make the various "lock session" buttons call xscreensaver. desktop file in your autostart directory called sktop that contains the following five lines: Xrdb Paths'' page, and see what your ''Autostart path'' is set to: it will probably be ~/.kde/Autostart/ orģ: Make xscreensaver be an Autostart program. Xdefaults file, and then tell the running xscreensaver process to restart itself, like so: If you change a setting in your X resource database, or if you want xscreensaver to notice your changes immediately instead of the next time it wakes up, Reloaded the next time the screen saver needs to take some action, such as blanking or unblanking the screen, or picking a new graphics mode.) xscreensaver file while xscreensaver is already running, it will notice this, and reload the file. Xscreensaver.timeout: 5If you change a setting in the. xscreensaver file, you would write the following: Xdefaults file for example, to set the timeout paramter in the xscreensaver file is similar to that of the. xscreensaver file exists, it overrides any settings in the resource database. xscreensaver file in your home directory or in the X resource database. Options to xscreensaver are stored in one of two places: in a.
#XSCREENSAVER START MANUAL#
This manual unless you are trying to do something tricky, like customize xscreensaver for site-wide use or something. You shouldn't need to know any of the stuff described in The easy way to configure xscreensaver is to run the xscreensaver-demo(1) program. Of this manual page describes lower level ways of changing settings. The easiest way to configure xscreensaver is to simply run the xscreensaver-demo(1) program, and change the settings through the GUI. Note that xscreensaver has a client-server model: the xscreensaver program is a daemon that runs in the background it is controlled by theįoreground xscreensaver-demo(1) and xscreensaver-command(1) programs. Xscreensaver-demoThe xscreensaver-demo(1) program pops up a dialog box that lets you configure the screen saver, and experiment with the various display modes. It also provides configuration and control of your monitor's power-saving features. This program can lock your terminal in order to prevent others from using it, though its default mode of operation is merely to display pretty pictures on

It turns offĪs soon as there is any mouse or keyboard activity. The xscreensaver program waits until the keyboard and mouse have been idle for a period, and then runs a graphics demo chosen at random.
#XSCREENSAVER START PLUS#
If you do any mouse or keyboard activity It will prompt you for password.Xscreensaver - extensible screen saver framework, plus locking Now press “F12” key in you keyboard, xscreensaver application should lock your screen. Mohamed 3857 3796 0 18:19 pts/4 00:00:00 grep -color=auto xscreensaverįrom the above we can see the xscreensaver is running as intended. Open a command and use the below command to make suer the xscreensaver application is started by awesome.

I our case it should start the screen saver and lock the screen.Īt the end of rc.lua file add the following lines to start the xscreensaver application, here -no-splash switch says not to show splash screen when starting xscreensaver.Ī_with_shell("xscreensaver -no-splash")
#XSCREENSAVER START CODE#
In the above code “F12” is our short cut key, and “xscreensaver-command -lock” is the command to be executed when the key is pressed.

The steps for other tools should be almost same with very few small modification.Īdd the following lines In your rc.lua file under “Standard program” section.Īwful.key(, "F12", function () ("xscreensaver-command -lock") end),
#XSCREENSAVER START HOW TO#
In this article I will demonstrate how to use xscreensaver with awesome to lock your screen. It can be achieved with any one of the following standalone apps and small modification to rc.lua. Screensaver in awesome window manager ?īy default awesome window manager doesn’t provide any inbuilt support for locking the screen or screen saver. Screen lock in awesome window manager ?Ģ. This post gives you answer for 2 questions.ġ.
