Documentation


Viewing posts for the category Omarine User's Manual

Wiping the hard drive before installing the operating system

Many people often think that to have a clean hard drive just repartition the disk and recreate the filesystems. The reality is not so.
For MBR disk partition table, disk partitioning tools like fdisk, cfdisk, parted, and filesystem creation tools like mkfs.ext4 only manipulate the first sector of the disk (sector 0) and sectors beginning from the first partition. We use a USB memory stick to illustrate, the device name is /dev/sdb

Improving xscreensaver service

Because the xscreensaver service needs to run in a graphical session, it should only be started when the graphical procedures and environment are ready. In the scope of systemd's understanding, the target graphical-session-pre.target makes such sense. We will therefore arrange for the xscreensaver service to start after (After=) this target.

In addition, the xscreensaver service needs to be installed as part (PartOf=) of graphical-session.target. The graphical-session.target target will manage the xscreensaver service and will stop the xscreensaver service when the session is terminated.

A specific XScreenSaver configuration in Xfce

First, update your system to get the latest xscreensaver binary, as the root user:

Building XScreenSaver with systemd

Xfce 4.14 and XScreenSaver 5.43