----------------------------------------------------------------------------------------------

Linux setup

All of the things I remember/forget to do when setting up a new machine

(A work in progress, safety not guaranteed)

Install Bhodi Linux

Current version: 6.0

Bhodi Linux Homepage

Enlightenment settings

Make alt-tab switch between all open windows

(not just the ones on your current desktop)

Settings -> Windows -> Window Switcher ->

[X] Windows from other desks [X] Windows from other screens

Bash settings

Change CapsLock to a control key

setxkbmap -layout us -option ctrl:nocaps

Set up an ssh key

ssh-keygen -t ed25519 -C ""

Infinite bash history

Placeholder

Notes on bash history

Putting a space before a command keeps the line from being added to your history

Disable trackpad (if it bugs you)

synclient TouchpadOff=1

Pyenv and Pyenv-virtualenv

Install dependencies

sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl git

Install Pyenv

cd ~/ git clone https://github.com/pyenv/pyenv.git ~/.pyenv

Install Pyenv-virtualenv

Placeholder

Install Pycharm

https://www.jetbrains.com/pycharm/download/#section=linux

tar -xzf pycharm-professional-2021.1.1.tar.gz sudo mv pycharm-2021.1.1 /opt/pycharm
/opt/pycharm/bin/pycharm.sh &

Install geckodriver for front-end automated tests

wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux32.tar.gz tar -xzf geckodriver-v0.24.0-linux32.tar.gz sudo mv geckodriver /usr/local/bin/geckodriver

Install Postgresql

sudo apt-get install postgresql