My personal Linux configuration and setup
Laptop π» | Desktop π₯οΈ | |
---|---|---|
CPU | Intel i7-10875H @ 5.100GHz | Intel(R) i7 7700 |
Memory | 32 GB DDR4 | 16 GB DDR4 |
Storage | Samsung Evo SSD 1TB x2 | 500 GB SSD |
GPU | NVIDIA GeForce RTX 2060 | AMD Raedon RX 550 |
During PopOS! installation, choose advanced method and click in 'Modify partitions'. This will open GParted, I configured the partitions this way:
Pop Partition | Name | Label | Format | Size |
---|---|---|---|---|
/boot | EFI | boot | FAT32 | 2 GB (I mess a lot with kernels π) ~ 700 MB is recommended |
swap | N/A | swap | linux-swap | 2 x Memory size (64GB for π» & 32 GB for π₯οΈ) |
/ | root | PopOS | EXT4 | Rest of the disk space |
/mnt/DATA (not used in installation) | DATA | DATA | NTFS | The whole second disk (if any) |
Now close GParted and tell the installation wizzard to use those partitions clicking the colored blocks and selecting how is that partition going to be used.
Note: Always enable the format option for every partition unless you are not doing a clean installation (and you know what you are doing).
With Oh My ZSH! of course
$ sudo apt install zsh
$ chsh -s $(which zsh)
$ curl -L git.io/antigen > ~/antigen.zsh
$ mkdir -p ~/antigen && mv ~/antigen.zsh ~/antigen
Clone the ~/.zshrc file into your home directory.
$ sudo apt install tilix
Execute
$ sudo update-alternatives --config x-terminal-emulator
And choose the tilix option
$ sudo update-alternatives --config x-terminal-emulator
[sudo] password for user:
There are 2 choices for the alternative x-terminal-emulator (providing /usr/bin/x-terminal-emulator).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/gnome-terminal.wrapper 40 auto mode
1 /usr/bin/gnome-terminal.wrapper 40 manual mode
* 2 /usr/bin/tilix.wrapper 30 manual mode
Press <enter> to keep the current choice[*], or type selection number: 2
Fira Mono Regular (Powerline pathced)
Note: A powerline patched font is required for spaceship theme special icons to work.
$ sudo apt install python3-pip
$ pip3 install --user git+https://github.com/LazoCoder/Pokemon-Terminal.git
$ pokemon arceus
or
$ ichooseyou lucario
Clone the ~/.zsh_aliases file into your home directory.
WPS Office π (Best linux office suite!!!)
$ sudo apt install flameshot
Open Settings app and go to Devices > Keyboard. The disable the default screenshot mapping to the Print key.
Then go to the bottom and create a new custom shortcut with the command flameshot gui
and bind it to the Print key:
Add it and you are done! Every time you hit the Print key the flameshot gui tool will start.
PopOS! uses gnome as default desktop environment, here are some useful tools to make the most out of it π₯
Gnome Tweaks lets you modify different settings like enabling the minimize and maximize buttons for app windows, changing themes, fonts and many other things...
$ sudo apt install gnome-tweaks
Gnome Extensions can improve a lot your user experience with the gnome desktop environment. You can install them visiting this web site:
You need to install the gnome shell integration Chrome extension or Firefox Add-on to easily (un)install the extensions. Once installed, I suggest to activate the extensions synchronization option to save them in your account.
These are the most useful extensions I have tried:
- Audio Output Swithcer: Switch audio output device from top menu
- Caffeine: Toggle screen timeout on/off with just a click
- Clipboard Indicator: Easily access your clipboard history
- CPU Power Manager: Define and quickly change CPU performance profiles
- Dash to Dock: Get a highly customizable dock for your apps!
- Lock Keys: Know Capslock & Numslock status in the top bar
- OpenWeather: Know your local weather from the top bar
- Removable Drive Menu: View and eject removable drives as USB or externar disks devices
- Tray Icons: Enable tray icons in the top bar. Hello again to slack, teamviewer and similar apps
- User Themes: Enables the option to install and use custom themes in your desktop environment
To easily install docker without messing with ppa repos or legacy docker versions, execute:
$ curl -o- https://get.docker.com | bash
$ sudo usermod -aG docker $USER
Note: NVM is automatically installed with the nvm zsh antigen plugin
NVM (Node Version Manager) is a command line tool that helps you easy manage multiple node versions in your system.
One of it's main benefits is you don't need to execute global npm commands with root permissions, this is due to it's user scoped node installation. To install NVM and start using it, execute:
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash
$ nvm install 10.16.3 # Install a node version
$ nvm use 10.16.3 # Use a node version
$ npm i -g npm # Execute global npm installation without root permissions