Skip to content

Instantly share code, notes, and snippets.

@tabrez
Last active November 7, 2023 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tabrez/bd288d21463244082cf378f174765aef to your computer and use it in GitHub Desktop.
Save tabrez/bd288d21463244082cf378f174765aef to your computer and use it in GitHub Desktop.

Setup Fedora Kinoite

Install MEGAsync, Mullvad & JetBrains Mono fonts

wget https://gist.githubusercontent.com/tabrez/e70db2f45d2bb7b7ac4ece9f5997e423/raw -O setup_fedora.sh
bash setup_fedora.sh

Configure desktop

  • Configure display settings
  • Create new terminal profile and select jetbrains mono font
  • Select 'Large Icons' in Window Behaviour

Sync folders using megasync

Login into megasync and sync the folders as needed. Remove . from sync excludes, add .venv, data, dbs, mlruns to sync excludes

Add sync for the following folders:

  • mega/devops/distrobox/pybox
  • mega/code
  • mega/misc/ssh_keys

move private key to ~/.ssh/

Install apps using flatpak

bash install-flatpaks.sh

Create toolbox container

toolbox create --image quay.io/toolbx-images/ubuntu-toolbox:22.04 main
toolbox enter main

Configure the toolbox container

cd ~/mega/devops/distrobox/pybox
bash init.sh

Install vs code extensions

bash install-vscode-extensions.sh

Optional: save and load distrobox container if needed

Save the distrobox container

podman container commit -p pybox pybox:0.1
podman save pybox:0.1 | gzip > pybox_distrobox.tar.gz

Copy the above file to a different machine and run the following command:

podman load < pybox_distrobox.tar.gz

To create a new distrobox container from the above image, run the following command:

distrobox create --image pybox:0.1 --name pybox
distrobox enter --name pybox

You can replace podman with docker in the above commands if that's installed instead. You can also use toolbox instead of distrobox on Fedora systems but check if there are any differences in syntax of the commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment