| #!/bin/bash -e | |
| # Define variables | |
| USER_NAME="user" | |
| RDP_PORT=3389 | |
| # Create a new password for the RDP user | |
| USER_PASSWORD=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-12}) | |
| # Check for root privileges | |
| if [[ $EUID -ne 0 ]]; then |
| /*! | |
| https://serp.co/tools/css-reset/ | |
| <link rel="stylesheet" href="https://css.serp.co/css-reset/normalize.css/"> | |
| */ | |
| /* Document | |
| ========================================================================== */ | |
| /** | |
| * 1. Correct the line height in all browsers. |
This document lists the colors used in the Monokai Pro theme with the Classic filter. Please check the Monokai Pro website for more informations.
Monokai Pro with Classic filter colors:
| Preview | Hexadecimal | RGB | |
|---|---|---|---|
| Activity Bar Background | ![]() |
#272822 |
(39, 40, 34) |
| Activity Bar Foreground | ![]() |
#f8f8f2 |
(248, 248, 242) |
Since SDDM runs under X11 we will be running two separate vnc services, each on it's own port. x11vnc will take care of SDDM, while wayvnc will handle our desktop session. Both services are set up with SSL encryption.
While it's technically possible to run a single service with some scripting magic to switch between the two, this was by far the easiest and most reliable way.
Set a password
MongoDB Crash Course 2022 < TODO: Add Video Link
My work requires us to have full-disk encryption, so these are the steps I use.
The basic idea is to create a LUKS-encrypted partition which is used as an LVM Physical Volume.
The GRUB boot partition isn't encrypted, but everything else is.
These steps tested and working on 22.04 (jammy) and 20.04 (focal).
This guide is only for original Ubuntu out-of-the-box packages. If you have added a custom PPA like
pipewire-debian, you might get into conflicts.
Ubuntu 22.04 has PipeWire partially installed and enabled as it's used by browsers (WebRTC) for recoding the screeen under Wayland. We can enable remaining parts and use PipeWire for audio and Bluetooth instead of PulseAudio.
Starting from WirePlumber version 0.4.8 automatic Bluetooth profile switching (e.g. switching from A2DP to HSP/HFP when an application needs microphone access) is supported. Jammy (22.04) repos provide exactly version 0.4.8. So, we're good.
Based on Debian Wiki, but simplified for Ubuntu 22.04.
| chmod +x ~/.xinitrc | |
| sudo pacman -S ly | |
| sudo systemctl enable ly.service | |
| sudo systemctl start ly.service | |
| # config | |
| sudo vim /etc/ly/config.ini | |
| sudo systemctl restart ly.service |

