some scripts to setup a bare ubuntu 26.04 install home settings.
Find a file
2026-08-06 23:43:12 -04:00
omp_themes.zip Added zip archive of oh-my-posh themes that can be installed manually. 2026-07-16 00:36:45 -04:00
readme.md Added smartcard/yubikey configuration setup to script. 2026-08-06 23:43:12 -04:00
setup.py Added smartcard/yubikey configuration setup to script. 2026-08-06 23:43:12 -04:00

Ubuntu 26.04 user environment setup script for KB3GTN

A script I have hacked together to setup a bash/fish shells on a fresh ubuntu 26.04 install.

It installs the following tools:

  • fish shell
  • oh-my-posh shell prompt
  • updates fish and bash configs to include ~/.local/bin
  • Adds alias to use eza and vi=nvim
  • GnuPG smart card (YubiKey) support for SSH — installs scdaemon/pcscd, configures scdaemon for shared PC/SC access (works around a sharing-violation conflict with GNOME's smartcard watcher), enables gpg-agent's ssh-agent emulation, and points SSH_AUTH_SOCK at it in bash and fish

Download the combined_setup.py file and run it using python:

python3 ./setup.py

This will try to install some dependency packages, if you don't have 'sudo', it will output the apt packages it wants to install and you will have to do that manually.

Packages: neovim neovim-qt git build-essential curl eza starship fish gnupg scdaemon pcscd pcsc-tools

The script will only install the oh-my-posh pure theme. I have included a zip files of all the themes that can be extracted to ~/.config/oh-my-posh and will populate the theme directory with all themes from the oh-my-posh repo.

cp omp_themes.zip ~/.config/oh-my-posh
cd ~/.config/oh-my-posh/
unzip -x omp_themes.zip

To get nerd fonts loaded into the GUI, you can use oh-my-posh to download and install them:

oh-my-posh font install

will show a list of fonts you can select from.