Skip to content

Instantly share code, notes, and snippets.

@matthiasbaldi
Last active June 27, 2025 13:04
Show Gist options
  • Select an option

  • Save matthiasbaldi/0f7b329af905433dc91fa96dffc23357 to your computer and use it in GitHub Desktop.

Select an option

Save matthiasbaldi/0f7b329af905433dc91fa96dffc23357 to your computer and use it in GitHub Desktop.
Ubuntu Notebook Setup
# part
# https://github.com/junegunn/fzf
eval "$(fzf --zsh)"
# config for eza
alias ls=eza
# enable jumping with z
. /home/matth/projects/tools/bash/z.sh
# posh
# POSH_URL=https://github.com/JanDeDobbeleer/oh-my-posh/raw/refs/heads/main/themes/rudolfs-dark.omp.json
# POSH_URL=https://github.com/JanDeDobbeleer/oh-my-posh/raw/refs/heads/main/themes/agnosterplus.omp.json
POSH_URL=/home/matth/projects/tools/bash/agnosterplus.omp.json
eval "$(oh-my-posh init zsh --config $POSH_URL)"
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#ffffff",
"foreground": "#100e23",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " {{ .UserName }}",
"type": "session"
},
{
"background": "#91ddff",
"foreground": "#100e23",
"powerline_symbol": "\ue0b0",
"properties": {
"folder_icon": "\uf115",
"folder_separator_icon": " \ue0b1 ",
"home_icon": "\ueb06",
"style": "agnoster"
},
"style": "powerline",
"template": " {{ .Path }} ",
"type": "path"
},
{
"background": "#95ffa4",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FFF494{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}",
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
],
"foreground": "#193549",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"properties": {
"fetch_stash_count": true,
"fetch_status": true
},
"type": "git"
},
{
"background": "#95ffa4",
"background_templates": ["{{ if gt .Code 0 }}#FCA17D{{ end }}"],
"foreground": "#ffffff",
"properties": {
"always_enabled": true
},
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " \u2665 {{ if gt .Code 0 }}\uf00d {{ reason .Code }}{{ else }}\uf42e{{ end }} ",
"type": "status"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "#003543",
"foreground": "#ffffff",
"style": "plain",
"template": " \ue641 {{ .CurrentDate | date .Format }} ",
"type": "time"
},
{
"background": "#83769c",
"foreground": "#ffffff",
"properties": {
"always_enabled": true
},
"style": "plain",
"template": " \ueba2 {{ .FormattedMs }} ",
"type": "executiontime"
}
],
"type": "rprompt"
}
],
"final_space": true,
"version": 3
}

Base

sudo apt install curl vim -y
sudo apt install flatpak gnome-software-plugin-flatpak gnome-software
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Packages

DevTools

  • sudo apt install git
  • sudo snap install kontena-lens --classic
  • flatpak install com.mongodb.Compass
  • flatpak install io.kinvolk.Headlamp
  • sudo apt-get -y install podman ---> podman login --authfile $HOME/.config/containers/auth.json hub.fity.tech
  • flatpak install flathub io.podman_desktop.PodmanDesktop
  • flatpak install com.usebruno.Bruno

kubectl

Others

Office Tools

Gnome

  • sudo apt install gnome-tweaks
  • flatpak install com.mattjakeman.ExtensionManager
  • sudo apt install gir1.2-gtop-2.0 libgtop2-dev --> gnome system monitor extension

Gnome Extensions

Bash/ZSH enhancements

Configuration

fingerprint for sudo

  • sudo pam-auth-update
@tom-wenger
Copy link

🤩🚀🙏

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