Overview

HTTPS SSH

dotfiles

This is a set of configuration files for a bunch of Unix apps I use regularly.

Basic setup

git clone https://delx.net.au/git/dotfiles .dotfiles

Make a backup of any existing files:

cd
mkdir -p backup
mv .bash .bash_profile .bashrc .gitconfig .inputrc .pythonrc.py .screenrc .vimrc backup/

Symlink the config files into your home directory:

ln -sf ~/.dotfiles/{.bash,.bash_profile,.bashrc,.gitconfig,.inputrc,.pythonrc.py,.screenrc,.vimrc} ~/
ln -sf ~/.dotfiles/.gitignore_global ~/.gitignore
ln -sf ~/.dotfiles/.ssh/config ~/.ssh/

Symlink the git hooks

cd ~/.dotfiles/.git/
rm -rf hooks
ln -s ../git-hooks hooks

Emacs setup

Clone the dotemacs repository:

git clone https://delx.net.au/git/dotemacs ~/.emacs.d

Initialise the emacs package submodules

cd ~/.emacs.d
git submodule init
git submodule update

Set up Emacs daemon to autostart:

mkdir -p ~/.config/autostart
ln -sf ~/.dotfiles/.config/autostart/emacs.desktop ~/.config/autostart
mkdir -p ~/.local/share/applications
ln -sf ~/.dotfiles/.local/share/applications/emacs.desktop ~/.local/share/applications/

xmonad setup

Symlink the xmonad config:

mkdir -p ~/.xmonad
ln -sf ~/.dotfiles/.xmonad/* ~/.xmonad/

Set up xmonad to autostart:

mkdir -p ~/.config/autostart
ln -sf ~/.config/autostart/{xmonad.desktop,Kupfer.desktop} ~/.config/autostart

XFCE setup

xfconf-query -n -t bool -c xfce4-session -p /startup/ssh-agent/enabled -s true
xfconf-query -n -t string -c xfce4-session -p /startup/ssh-agent/type -s ssh-agent

Font setup

Symlink the font config:

mkdir -p ~/.config/fontconfig
ln -s ~/.dotfiles/.config/fontconfig/fonts.conf ~/.config/fontconfig/

Firefox setup

Privacy:

privacy.donottrackheader.enabled = true
privacy.trackingprotection.enabled = true

Make the URL bar more stupid:

browser.fixup.alternate.enabled = false
browser.urlbar.trimURLs = false
keyword.enabled = false

Blank home and new tab page:

browser.startup.homepage = about:blank
browser.newtabpage.enabled = false
browser.newtabpage.enhanced = false

Send DNS through SOCKS proxy:

network.proxy.socks_remote_dns = true

Graphics acceleration, reduces tearing in video playback:

layers.acceleration.force-enabled = true

Enabling xinput2 gives pixel scrolling and fixes bug #1276449.

# bash
# ~/.xprofile
export MOZ_USE_XINPUT2=1

Don't prompt to reset profile if unused for a little while:

browser.disableResetPrompt = false