Post-Install Miscellaneous Steps

Install gnome tweaks

sudo apt install -y gnome-tweaks

Tweaking the GUI

  1. Open “Extensions” and turn off desktop icons

Update firefox settings

  1. flatpak firefox settings found in ~/.var

  2. enable home directory access through flatseal

    settings then found in ~/.mozilla

  3. add “multi account containers” extension

Update Environment Variables

  1. Add folders to PATH and PYTHONPATH

Configure /etc

  • /etc/netplan (if applicable)
  • /etc/hosts
  • /etc/network-manager configs

Configure SSH

Configure VSCode

Power Options

from here

cat <<EOT | sudo tee -a /etc/systemd/logind.conf
HandleLidSwitch=lock 
HandleLidSwitchExternalPower=lock
HandleLidSwitchDocked=ignore #when it's docked, leave it unlocked
EOT

save your work and then run

systemctl restart systemd-logind.service

External References

Install drivers for docking hub

Steps found here

https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu

Remove

There were errors related to newer kernels in 23.04

sudo displaylink-installer uninstall 

Fix wpasupplicant issue

Edit sources

cat <<EOT | sudo tee -a /etc/apt/sources.list
deb http://old-releases.ubuntu.com/ubuntu/ impish main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ impish-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ impish-security main restricted universe multiverse
EOT

Then run the following lines

sudo apt update && \
sudo apt --allow-downgrades install wpasupplicant=2:2.9.0-21build1 && \
sudo apt-mark hold wpasupplicant

This enables the wifi devices to communicate and get ip addresses over dhcp:

sudo ufw allow to any port 53
sudo ufw allow to any port 67 proto udp
sudo ufw allow to any port 68 proto udp

Add passthrough between wifi and ethernet devices, for example:

sudo ufw allow in on wlp1s0
sudo ufw route allow out on enx0050b6bd4061
sudo ufw route allow out on enx00b56d06277a

Add a tiling window manager

https://extensions.gnome.org/extension/3733/tiling-assistant/

Adjust gnome brightness time

gsettings get org.gnome.settings-daemon.plugins.power idle-brightness
gsettings set org.gnome.settings-daemon.plugins.power idle-brightness 120

Drivers

sudo ubuntu-drivers autoinstall