Post-Install Miscellaneous Steps
Install gnome tweaks
sudo apt install -y gnome-tweaks
Tweaking the GUI
- Open "Extensions" and turn off desktop icons
Update firefox settings
- flatpak firefox settings found in
~/.var -
enable home directory access through flatseal
settings then found in
~/.mozilla -
add "multi account containers" extension
Update Environment Variables
- 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
Activate python autocomplete::
sudo activate-global-python-argcomplete
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
- https://devicetests.com/fix-hotspot-connection-issues-ubuntu-22-04-1-lts-android-11
- https://askubuntu.com/questions/580433/how-can-i-allow-ap-hotspot-in-ufw-ubuntu-14-04
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