[lubuntu-users] XscreenSaver

Eric Bradshaw ericbradshaw at computers4christians.org
Tue Jul 18 03:32:51 UTC 2017


?????? ???

Howz about to add Xscreensaver as default lock screen in Lubuntu natively?!


?????? ???,


A. DEACTIVATE NATIVE LUBUNTU SCREEN LOCKING
1. Go to Menu --> Preferences --> Default applications for LXSession
The database will show it's updating
2. Click the Autostart tab, scroll down and uncheck Screen Locker
3. Click the Core applications tab, scroll down to Lock Screen Manager
4. Delete lxlock and "X" out of LXSession configuration
5. Go to Menu --> Preferences --> Power Manager
6. Click the Security tab, uncheck Lock screen when system is going to 
sleep and click the "X Close" button
7. Go to Menu --> System Tools --> LXTerminal (or Ctrl+Alt+T) and type: 
sudo apt-get remove light-locker -y
8. Type: sudo apt-get autoremove -y
9. Reboot
You may now use XScreenSaver.

B. INSTALL XSCREENSAVER
and lots of related goodies at once:
sudo apt-get install xscreensaver xscreensaver-gl-extra 
xscreensaver-data-extra xscreensaver-screensaver-bsod -y

C. AUTOSTART XSCREENSAVER
1. Go to Menu --> Preferences --> Default applications for LXSession,
2. Choose the Autostart panel
3. Type in the text box for Manual autostarted applications: 
xscreensaver -no-splash then click the + Add button.
Lock your screen by simply checking the box and setting the number of 
minutes you'd like XScreenSaver to wait before doing so.

D. LOCK SCREEN AUTOMATICALLY
Require a password to login
1. Go to Menu --> System Tools --> LXTerminal (or Ctrl+Alt+T) and type 
(or copy and paste): sudo leafpad /etc/lightdm/lightdm.conf
A small file controls this in LightDM

[SeatDefaults]
autologin-guest=false
autologin-user=yourusername
autologin-user-timeout=0
autologin-session=lightdm-autologin

2. Comment-out [add "#" in front of] the user lines

[SeatDefaults]
autologin-guest=false
#autologin-user=yourusername
#autologin-user-timeout=0
autologin-session=lightdm-autologin

3. Save, "X" out and reboot
To auto-login again; follow the same directions above, but take away the 
"#" marks  in lightdm.conf and save.

E. LOCK SCREEN WITH A KEY COMBO
Use the "Super" (Windows key) and "L" keys to lock the screen.

1. Open home/username/ and go to View --> Show Hidden (or Ctrl+H)
2. Find and double-click .config
3. Find and double-click openbox
4. The only file inside is lubuntu-rc.xml
5. Right-click the file and Open With Leafpad
6. Copy the text below:

<keybind key="W-L">
<action name="Execute">
<command>xscreensaver-command -lock</command>
</action>
</keybind>

7. Press [Ctrl]+[F] and look for keyboard
8. Place the I-bar on the beginning of the line below <keyboard>
and paste
9. Finally, go to Menu --> System Tools --> LXTerminal (or Ctrl+Alt+T) 
and type (or copy and paste): openbox --reconfigure

Now, your screen will lock whenever you press the "Super" and "L" keys.

Eric

Thank You,
God Bless You,
Computers4Christians
Computers4Christians.Org/Cheyenne/



More information about the Lubuntu-users mailing list