dmalt / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My tools

Category Tool Dotfile
Text editor neovim nvim/init.vim
Shell zsh zshrc, zlogin
Version control git gitconfig

Installation

Essentials

Clone dotfiles to the home folder and run the installation script:

git clone git@github.com:dmalt/dotfiles.git .dotfiles
cd dotfiles
./install.sh

Installed components

  • Python packages: pynvim neovim flake8 jedi black
  • System packages: neovim wget curl tmux ranger fzf htop zsh
  • oh-my-zsh, zsh-syntax-highlighting
  • Vundle (vim plugin manager)

Additionally the script makes symbolic links to destination dotfiles

Change default terminal to zsh

chsh -s $(which zsh)

Then logout and log back in

Alacritty

For Ubuntu just add repo and install (imported from here):

sudo add-apt-repository ppa:aslatter/ppa
sudo apt install alacritty

Vim / Neovim plugins

Open vim/neovim and type

:PluginInstall

The silver searcher

sudo apt instal silversearcher-ag

Rofi

Ubuntu:

sudo apt-get install rofi

In i3/config find rofi-launching command and adjust padding and fontsize

vim-airline fonts

sudo apt-get install fonts-powerline

Repo here

Conky

install lm-sensors with

sudo apt-get install lm-sensors

Also install fortune

sudo apt-get install fortune

Setup horizontal and vertical padding in .conkyrc

Add ssh key to github

Generating ssh key

First, make sure openssh package is installed

In arch use:

sudo pacman -S openssh

Run the following to generate the key:

ssh-keygen -t ed25519 -c "email@example.com"

Then add key to ssh-agent:

eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519

Adding ssh key to github account

Copy key to clipboard:

xclip -sel clip < ~/.ssh/id_ed25519.pub

Go to github ---> settings ---> SSH and GPG keys ---> new

MATLAB

  1. Mount the first image with

    mkdir ~/mountpoint
    sudo mount image1.iso ~/mountpoint
  2. Run the installation script with

    sudo ~/mountpoint/install
  3. When the installation from the first image is done, the popup window is shown. Unmount the first image and mount the second one to the same mounting point:

    sudo umount ~/mountpoint
    sudo mount image2.iso ~/mountpoint
  4. Click ok in the popup window to continue the installation.

  5. Copy files

  6. The first time run MATLAB with sudo to activate it. Sudo is required since the default installation locacation is /usr/local and regular user doesn't have has permissions to write there.

sudo `which matlab`

After installation

1.Matlab complains about fontconfig.

	cd /usr/local/MATLAB/<version>/bin/glnxa64
	sudo mv libfreetype.so.6.11.1{,.bak}

Borg

Borg should be installed with /usr/bin/pip (not anaconda version); msgpack version should be 0.5.6

/usr/bin/pip3 install msgpack==0.5.6
/usr/bin/pip3 install borgbackup[fuse]

Powerline font for vim-airline plugin

Follow installation instructions

i3 setup

Don't forget to install i3blocks package:

sudo apt-get install i3blocks

About


Languages

Language:Python 42.1%Language:Lua 29.4%Language:Shell 15.6%Language:Vim Script 11.6%Language:Vim Snippet 1.1%Language:Scheme 0.0%