Používám openbox na UbuntuGnome .. pokud to pomůže.
Zkontroloval jsem tedy dokumentaci umístěnou zde:
https://wiki.archlinux.org/index.php/Termite
a nemůžu přijít na to, jak to nainstalovat.
Jsem úplný začátečník a chtěl bych jen jednoduché vysvětlení, nebo alespoň postrčení správným směrem.
Také jsem postupoval podle pokynů zde:
https://github.com/thestinger/termite
Provedl následující:
git clone --recursive https://github.com/thestinger/termite.git
cd termite && make
pak získejte toto:
[email protected]:~/termite$ make Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-3.0' found Package vte-2.91 was not found in the pkg-config search path. Perhaps you should add the directory containing `vte-2.91.pc' to the PKG_CONFIG_PATH environment variable No package 'vte-2.91' found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-3.0' found Package vte-2.91 was not found in the pkg-config search path. Perhaps you should add the directory containing `vte-2.91.pc' to the PKG_CONFIG_PATH environment variable No package 'vte-2.91' found g++ -std=c++11 -O3 -Wall -Wextra -pedantic -Winit-self -Wshadow -Wformat=2 -Wmissing-declarations -Wstrict-overflow=5 -Wcast-align -Wconversion -Wunused-macros -Wwrite-strings -DNDEBUG -D_POSIX_C_SOURCE=200809L -DTERMITE_VERSION="v11" -Wno-missing-field-initializers -s -Wl,--as-needed termite.cc -o termite termite.cc:31:21: fatal error: gtk/gtk.h: No such file or directory compilation terminated. Makefile:36: recipe for target 'termite' failed make: *** [termite] Error 1
Přijatá odpověď:
Tady je instalační skript, který pěkně vysvětluje všechny závislosti a tak, já to pro vás zkopíruji 😉
Instalovat závislosti
sudo apt install -y g++ libgtk-3-dev gtk-doc-tools gnutls-bin
valac intltool libpcre2-dev libglib3.0-cil-dev libgnutls28-dev
libgirepository1.0-dev libxml2-utils gperf build-essential
Získejte a nainstalujte vte-ng
git clone https://github.com/thestinger/vte-ng.git
echo export LIBRARY_PATH="/usr/include/gtk-3.0:$LIBRARY_PATH"
cd vte-ng && ./autogen.sh && make && sudo make install
cd ..
Získejte a nainstalujte termite a nastavte
git clone --recursive https://github.com/thestinger/termite.git
cd termite && make && sudo make install
sudo ldconfig
sudo mkdir -p /lib/terminfo/x
sudo ln -s /usr/local/share/terminfo/x/xterm-termite /lib/terminfo/x/xterm-termite
Voila, to by mělo být ono….