Zipdox

Debian pro audio for dummies

PipeWire edition

This article is a guide to installing Debian with Cinnamon, setting up PipeWire with JACK support, and installing the KX Studio repositories and some plugins.

Getting the installer

The download button on the Debian front page downloads the net installer image, but the more complete installation image is preferable.

Flashing the image to a USB drive

You need a USB flash drive to install Debian (or a DVD if your motherboard has no USB boot, but I won’t cover that here). I suggest using Ventoy, it allows you to put multiple ISOs on USB drive, and chose which one to boot at startup. If you want simplicity and prefer to just boot straight into the Debian installer, use Balena Etcher.

If you installed Ventoy on the USB drive, just copy the Debian ISO onto it. If you chose Balena etcher, just use it to burn the ISO to the drive.

Dual boot

If you don’t want to dual boot, and just want Debian alone (overwriting any OS that’s already on your drive), skip this step.

To dual boot, you will need to shrink your Windows partition. I suggest this guide for how to do this.

Booting into the installer

You will need to access your computers UEFI/BIOS. Doing this involves pressing one of the function keys, ESC, or DEL during startup. This is specific to your motherboard. If you don't know which one, you can try mashing F1, F2, F8, F10, F12, ESC, and DEL, to see which one works. After getting onto your UEFI/BIOS, you will need to disable "secure boot" in the boot section. Secure boot is a feature that only allows operating systems signed with specific keys (usually Microsoft's) to boot. Since we want to install and use Debian, this is unwanted. Save the changes and reboot (F10 usually).

After disabling secure boot, insert the USB stick with Debian on it into the computer and boot into the UEFI/BIOS again. This time use the boot override menu (usually in the rightmost section) to boot from the USB drive. Choose the UEFI option if available. If you don't a boot override menu, you can change the boot priority in the boot section to make the USB drive the first option and reboot.

Debian installation

When the Debian installer boots, choose the graphical install. Choose your language (if you set it to French, I swear to god...) and location (for the time zone). Then choose your locale. Then your keyboard layout.

After the installer configures your network, it'll ask for a hostname. This is your device name. You can leave the domain name in the next menu blank.

Next it'll ask for a root password. LEAVE THIS BLANK! If you set it, your user account won't get superuser privileges. Leaving the root password blank will give your user account superuser privileges and disable root login. Next create a user account. Don't forget your username obviously.

Next is disk partitioning. If you chose to dual boot, choose "Guided - use the largest continuous free space". If you wish to overwrite whatever is on the disk, choose "Guided - use entire disk". Select your disk. Choose "All files in one partion (recommended for new users)". Double check that you chose the right disk and click "Finish partitioning and write changes to disk". Remember the disk you chose for the GRUB bootloader installation later. Debian will now install the base system.

After the installer finishes installing the base system, it'll ask you if you have more installation media. Choose no. Next it'll ask you to use a network mirror. CHOOSE YES. If you choose no, you'll have to manually edit your /etc/apt/sources.list later, which is a pain. Choose your mirror location. When it asks for a proxy, leave it blank.

The software selection menu is important! Unselect "Debian desktop environment" and "GNOME" (sorry, not sorry, GNOME fans,). Select "Cinnamon".

Next, the installer will ask to install the GRUB bootloader. Choose yes, and select the right drive install to. After installing GRUB, the installer will finish the installation and prompt you to reboot.

Initial setup

After booting into your fresh Debian install, log in. Open a terminal from the taskbar and run sudoedit /etc/apt/sources.list. Your password isn't printed when you type it. Remove the lien starting with "deb cdrom". Save and close the editor with CTRL+X, y, and Enter. Run sudo apt update and then sudo apt upgrade.

If you don't care about the current look of the desktop and the icons, you can skip this paragraph. Personally I prefer the Papirus icon theme, install it with sudo apt install papirus-icon-theme. After it finishes installing, open the start menu and search for "Themes" and open it. For icons, select Papirus-Dark. Then select the Add/Remove tab on the top, and find a theme you like. Personally I prefer CBlack. Download your choice. Then go back the Themes tab and for "Applications" and "Desktop" select your chosen theme.

Open the start menu and search "Font selection", and open it. Under Font Settings, set Antialiasing to Grayscale. The log out and back into your account. This will disable the color fringing around the edges of letters that Windows is known for.

Now you might want to search for Firefox in your start menu and right-click > Add to panel. Open it and go to addons.mozilla.org, search for uBlock Origin, and install it. Please don't install Chrome, or even worse, Opera.

Audio setup

To add JACK support to PipeWire, open a terminal and run sudo apt install pipewire-audio-client-libraries libspa-0.2-jack. Then sudo cp /usr/share/doc/pipewire/examples/ld.so.conf.d/pipewire-jack-*.conf /etc/ld.so.conf.d/ and sudo ldconfig. Log out and back in again.

For managing your audio devices and audio graph, sudo apt install pavucontrol qpwgraph.

KXStudio

KXStudio is a collection of applications and plugins for audio production.

Follow the manual install instructions for installing the KXStudio repositories here.

After following the instructions, run sudo apt update and sudo apt upgrade. Then install Carla, Ardour, and some plugins with sudo apt install carla ardour kxstudio-meta-audio-plugins.

Done!

Congratulations! You're now ready to use JACK applications and do audio production on your Debian install.