]> code.delx.au - dotfiles/blob - README.md
Updated README
[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 https://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 .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,.vimrc} ~/
23 ln -sf ~/.dotfiles/.gitignore_global ~/.gitignore
24 ln -sf ~/.dotfiles/.ssh/config ~/.ssh/
25 mkdir ~/.config/environment.d && ln -sf ~/.dotfiles/.config/environment.d/* ~/.config/environment.d/
26 ```
27
28
29 ## Emacs setup
30
31 Clone the dotemacs repository:
32 ```
33 git clone https://delx.net.au/git/dotemacs ~/.emacs.d
34 ```
35
36
37 Initialise the emacs package submodules
38 ```
39 cd ~/.emacs.d
40 git submodule init
41 git submodule update
42 ```
43
44
45 Set up Emacs daemon to autostart:
46 ```
47 mkdir -p ~/.config/autostart
48 ln -sf ~/.dotfiles/.config/autostart/emacs.desktop ~/.config/autostart
49 mkdir -p ~/.local/share/applications
50 ln -sf ~/.dotfiles/.local/share/applications/emacs.desktop ~/.local/share/applications/
51 ```
52
53
54 ## Font setup
55
56 Symlink the font config:
57 ```
58 mkdir -p ~/.config/fontconfig
59 ln -s ~/.dotfiles/.config/fontconfig/fonts.conf ~/.config/fontconfig/
60 ```
61
62
63 ## Firefox setup
64
65 Privacy:
66 ```
67 privacy.donottrackheader.enabled = true
68 privacy.trackingprotection.enabled = true
69 ```
70
71 Make the URL bar more stupid:
72 ```
73 browser.fixup.alternate.enabled = false
74 browser.urlbar.trimURLs = false
75 keyword.enabled = false
76 ```
77
78 Blank home and new tab page:
79 ```
80 browser.startup.homepage = about:blank
81 browser.newtabpage.enabled = false
82 browser.newtabpage.enhanced = false
83 ```
84
85 Send DNS through SOCKS proxy:
86 ```
87 network.proxy.socks_remote_dns = true
88 ```
89
90 Graphics acceleration, reduces tearing in video playback:
91 ```
92 layers.acceleration.force-enabled = true
93 ```
94
95 Don't prompt to reset profile if unused for a little while:
96 ```
97 browser.disableResetPrompt = false
98 ```