Skip to content

Instantly share code, notes, and snippets.

@coffeegist
Last active December 5, 2023 15:58
Show Gist options
  • Save coffeegist/c33688b5a148179214c08b0518f18ac3 to your computer and use it in GitHub Desktop.
Save coffeegist/c33688b5a148179214c08b0518f18ac3 to your computer and use it in GitHub Desktop.
Install i3-gaps on Kali

Installation

root@kali:~# apt-get update
root@kali:~# apt-get install git build-essential autoconf pkg-config # fresh systems only
root@kali:~# apt-get install i3 # to get dependencies
root@kali:~# mkdir gui && cd gui
root@kali:~# git clone https://www.github.com/Airblader/i3 i3-gaps
root@kali:~# cd i3-gaps
root@kali:~# autoreconf --force --install
root@kali:~# rm -rf build/
root@kali:~# mkdir -p build && cd build/

# Disabling sanitizers is important for release versions!
# The prefix and sysconfdir are, obviously, dependent on the distribution.

apt-get install libxcb-shape0-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev xcb libxcb1-dev libxcb-icccm4-dev libyajl-dev libev-dev libxcb-xkb-dev libxcb-cursor-dev libxkbcommon-dev libxcb-xinerama0-dev libxkbcommon-x11-dev libstartup-notification0-dev libxcb-randr0-dev libxcb-xrm0 libxcb-xrm-dev

root@kali:~# ../configure --prefix=/usr --sysconfdir=/etc --disable-sanitizers
root@kali:~# make -j8
root@kali:~# make install

If it fails, try this:

root@kali:~# apt-get install libfuse-dev libcurl4-openssl-dev libxml2-dev mime-support automake libtool
root@kali:~# cd ..
root@kali:~# autoreconf --force --install
root@kali:~# rm -rf build/
root@kali:~# mkdir -p build && cd build/ # pick back up at the ../configure command above

Reboot!

Rice

apt-get install lxappearance arc-theme moka-icon-theme compton neofetch nitrogen rofi

cd ~ && git clone https://github.com/audrummer15/dotfiles.git
./dotfiles/install.sh

use lxappearance to change theme and icons

References: wget https://github.com/creationix/boxcode/raw/master/font/fontawesome-webfont.ttf http://overpassfont.org/

Fix firefox (for assessment images)

32-bit > https://download-installer.cdn.mozilla.net/pub/firefox/releases/61.0.1/linux-i686/en-US/firefox-61.0.2.tar.bz2

64-bit > https://download-installer.cdn.mozilla.net/pub/firefox/releases/61.0.2/linux-x86_64/en-US/firefox-61.0.2.tar.bz2

apt-get remove firefox-esr
wget <firefox link above>

tar xjf firefox-61.0.1.tar.bz2

rm -r /opt/firefox
mv ~/Downloads/firefox /opt/firefox
rm /usr/bin/firefox
rm /usr/bin/firefox-esr
ln -s /opt/firefox/firefox /usr/bin/firefox

If an error occurs referencing libgtk3, you have mismatched 32-bit/64-bit. Get the appropriate version.

@zeeshan1991k
Copy link

zeeshan1991k commented Mar 2, 2020

2020.1 xfce4

@its0x08
Copy link

its0x08 commented Nov 3, 2020

Gnome latest on Kali also fails!!

@Aggeloz
Copy link

Aggeloz commented Dec 25, 2020

I always get "autoreconf: 'configure.ac' or 'configure.in' is required"

@Kariliuto
Copy link

I've just skipped that part because it always give me some issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment