Arch Linux | Installations | Configurations | Solutions

You can find all the solutions, installations and configurations about Arch Linux & packages. I’m using for terminal screen cast and Github to import cast files. You can copy the command from the asciinema player by pausing it then, copy your needs. Also, I recommend you to visit Preserving My Use to Computer Commands for useful commands.

Happy Linuxing!

Table of contents

  1. Arch Linux Installation
  2. Author's Linux Machine info
  3. Hack all my config files
  4. Extend Display/monitors
  5. Add full name of user in login manager
  6. Check package version
  7. Hide dotfiles in mc file manager
  8. Create a symlink folder of mount partition
  9. Use git to track the dotfiles
  10. Auto mount the external drives using udiskie
Arch Linux Installation

It is always a wise decision to follow Arch Linux installation from arch wikipage at link.

Author's Linux Machine info

Hack all my config files

You can find all my config files at Github.

Extend Display/monitors (install mons from pacaur)

Add full name of user in login manager
sudo chfn -f "Firstname Lastname" "username"
Check package version
pacman -Qi package-name
Hide dotfiles in mc file manager

It's annoying when I see dot(files | folders) all the time in Midnight Commander file manager (mc for short). So, to get rid off: Use ESC+period (.) or ALT+ period or click F9 -> O -> P -> h -> o.

Create a symlink folder of mount partition

I use ~Store Room as a symlink folder of mount ntfs partition. You can do so by:

$ ln -s /mnt/YourPartition ~/FolderToWhichYouWantToSymlink

Note: ~ and $HOME are home directory's very close synonyms.

Use git to track the dotfiles

I use folder named .dotfiles to keep track my dotfiles and then, I upload to remote git repository (say, GitHub). Believe me, this is very easy to use. I strongly recommend to use period (.) infront of folder (or file) name, if the folder(or file) is not use very often such that it will be consider as hidden.

$ mkdir $HOME/.dotfiles
$ git init --bare $HOME/.dotfiles
$ echo "alias config='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'" >> $HOME/.YourShell-rc-File

For example:

$ echo "alias config='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'" >> $HOME/.zshrc


Add this line in the .zshrc file:

alias config='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'"

I've created an alias named config which means instead of using the command git, we use config.


First, go to the dotfile path to which you want to track.

$ config add .filename
$ config commit -m "+ .filename"

Then, add newly created remote repository in your local machine, after that push it.

$ config push origin master

Note: I use "+" in my commit message as "Added my".

Auto mount the external drives using udiskie

I use "udiskie" package (GUI for udisks2) to auto-mount my external drives, and in i3wm config, I added this line:

exec --no-startup-id udiskie -nas

where flags nas means notification, auto-mount and smart tray respectively.

I also created a symlink folder named "External Devices" in the home directory by doing these:

  1. Create a directory name as /media:
$ sudo mkdir /media
  1. Open nano by typing this:
$ sudo nano /etc/udev/rules.d/99-udisks2.rules

Paste this command and save it:

# ==1: mount filesystem to a shared directory (/media/VolumeName)
# ==0: mount filesystem to a private directory (/run/media/$USER/VolumeName)
# See udisks(8)
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{UDISKS_FILESYSTEM_SHARED}="1"
  1. Create symlink as:
$ ln -s /media ~/External\ Devices

Bonus tip: I also use "lsd" pacakge to have icon when I want to list all files & folders inside a directory. Simply, this is an alternative to ls command. You can create an alias as ls for lsd in your shell config.