
Use ~/.Xdefaults as a simple way to retheme the xscreensaver lock-screen based on the contents of the files previously noted. etc/skel/.Xdefaults -strip-components=3 & rm "$deb"*.deb This package includes the bare minimum needed to blank and lock your screen. xscreensaver is: XScreenSaver is a modular screen saver and locker for X11, containing more than 200 screen savers.
Xscreensaver for ubuntu how to#
Or: deb=xubuntu-default-settings apt download "$deb" & ar x "$deb"*.deb & tar -C $HOME/ -xJf . In this tutorial we learn how to install xscreensaver on Ubuntu 20.04. To use the dark theme, use a command like: (mkdir -p /tmp/xubuntu-default-settings & cd /tmp/xubuntu-default-settings & apt download xubuntu-default-settings & dpkg -x xubuntu-default-settings*.deb. To go back to default, delete ~/.Xdefaults. Test -r "$HOME/.Xresources" & XRESOURCES="$XRESOURCES $HOME/.Xresources" # ~/.Xresources contains overrides to the above Test -r $HOME/.Xdefaults & XRESOURCES="$XRESOURCES $HOME/.Xdefaults" Test -r "/etc/xdg/xfce4/Xft.xrdb" & XRESOURCES="$XRESOURCES /etc/xdg/xfce4/Xft.xrdb" etc/xdg/xfce4/xinitrc loads ~/.Xdefaults with code: # Has to go prior to merging Xft.xrdb, as its the "Defaults" file

Package xubuntu-default-settings contains /etc/skel/.Xdefaults, copied to ~/.Xdefaults during creation of any user account, which contains the " Black on Black" theme. Package xscreensaver-data contains the default " White on Black" theme at /etc/X11/app-defaults/XScreenSaver. This also applies to xfce4 installed on top of Ubuntu without the xubuntu-desktop package. It's a bit easier to use the stock " White on Black" or " Black on Black" lock screens in X/Ubuntu 18.04.2 LTS using xfce4.
