Touchegg Multi Gesture Fix / Guide Linux Mint

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
hlau7

Touchegg Multi Gesture Fix / Guide Linux Mint

Post by hlau7 »

Hey all,
For those interested in installing touchegg on linux mint, here's a guide. The problem with installing it on mint is that it lacks the ubuntu libraries required to compile and run the program. However, there are ways around this.

Linux Mint 14:
1. Download the source code for Ubuntu 12.10 at https://code.google.com/p/touchegg/wiki/Downloads
2. Extract and cd into the touchegg folder
3. Run "sudo apt-get install build-essential libqt4-dev libx11-6 libxtst-dev"
4. Try to run "qmake"
5. Whether qmake works or not, download the libraries here: http://goo.gl/ssZ5A
6. Paste the qt4 and geis folders into /usr/include (use sudo)
7. Paste the lib files into /usr/lib/x86_64-linux-gnu/
8. Go back to the touchegg folder and try qmake again.
9. Run "make" and then "sudo make install". The command should work now.

Linux Mint 15:
1. Download the source code for Ubuntu 12.10 at https://code.google.com/p/touchegg/wiki/Downloads
2. Extract and cd into the touchegg folder
3. Run "sudo apt-get install build-essential libqt4-dev libx11-6 libxtst-dev"
4. Try to run "qmake"
5. Whether qmake works or not, download the libraries here: http://goo.gl/ssZ5A
6. Paste the qt4 and geis folders into /usr/include (use sudo)
7. Paste the lib files related to "geis" into /usr/lib/x86_64-linux-gnu/
8. Go back to the touchegg folder and try qmake again.
9. Run "make" and then "sudo make install". The command should work now.

Optional (recommended):
1. Download the GUI from the link in step 1
2. Extract, cd into the Touchegg folder, call qmake and make again
3. Run the GUI and set your preferences accordingly
4. To make the program run on start up without launching through terminal, create a symbolic link with the executable file: ln -s /touchegg-version#/touchegg /usr/bin/touchegg
5. If it says that the symbolic link already exists, then go into /usr/bin and delete the touchegg file, then repeat step 12
6. You should be able to launch touchegg using alt+f2 "touchegg" or by adding it to the list of start up programs by using alt+f2 "gnome-session-properties" and adding touchegg

Good luck to all! :)
Last edited by hlau7 on Wed Jun 19, 2013 4:07 pm, edited 3 times in total.
Relkco

Re: touchegg multi gesture fix / guide

Post by Relkco »

Thanks for your guide !

However, it does not work on my computer :(
I have installed the qt library & done everything that must be done. qmake works well, but make does not...
Here is what I get :

Code: Select all

eddy@eddy-N73SV ~/touchegg-1.1.1 $ qmake
eddy@eddy-N73SV ~/touchegg-1.1.1 $ make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -o Config.o src/touchegg/config/Config.cpp
cc1plus: erreur: /usr/include/qt4/QtCore : Permission non accordée
cc1plus: erreur: /usr/include/qt4/QtGui : Permission non accordée
cc1plus: erreur: /usr/include/qt4/QtXml : Permission non accordée
make: *** [Config.o] Erreur 1
eddy@eddy-N73SV ~/touchegg-1.1.1 $ sudo make install
[sudo] password for eddy: 
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -o Config.o src/touchegg/config/Config.cpp
In file included from src/touchegg/config/Config.h:24:0,
                 from src/touchegg/config/Config.cpp:21:
./src/touchegg/util/Include.h:33:38: erreur fatale: X11/extensions/XTest.h : Aucun fichier ou dossier de ce type
compilation terminée.
make: *** [Config.o] Erreur 1
eddy@eddy-N73SV ~/touchegg-1.1.1 $ 
Any help or advice would be grateful, thanks in advance !

PS: Sorry if there is errors in my English, i'm french.
Post Reply

Return to “Tutorials”