Setting up SarahKat's Linux Install | i3
Setting up SarahKat’s Linux Install
Installing i3-gaps
Install the prerequisite software to build i3
sudo apt install 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 xutils-dev libxcb-shape0-dev autoconf
Create a directory for the source files. I prefer to leave it in the /usr/local/src
sudo su
mkdir /usr/local/src
cd /usr/local/src
Now we pull down Airbladder’s xcb-util-xrm and install from source
git clone https://github.com/Airblader/xcb-util-xrm
cd xcb-util-xrm
git submodule update --init
./autogen.sh --prefix=/usr
make
sudo make install
With that installed, now we can pull the i3-gaps repository
cd /usr/local/src/
git clone https://www.github.com/Airblader/i3 i3-gaps
cd i3-gaps
autoreconf --force --install
mkdir build
cd build
../configure --prefix=/usr --sysconfdir=/etc
make
make install
Copy over the default config file to your home directory, and make changes as you see fit
cp /etc/i3/config ~/.i3/config
Unless you’ve already got your own config from another system, in which case copy that over to the listed location
I personally just install my dotfiles
Lockscreen stuff:
I install light-locker and lightdm for my lockscreen stuff. I also prefer to use the webkit2-greeter for some nice customization of the lockscreen.
Some aesthetic considerations:
Config will try to pull a background image from ~/.background.*, so we will want to put something there I particularly like this background:
wget https://i.redd.it/40pxhhwu40ky.png -O ~/.background.png