Skip to content

Instantly share code, notes, and snippets.

@cbarraco
Last active May 20, 2016 16:13
Show Gist options
  • Save cbarraco/7a9f1348398fb46d42de to your computer and use it in GitHub Desktop.
Save cbarraco/7a9f1348398fb46d42de to your computer and use it in GitHub Desktop.
Compile and install i3 with gaps
To Compile and Install i3-gaps:
git clone https://github.com/Airblader/i3.git && cd i3
sudo apt-get build-dep i3
sudo make && sudo make install
To Fix Titlebars:
for_window [class="^.*"] border pixel 0
@fhennig
Copy link

fhennig commented Jan 14, 2015

nice, I needed that "sudo ap-get install", thanks!

@leavism
Copy link

leavism commented May 1, 2015

When I attempt the sudo make && sudo make install, I get
[libi3] CC libi3/dpi.c
[libi3] CC libi3/fake_configure_notify.c
[libi3] CC libi3/font.c
[libi3] CC libi3/get_colorpixel.c
[libi3] CC libi3/get_config_path.c
[libi3] CC libi3/get_exe_path.c
[libi3] CC libi3/get_mod_mask.c
[libi3] CC libi3/get_process_filename.c
[libi3] CC libi3/get_visualtype.c
[libi3] CC libi3/ipc_connect.c
[libi3] CC libi3/ipc_recv_message.c
[libi3] CC libi3/ipc_send_message.c
[libi3] CC libi3/is_debug_build.c
[libi3] CC libi3/mkdirp.c
[libi3] CC libi3/resolve_tilde.c
[libi3] CC libi3/root_atom_contents.c
[libi3] CC libi3/safewrappers.c
[libi3] CC libi3/string.c
[libi3] CC libi3/strndup.c
[libi3] CC libi3/ucs2_conversion.c
[libi3] AR libi3.a
[i3] CC src/assignments.c
In file included from include/config.h:17:0,
from include/ipc.h:19,
from include/all.h:48,
from ../i3/src/assignments.c:12:
include/i3.h:16:21: fatal error: xcb/xkb.h: No such file or directory
#include <xcb/xkb.h>
^
compilation terminated.
make: *** [src/assignments.o] Error 1

@cbarraco
Copy link
Author

cbarraco commented Jul 7, 2015

The packages that you need to install are probably out of date in this gist by now, but for that specific error you need to run sudo apt-get install libxcb-xkb-dev

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