A collection of my config files (aka dotfiles) from Arch Linux. This project is intended to quickly setup my customized environment on a new machine.
Here's a quick look what you get after installation (click to full size):
application / program | description | config file(s) |
---|---|---|
dunst | notification daemon | .config/dunst/dunstrc |
freetype2 | font rendering library | .config/fontconfig/fonts.conf |
i3 | window manager | .i3/config |
i3pystatus | i3status replacement | .config/pystatus.py |
gtk2 | widget-toolkit | .gtkrc-2.0 |
mc | file manager | .config/mc/ |
openssh | secure shell | .ssh/config |
xorg | display server | .config/user-dirs.dirs .local/share/applications/mimeapps.list .xinitrc |
rxvt-unicode | terminal emulator | .Xdefaults |
bash | unix shell | .bash_profile .bashrc |
vim | text editor | .vimrc |
~/.xinitrc
contains hardware dependent options for specific machines. A machine is recognized by its hostname. This is a list of machines I've been using my dotfiles on (I might not be using all of them, but I decided to keep the configs):
- golem - Desktop PC
- marshadow - Dell E6400
- guzzlord - Acer Aspire 5
- lumineon - Thinkpad X220
You need to install base Arch Linux system. Either follow installation guide or use Anarchy Linux. There's no need to install Xorg, desktop environment or any additional packages, as they will be installed during dotfiles setup. You should just be able to log in as a normal user and make sure sudo
command works.
- Clone the repository (you will probably need to install git):
$ git clone https://github.com/rubickcz/dotfiles.git && cd dotfiles
- Execute
setup.sh
and follow instructions:
$ ./setup.sh
- Install HW dependent packages:
- Depending on your CPU, install microcode updates.
- Install video drivers:
- for nVidia:
pacman -S nvidia nvidia-settings
- for Intel: wiki
- for nVidia:
- Reboot and log in again to load X.org and i3 window manager.
Following steps were not automated by a script, because it is easier/more convenient to do them by hand.
- Copy your SSH keys to
~/.ssh
- Copy your private host settings to
~/.ssh/hosts
Import your keys to GnuPG:
$ gpg --import /path/to/secret.key
pass
utility is used to manage passwords, encrypted passwords can be fetched from a private git repo:
git clone <repo_url> ~/.password-store
You can add/copy your private aliases and settings to ~/.private_bashrc
.
Copy your favorite wallpaper to ~/media/images/wallpapers/current.jpg
, it will be set at startup.
This is caused by mounting EFI partition created by Windows (it's size is around 100MB) as /boot
. The EFI parition should be mounted to /efi
, otherwise Linux kernel image will fill up the space quickly.
This is most likely caused by some issue with video driver. Make sure drivers for your GPU are installed. Sometimes following actions help:
- reboot
- plug monitor to another output (if available)
- switch to other virtual terminal (using e.g.
Ctrl+Alt+F2
) and then back
The symptoms are visible horizontal lines on fast moving objects (e.g. in a video). The solution, currently for nVidia only, is to switch on X Server Display Configuration -> Advanced -> Force Full Composition Pipeline in nVidia GUI config. To make effect permanent, let nVidia GUI config write values into file and copy it to /etc/X11/xorg.conf.d/20-nvidia.conf
.