- Clean pkg cache
- Remove unused packages (orphans)
- Clean cache in /home
- remove old config files
- Find and Remove
- duplicates
- empty files
- empty directories
- broken symlinks
#!/bin/bash | |
stty -ixon # Disable ctrl-s and ctrl-q. | |
shopt -s autocd #Allows you to cd into directory merely by typing the directory name. | |
HISTSIZE= HISTFILESIZE= # Infinite history. | |
export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" | |
[ -f "$HOME/.shortcuts" ] && source "$HOME/.shortcuts" # Load shortcut aliases | |
# System Maintainence | |
alias mw="~/.config/mutt/mutt-wizard.sh" |
This is a collection of the tweaks and modification I've made to my Arch Linux installation over the months. These may be applicable to other distros, but please check first before doing anything. I also included Arch Wiki references for all the procedures I mentioned. My recommendation is not to blindly follow this gist but to always check with the Arch Linux wiki first. Things move fast and by the time you're reading this my gist may be out of date. Lastly, the golden rule: never execute a command you don't understand.
My current DE of choice is KDE's Plasma. I find it just about perfect.
There are various ways to install it on Arch. The most popular one is to install plasma
and plasma-applications
, but I don't like doing that because it comes with too many programs I'll never use. I, instead, install the base plasma
group, remove the few extra packages that come with it, then I finish off by installing a few KDE apps that don't come with th
- make sure to install
grub
usinggrub-install
and configure it properly usinggrub-mkconfig -o /boot/grub/grub.cfg
(for uefi it is not so easy), but before runninggrub-mkconfig
installintel-ucode
oramd-ucode
- install
networkmanager vim htop net-tools wireless_tools
# net-tools forifconfig
, wireless_tools foriwconfig
- remember to configure pacman mirrors properly see
/etc/pacman.d/mirrorlist
- reboot
systemctl enable --now NetworkManager
- use
nmtui
to connect to internet - install
git man-pages procps-ng
# procps-ng forpkill
This document was created back in 2020 and might not be actual nowadays. It is not supported anymore, so use thise information at your own risk.
- Download WSL2 Kernel
- run
wsl --set-default-version 2
in windows command line, so that all future WSL machine will use WSL2.