Installation - bakkeby/dmenu GitHub Wiki
It is generally expected that you have some experience installing and using dmenu before trying out this build, in which case the information on this page should be nothing new.
This guide assumes your system has the latest updates before going ahead with the installation.
Note that you may want to keep the source directories of the tools you download in a suitable location for future reference as you may need to recompile them to apply configuration changes.
- base-devel
- extra/git
- extra/libx11
- extra/libxinerama
- extra/libxft
sudo pacman -S base-devel extra/git extra/libx11 extra/libxinerama extra/libxft
If you find yourself missing a library then this can usually be found by searching for the file name using pacman:
$ pacman -F Xlib-xcb.h
extra/libx11 1.6.12-1 [installed: 1.7.2-1]
usr/include/X11/Xlib-xcb.h
- build-essential
- git
- libx11-dev
- libxinerama-dev
sudo apt install build-essential git libx11-dev libxinerama-dev libxft-dev
It is worth checking the version of gcc on debian based systems as they may come with older implementations that can result in compilation errors.
gcc --version
You would expect at least v8.x or above here.
If you find yourself missing a library then this can usually be found by searching for the file name using apt-file, a tool that have to be installed separately:
$ sudo apt install apt-file
$ sudo apt-file update
$ apt-file search xcb/res.h
libxcb-res0-dev: /usr/include/xcb/res.h
- base-devel
- libX11-devel
- libXft-devel
- libXinerama-devel
- freetype-devel
- fontconfig-devel
xbps-install -Su base-devel libX11-devel libXft-devel libXinerama-devel freetype-devel fontconfig-devel
If you find yourself missing a library then this can usually be found by searching for the file name using xlocate, a tool that have to be installed separately via the xtools package:
$ xlocate yajl/yajl_gen.h
yajl-devel-2.1.0._4 /usr/include/yajl/yajl_gen.h
Clone the repository.
git clone [email protected]:bakkeby/dmenu.git
Then run make compile and install.
$ cd dmenu
$ make
$ sudo make install
$ cd ..
The initial make is to copy the configuration template config.def.h
to config.h
which you can
customise to your own liking.
If there is anything that is not clear with regards to installation let me know and I will try to make improvements for future revisions.
Back to Features.