Skip to content

denibertovic/dotfiles

Repository files navigation

Repo for my various config files...

Steps:

0. Set up paswordless sudo

1. Install prerequisites:

    apt-get install make git
    # assuming you cloned this repo you have git already

2. Make sure the user has passwordless sudo

3. Run the playbook:

    make

4. Install vim plugins and run install.sh for YouCompleteMe
5. Install skype
6. gpg --import /path/to/backup/.gnupg/pubring.gpg
   cp /path/to/backup/.gnupg/private-keys-v1.d/* ~/.gnupg/private-keys-v1.d
   # verify
   gpg -K # Should list key meta data but point to yubikey

7. cd .vim/bundle/vimproc && make


/etc/crypttab:

add discard option

/etc/fstab
add defaults,noatime,discard options


/etc/lvm/lvm.conf

set issue_discards = 1

And finally run: sudo update-initramfs -u -k all


Troubleshooting:

If ipython fails to start with the following error:

    ImportError: No module named shutil_get_terminal_size

Run the following command:

    pip install --upgrade backports.shutil_get_terminal_size

# Firefox disable middle button pase
# This is annoying on the thinkpad X1 trackpoint middle button
# becuase it's too sensitive and used for scrolling
about:config
    middlemouse.paste false
    middlemouse.contentLoadURL false