-
Copy everything (except
README.md) to your home directory -
Replace placeholders in
.gitconfig -
Create the following symlinks
ln -s ~/.vim/.vimrc ~/.vimrc ln -s ~/.vim/.gvimrc ~/.gvimrc
The following may be Ubuntu and/or GNOME specific.
GNOME Terminal can be configured to set the TERM environment variable to "xterm-256color" (instead of the default "xterm") by having it run the following command instead of the normal shell command.
env TERM=xterm-256color /bin/bash
The default "Places" directories can be configured with the xdg-user-dirs-update command.
Example: Point to lowercase versions of the defaults
xdg-user-dirs-update --set DESKTOP $HOME/desktop
xdg-user-dirs-update --set DOWNLOAD $HOME/downloads
xdg-user-dirs-update --set TEMPLATES $HOME/templates
xdg-user-dirs-update --set PUBLICSHARE $HOME/public
xdg-user-dirs-update --set DOCUMENTS $HOME/documents
xdg-user-dirs-update --set MUSIC $HOME/music
xdg-user-dirs-update --set PICTURES $HOME/pictures
xdg-user-dirs-update --set VIDEOS $HOME/videos
File associations can be changed by copying the defaults from
/usr/share/applications/defaults.list to ~/.local/share/applications/mimeapps.list and then
modifying them.
Example: Change default text editor from Gedit to Sublime Text
sed -n 's/gedit.desktop/sublime_text.desktop/Ip' \
/usr/share/applications/defaults.list >> \
~/.local/share/applications/mimeapps.list
Desktop files in ~/.config/autostart/ are run automatically when you login.
Example: Run awesome-script.sh
[Desktop Entry]
Type=Application
Name=Awesome Script Name
Exec=~/bin/awesome-script.sh
Icon=system-run
X-GNOME-Autostart-enabled=true