Xscreensaver
From ArchWiki
i18n |
---|
English |
Italiano |
Español |
Contents |
Installing Xscreensaver
Install the Xscreensaver by:
# pacman -S xscreensaver
Starting Xscreensaver
On some machines, simply installing the xscreensaver program is not enough to have it working properly. The xscreensaver program has to be started, which is commonly done by your desktop manager.
However, some DMs do not do this (egs: IceWM).
To start the xscreensaver program manually, just type in
xscreensaver
into a terminal.
Or, to start the xscreensaver program automatically every time you get into the X11 environment, type this into your '~/.xinitrc' file above the line specifying which DM to load.
xscreensaver -no-splash &
The ampersand '&' argument makes xscreensaver run in the background, and is required.
Lock Screen
You may immediately trigger xscreensaver, if it is running, and lock the screen with the following command
xscreensaver-command --lock
Theming
XScreensaver's unlock screen can be themed, see XScreensaver Theming
Example ~/.xinitrc
#!/bin/sh
# # ~/.xinitrc # # Executed by startx (run your window manager from here) # exec xscreensaver -no-splash & # exec wmaker # exec startkde # exec icewm # exec blackbox # exec fluxbox exec xfce4-session