Skip to content

Debian Desktop 12 install

OS Installation

Isard (admin or manager roles)

Modify desktop XML

<driver name="qemu" type="qcow2" cache="unsafe" discard="unmap"/>

Configuration

Session login - GNOME Xorg

Terminal

Basic commands

$ su -
$ visudo 
#add this at the end of file
isard   ALL=(ALL:ALL)   ALL
$ sudo apt update
$ sudo apt upgrade -y
$ sudo apt install vim gedit vlc net-tools htop curl wget spice-vdagent qemu-guest-agent

Modify fstab

$ sudo vim /etc/fstab
for every "ext4" storage, define "noatime,discard"

UUID=xxxxx-xxxxx-xxxxxx /               ext4    defaults,noatime,discard,errors=remount-ro 0       1

Free up system space

$ cd /
$ sudo fstrim -a -v 

Reduce swap memory

$ sudo sysctl vm.swappiness=1

Reduce log storage

$ sudo vim /etc/systemd/journald.conf
SystemMaxUse=20M
SystemKeepFree=4G

Settings

Privacy - Screen

Sharing - Remote desktop

Passwords and keys - Passwords - Login - Change password

Power

Software - Right menu - Update preferences

Customization

Terminal

Change login screen background

$ sudo apt install flatpak
$ wget https://dl.flathub.org/repo/appstream/io.github.realmazharhussain.GdmSettings.flatpakref
$ flatpak install ./io.github.realmazharhussain.GdmSettings.flatpakref
$ flatpak run io.github.realmazharhussain.GdmSettings

Settings

Background

Users