Laptop setup notes

Tim Abell · August 20, 2019

This is mostly for my benefit. Things to go from blank machine to fully functioning work laptop.

Like this (don’t laugh/cringe):

curl https://raw.githubusercontent.com/timabell/dotmatrix/master/bin/bootstrap.sh | sh

This installs my usual package list

  • Run updates
  • Configure nemo file manager to always use list view
  • Run syncthing-gtk from system menu (auto-installs syncthing binary)
    • Configure syncthing not to route over internet (no relay, no public discovery, no NAT traversal)
  • Configure firewall-config to allow syncthing
    • Add manual service syncthing
    • Allow tcp 22000 and 21027 udp
    • Make home network use home zone
    • Add syncthing to home zone
    • Runtime to permanent

firewall config screenshot

  • Tell new and old devices about each other in syncthing, watch ~/Documents etc magically sync
  • Install slack (flatpak, in software manager), sign in. - slack promote the snap version but that’s not installed by default.
  • Install dotfiles by running dotmatrix/bin/install (repo clone already pulled across with syncthing)
  • Generate ssh key ssh-keygen, add key to github
  • Link tomboy to sync’d notes (I use syncthing, not the built-in tomboy sync)
cd ~/.local/share
ln -s ~/Documents/tomboy

Screenshot of mint touchpad settings with customisations

  • Setup terminal colours and turn off transparency

Screenshot mint terminal colours set to solarized

Ruby setup

cd some-project
asdf install
gem install bundler

NodeJs setup

asdf plugin-add nodejs
bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring
asdf install nodejs 8.16.1
node -v

Keyring because nodejs packages are signed and validated https://github.com/asdf-vm/asdf-nodejs#install

Postgres

sudo apt install postgresql

Setup my user, see https://github.com/timabell/schema-explorer/blob/master/pg/setup-me.sh

XPS firmware updates

fwupdmgr get-devices
fwupdmgr get-updates
fwupdmgr update
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

refs:

Fix shutter edit

todo

See also

Share: Tweet | LinkedIn
Suggest improvments: page source on github
If you liked this post then sign up to my mailing list: