Skip to content

Instantly share code, notes, and snippets.

@Melonangie
Last active February 27, 2024 03:44
Show Gist options
  • Save Melonangie/cd415515d484f7889ce2550794f5c846 to your computer and use it in GitHub Desktop.
Save Melonangie/cd415515d484f7889ce2550794f5c846 to your computer and use it in GitHub Desktop.
Configure Ubuntu

Sys

Icons

mkdir ~/.icons
tar -xf ~/Downloads/candy-icons.tar.xz -C ~/.icons
tar -xf ~/Downloads/Sweet-Purple.tar.xz -C ~/.icons 

Cursor

tar -xf ~/Downloads/oreo-spark-purple-cursors.tar.gz -C ~/.icons

Theme

mkdir ~/.themes
tar -xf ~/Downloads/Sweet-Dark-v40.tar.xz -C ~/.themes

Fonts

mkdir ~/.fonts
unzip ~/Downloads/martian-mono-1.0.0-ttf.zip -d ~/.fonts
unzip ~/Downloads/ttf-autohiint.zip -d ~/.fonts
unzip ~/Downloads/OpenDyslexic.zip -d ~/.fonts
  • Clear font cache fc-cache -f -v

Grub Theme

cd ~/Downloads && tar -xf ~/Downloads/Nakano_Yotsuba.tar.gz
cd ~/Downloads/Nakano\ Yotsuba && sudo ./install.sh && sudo update-grub
sudo reboot

Kitty

touch ~/.config/kitty/kitty.conf
touch ~/.config/kitty/synthwave.conf
touch ~/.oh-my-zsh/custom/themes/daivasmara.zsh-theme

APT packages

sudo apt -y install gnome-sushi gnome-tweaks sublime

Homebrew Packages

brew install neovim tig scmpuff diff-so-fancy the_silver_searcher thefuck ccat
  • Create ~/.gitignore and copy .gitignore
  • Modify and source ~/.zshrc
alias cat="ccat --bg=dark"
alias ag='ag --path-to-ignore ~/.ignore'

eval "$(scmpuff init -s)"
eval $(thefuck --alias)
git config --global user.name ""
git config --global user.email 
git config --global core.editor vim
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias tree='git log --graph --pretty='\''%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'\'' --all'
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
git config --global core.pager "diff-so-fancy | less --tabs=4 -RF"
git config --global interactive.diffFilter "diff-so-fancy --patch"
git config --global color.ui true

git config --global color.diff-highlight.oldNormal    "red bold"
git config --global color.diff-highlight.oldHighlight "red bold 52"
git config --global color.diff-highlight.newNormal    "green bold"
git config --global color.diff-highlight.newHighlight "green bold 22"

git config --global color.diff.meta       "11"
git config --global color.diff.frag       "magenta bold"
git config --global color.diff.func       "146 bold"
git config --global color.diff.commit     "yellow bold"
git config --global color.diff.old        "red bold"
git config --global color.diff.new        "green bold"
git config --global color.diff.whitespace "red reverse"
ssh-keygen -t rsa -b 4096 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub

GPU packages

https://www.anaconda.com/blog/getting-started-with-gpu-computing-in-anaconda https://docs.anaconda.com/free/working-with-conda/packages/gpu-packages/#

Next Steps

Install the [workbench](# Next Steps

Configure Ubuntu)

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