]> code.delx.au - dotfiles/blob - README.md
4537283ba65f14828f45ac30395a5af7b5656f97
[dotfiles] / README.md
1 # dotfiles
2
3 This is a set of configuration files for a bunch of Unix apps I use regularly.
4
5 ## Basic setup
6
7 ```
8 git clone http://delx.net.au/git/dotfiles .dotfiles
9 ```
10
11
12 Make a backup of any existing files:
13 ```
14 cd
15 mkdir -p backup
16 mv .bash .bash_profile .bashrc .gitconfig .inputrc .pythonrc.py .screenrc .vim .vimrc backup/
17 ```
18
19
20 Symlink the config files into your home directory:
21 ```
22 ln -sf ~/.dotfiles/{.bash,.bash_profile,.bashrc,.gitconfig,.inputrc,.pythonrc.py,.screenrc,.vim,.vimrc} ~/
23 ln -sf ~/.dotfiles/.gitignore_global ~/.gitignore
24 ln -sf ~/.dotfiles/.ssh/config ~/.ssh/
25 ```
26
27
28 Symlink the git hooks
29 ```
30 cd ~/.dotfiles/.git/
31 rm -rf hooks
32 ln -s ../git-hooks hooks
33 ```
34
35
36 ## Emacs setup
37
38 Symlink the emacs config:
39 ```
40 ln -sf ~/.dotfiles/.emacs.d ~/
41 ```
42
43
44 Initialise the emacs package submodules
45 ```
46 cd ~/.dotfiles
47 git submodule init
48 git submodule update
49 ```
50
51
52 Set up Emacs daemon to autostart:
53 ```
54 mkdir -p ~/.config/autostart
55 ln -sf ~/.dotfiles/.config/autostart/emacs.desktop ~/.config/autostart
56 mkdir -p ~/.local/share/applications
57 ln -sf ~/.dotfiles/.local/share/applications/emacs.desktop ~/.local/share/applications/
58 ```
59
60
61 ## xmonad setup
62
63 Symlink the xmonad config:
64 ```
65 mkdir -p ~/.xmonad
66 ln -sf ~/.dotfiles/.xmonad/* ~/.xmonad/
67 ```
68
69
70 Set up xmonad to autostart:
71 ```
72 mkdir -p ~/.config/autostart
73 ln -sf ~/.config/autostart/{xmonad.desktop,Kupfer.desktop} ~/.config/autostart
74 ```
75
76
77 ## XFCE setup
78
79 ```
80 xfconf-query -n -t bool -c xfce4-session -p /startup/ssh-agent/enabled -s true
81 xfconf-query -n -t string -c xfce4-session -p /startup/ssh-agent/type -s ssh-agent
82 ```
83
84
85 ## Font setup
86
87 Symlink the font config:
88 ```
89 mkdir -p ~/.config/fontconfig
90 ln -s ~/.dotfiles/.config/fontconfig/fonts.conf ~/.config/fontconfig/
91 ```
92
93
94 ## Firefox setup
95
96 Privacy:
97 ```
98 privacy.donottrackheader.enabled = true
99 privacy.trackingprotection.enabled = true
100 ```
101
102 Make the URL bar more stupid:
103 ```
104 browser.fixup.alternate.enabled = false
105 browser.urlbar.trimURLs = false
106 keyword.enabled = false
107 ```
108
109 Blank home and new tab page:
110 ```
111 browser.startup.homepage = about:blank
112 browser.newtabpage.enabled = false
113 browser.newtabpage.enhanced = false
114 ```
115
116 Send DNS through SOCKS proxy:
117 ```
118 network.proxy.socks_remote_dns = true
119 ```