Ubuntu Community Repo has i3, but it will be an old version, you will want to add the latest version available via the official i3 repo [see i3wm.org](https://i3wm.org/docs/repositories.html)

Add i3wm repo: $ /usr/lib/apt/apt-helper download-file https://debian.sur5r.net/i3/pool/main/s/sur5r-keyring/sur5r-keyring_2024.03.04_all.deb keyring.deb SHA256:f9bb4340b5ce0ded29b7e014ee9ce788006e9bbfe31e96c09b2118ab91fca734 $ sudo apt install ./keyring.deb $ echo "deb http://debian.sur5r.net/i3/ $(grep '^DISTRIB_CODENAME=' /etc/lsb-release | cut -f2 -d=) universe" | sudo tee /etc/apt/sources.list.d/sur5r-i3.list $ sudo apt update $ sudo apt install i3 Fix screen resolution see: https://jaketrent.com/post/set-screen-resolution-i3/

1, Print mode:
cvt 1920 1080

  1. use output to create a newmode

  2. Place three lines in .profile, example:

_xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync xrandr --addmode DP-2 1920x1080_60.00 xrandr --output DP-2 --mode 1920x1080_60.00