Open JattMannu opened 3 years ago
you can get XScreenSaver to autostart at boot time with Systemd,
First, execute the following command to create a directory for storing Systemd service files of individual users.
mkdir -p ~/.config/systemd/user/
Then create xscreensaver.service file with a command-line text editor such as Nano
xscreensaver.service
nano ~/.config/systemd/user/xscreensaver.service
Copy and paste the following text into the file.
[Unit] Description=XScreenSaver [Service] ExecStart=/usr/bin/xscreensaver -nosplash [Install] WantedBy=default.target
To save the file in Nano text editor, press CTRL+ O, then press Enter to confirm. Press CTRL+X to exit. Finally, enable this service so that XScreenSaver will be automatically started at boot time.
CTRL+ O
CTRL+X
systemctl --user enable xscreensaver
Link
you can get XScreenSaver to autostart at boot time with Systemd,
First, execute the following command to create a directory for storing Systemd service files of individual users.
Then create
xscreensaver.service
file with a command-line text editor such as NanoCopy and paste the following text into the file.
To save the file in Nano text editor, press
CTRL+ O
, then press Enter to confirm. PressCTRL+X
to exit. Finally, enable this service so that XScreenSaver will be automatically started at boot time.Link