I3 Cheat Sheet

Posted : admin On 1/2/2022

Cheat Sheet Factory Edit; FreeBSD cheatsheet. FreeBSD getting started basics. Shortcuts Package manager. Pkg update: Install/upgrade package manager: pkg search keyword Search for a package: Application installation. Pkg install xorg: Install Xorg: pkg install i3 i3 status i3lock dmenu: Install i3WM: pkg install firefox: Install Firefox: pkg. Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

  1. I3 Keyboard Cheat Sheet
  2. Bmw I3 Bimmercode Guide
May 23rd, 2015
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
  1. `$mod` refers to the modifier key (alt by default)
  2. ## General
  3. * `$mod+<Enter>` open a terminal
  4. * `$mod+d` open dmenu (text based program launcher)
  5. * `$mod+r` resize mode (<Esc> or <Enter> to leave resize mode)
  6. * `$mod+shift+r` restart i3 in place
  7. * `$mod+shift+q` kill window (does normal close if application supports it)
  8. ## Windows
  9. * `$mod+e` vertical and horizontal layout (switches to and between them)
  10. * `$mod+f` fullscreen
  11. ## Moving Windows
  12. * `$mod+shift+<direction key>` Move window in _direction_ (depends on direction keys settings)
RAW Paste Data

H4xx0r Mode Engaged

I love using i3 + i3-gaps on my minimal Debian builds as not only does it look super 1337 hackerman lvl 9000, it’s pretty easy to use and performance wise is fairly lightweight. So have I decided to try it out on Kali Linux.

Install Kali

Download a Kali Linux NetInstaller iso and Load it onto a USB or DVD and proceed with installing it to your machine. The Kali Linux install is pretty straightforward and very similar to any other Debian based distro. Once you reach the ‘Select and Install Software’ screen of the install, deselect all the desktop environment options. We don’t want to install a graphical desktop environment because we will be using i3.

Update and Upgrade

Once the install is complete, log into your account, check that you are connected to the internet and do a full system update/upgrade and reboot:

sudo apt update && sudo apt full-upgrade -y
sudo reboot

User Privileges

Instead of using the root account and to avoid having to type your password every time you execute a command with sudo, run visudo and append your username to the file to get superuser privileges:

sudo visudo

Install i3

Now it is time to install the desktop environment and other pieces of software you might want to use (in this example Mozilla FireFox and VLC).

sudo apt install xorg xinit i3 suckless-tools firefox vlc

Once this is complete run this command so i3 starts when x begins and start the x session to enter the new desktop environment:

echo ‘exec i3’ > ~/.xsession

When i3 starts for the first time, it will ask you to choose a modifier key and if you want to generate a default configuration file. Choose which modifier you want with the arrow keys and generate a new config file. For help using i3, use a cheat sheet.

Modify the i3 configuration as you see fit. It is located at:


Compile and Install i3-gaps

I3 Keyboard Cheat Sheet


Now we need to compile and install i3-gaps from source. Before we start this, we need to install some extra packages:

sudo apt install -y libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf libxcb-xrm0 libxcb-xrm-dev automake libsnack2-dev libxcb-shape0-dev autoconf libev-dev build-essential git

After they have installed, reboot the system. Once rebooted, clone the i3-gaps repository and move into the repos directory:

git clone https://github.com/Airblader/i3 i3-gaps
cd i3-gaps

Bmw I3 Bimmercode Guide

I3 Cheat Sheet

Now compile and install i3-gaps by running the following commands:

autoreconf –force –install
rm -rf build/
mkdir -p build && cd build/
../configure –prefix=/usr –sysconfdir=/etc –disable-sanitizers
make && sudo make install

Finally add the following to the bottom of your i3 configuration file and restart i3 with your restart i3 keybinding (usually $modkey+Shift+R). Note the new keybindings set with the i3-gaps config.