Technical documentation

General notes on how to get up and running with my favourite tools real quick. Also documented here are the common issues that I've faced and their mitigations. Current setup is Thinkpad T440 running Arch and i3

Unresponsive touchpad after resuming from sleep

Create a new file in /lib/systemd/system-sleep/ and add the following to it. Make the file executable. It will run after each resume from suspend.


modprobe -r psmouse
modprobe psmouse

Sound and brightness function keys

Install xbindkeys, create ~/.xbindkeysrc and do a $ xbindkeys -d > ~/.xbindkeysrc. Also put the following four lines in there.

# Increase volume
"pactl set-sink-volume @[email protected] +1000"

# Decrease volume
"pactl set-sink-volume @[email protected] -1000"

# Mute volume
"pactl set-sink-mute @[email protected] toggle"

# Increase backlight
"light -A 2"

# Decrease backlight
"light -U 2"

Sync all terminal histories together

Bash aliases

alias gits="git status"
alias gitch="git checkout"
alias gitco="git commit -m"
alias gita="git add"
alias gitaa="git add ."
alias gitph="git push"
alias gitpl="git pull"
alias gitpho="git push origin"
alias gitplo="git pull origin"
alias gitcp="git cherry-pick"
alias bejs="bundle exec jekyll serve"
alias bex="bundle exec"
alias ls="exa"
alias venv="source ./venv/bin/activate"

Misty touchpad issue arch

Set the following boot parameter: i8042.noloop i8042.nomux i8042.nopnp i8042.reset


Install redshift (comes with redshift-gtk). Enable redshift service and add redshift-gtk to ~/.xinitrc before dm startup. ~/.config/systemd/user/ file to contain the following.

Description=Redshift display colour temperature adjustment

ExecStart=/usr/bin/redshift -l 52.52:13.37


The /etc/geoclue/geoclue.conf file to contain an additional section for redshift.



On android just install the app. On desktop, install kdeconnect, and indicator-kdeconnect (aur) package. Add indicator-kdeconnect & to ~/.xinitrc.

Getting wifi to work

Connect to lan and install wpa_supplicant. Use iw to search for wifi and then add in wpa_supplicant config the wifi username and password. This page has everything needed to get up and running with wireless: Install networkmanager, enable and start networkmanager service. Install nm-applet and add nm-applet & to ~/.xinitrc.

Get git and other autocomplete

Install bash-autocomplete