Ubuntu

Introduction

I use Ubuntu as my primary OS, specifically the Kubuntu flavor. I also use it over Mac OS and Windows.

Well, now it is 50/50 Kubuntu and elementary OS. Oh, elementary OS isn't really part of the Ubuntu family, but it is based off Ubuntu.

Boot Splash

  • Change boot splash in Ubuntu(s)

    • sudo apt install plymouth-theme*

    • sudo update-alternatives --config default.plymouth

DKMS Modules

  • Auto-rebuild all dkms modules via command line:

    • ls /var/lib/initramfs-tools | sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start

Printing

Kubuntu is very different from many other flavors. I switched my Kubuntu machine to elementary OS and noticed that I no longer had "print to pdf". The follow command added it:

  • sudo apt install printer-driver-cups-pdf

If you have an older Ubuntu flavor, try:

  • sudo apt-get install cups-pdf

Miscellaneous

  • Debian / Ubuntu display manager found in /etc/X11/default-display-manager

  • Problems with lag / slow / freezes while copying large files:

    • Change how swap file is utilized: sudo sysctl vm.swappiness=10

    • Change your IO scheduler, which can be done per device: echo "bfq" | sudo tee /sys/block/sda/queue/scheduler

  • Python in 22.04 LTS is installed weirdly to me. The command python gives an error "No such file or directory". The version of Python installed is version 3. To have python work with version 3 you need to install: sudo apt install python-is-python3