Skip to content

My favorite Ubuntu 22.04 initial setup

Logitech MX Keys for Mac in Ubuntu

See this description

Logitech MX Vertical

See this description

Background effects in MS Teams Linux

As of November 2022, for some reason the MS Teams desktop client in Linux doesn't support background effects. The same applies to web client in Firefox. But the web client in Chrome does support them! So simply use Chrome for Teams!

OpenJDK 17, Docker, git installation + command line tools

sudo apt update

sudo apt install -y openjdk-17-jdk
sudo apt install -y git
sudo apt install -y httpie wget curl screen jq
sudo apt install -y magic-wormhole
sudo apt install -y virtualbox

# Docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo sh -eux <<EOF
# Install newuidmap & newgidmap binaries
apt-get install -y uidmap
EOF
dockerd-rootless-setuptool.sh install
docker context use rootless
echo 'echo "" >> ~/.bashrc' >> ~/.bashrc
echo 'export DOCKER_HOST=unix:///run/user/1000/docker.sock' >> ~/.bashrc

Remember to set up git:

git config --global user.name "<name>"
git config --global user.email "<email>"

Python (using pyenv)

sudo apt install -y make \
  build-essential \
  gcc \
  libssl-dev \
  zlib1g-dev \
  libbz2-dev \
  libreadline-dev \
  libsqlite3-dev \
  llvm \
  libncurses5-dev \
  libncursesw5-dev \
  xz-utils \
  tk-dev

curl https://pyenv.run | bash

Add to .bashrc:

export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"

Then:

pyenv install --list
# choose the newest, f.ex. 3.10.7
pyenv install 3.10.7
pyenv global 3.10.7

GUI Tools

  • Google Chrome
  • Slack - Slack (note: use DEB version; do not use Snap version, it's buggy!)
  • KeePassXC - password manager
  • Shutter - screenshooting tool. Very limitted functionality with the Wayland displat manager, but has a cool Drawing tool.
  • IntelliJ IDEA - IDE

Gnome Extentions

  • Dash-to-panel - makes Gnome look more like Windows (one horizontal bar at the bottom)
  • gTile - neat window placement manager, alternative to WinDivvy/Divvy for MacOS

OneDrive sync

  1. First, install this command line tool: https://github.com/abraunegg/onedrive
  2. Then, download this GUI tool: https://github.com/bpozdena/OneDriveGUI

Info

Note: The OneDriveGUI tool is not an installer - it's an executable that just runs :-) So probably you'd like to move it to some ~/bin folder before running.

Comments