Skip to content

Latest commit

 

History

History
133 lines (93 loc) · 4.3 KB

LINUX.md

File metadata and controls

133 lines (93 loc) · 4.3 KB

linux-dotfiles

info

This little guide is my reference when I am setting up a new machine with GNU/Linux.

steps

  1. install linux
  2. update everything
  3. bootstrap-linux.sh
  4. settings setup
  5. little fixes
  6. web browser logins
  7. ssh and gpg setup
  8. terminal setup
  9. extra packages
  10. dotfiles

install linux

Download your distro of choice and install it on your machine (I'll use a Debian based one as reference). Set your username, hostname, password and so on.

update everything

Turn off automatic updates and run these commands in the terminal.

bootstrap-linux.sh

First install these package managers (or some of them) following the official guides:

Then you can launch the bootstrap-linux.sh script, it will automatically install lots of useful packages. Otherwise, manually select which one you'd like to install (just delete or comment the unwanted lines).

./local/bin/bootstrap-linux.sh

settings setup

  • Set system settings.
  • Set file manager settings.
  • Restore data from backup (optional).
  • Setup dock (minimal).
  • Install language support.
  • Set hostname.

little fixes

mkdir -p ~/.local/bin

# manually add caffeine-indicator as a startup application.

web browser logins

Open up your browser and start logging inside your main websites.

ssh and gpg setup

Set up your ssh and gpg keys correctly and test them.

theme

The main color scheme theme is catppuccin in the variant Catppuccin-Macchiato. Apply it to these main applications, if installed (some of them are automatically configured in the dotfiles):

terminal setup

Gnome terminal

Set the terminal profile Catppuccin-Macchiato as default.

alacritty

Install Alacritty.

kitty

Install Kitty.

links

# create a symbolic link (it will only work for the current user though)
sudo ln -s ~/.cargo/bin/alacritty /usr/local/bin/alacritty
sudo ln -s ~/.local/kitty.app/bin/kitty /usr/local/bin/kitty

From now on, from Gnome, with alt + f2 you can run alacritty or kitty.

extra packages

These extra packages must be installed manually.

dotfiles

Add the dotfiles to your system (beware that there are a few ones only for macOS). This includes mainly includes .config/* and .local/bin/*, plus a few other files.