Robot Kersey's Surplus Content Depot


// June 26th, 2021

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

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

> sh-keygen -t ed25519 -C "<your email address>"

Infinite bash history


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 ~/.pyenv

Install Pyenv-virtualenv


Install Pycharm

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

Install geckodriver for front-end automated tests

> wget
> tar -xzf geckodriver-v0.24.0-linux32.tar.gz
> sudo mv geckodriver /usr/local/bin/geckodriver

Install Postgresql

> sudo apt-get install postgresql