6

please, help me! how to install Touchegg-GCE in Ubuntu?

0
15

First install dependencies:

sudo apt-get install build-essential libqt4-dev libx11-6 libx11-dev

Download the .zip file from here

cd ~/Downloads
unzip Touchegg-gce-master.zip
cd Touchegg-gce-master
qmake
make && sudo make install

To launch touchegg-gce you have to go to that particular folder.

The binary is installed in /usr/local/bin, check your PATH. Or start via your Application Launcher, there is a desktop file in /usr/local/share/applications/touchegg-gce.desktop

enter image description here

2
  • @AmirQasemnezhadMoqadam If this users answer helped you, please click the check mark on the left of the answer, so others can easily find this information.
    – Mark Kirby
    Oct 8 '15 at 8:14
  • 2
    @AmirQasemnezhadMoqadam: As you're a reputation 1 user: If this answer helped you, don't forget to click the grey at the left of this text, which means Yes, this answer is valid! ;-)
    – Fabby
    Oct 8 '15 at 9:17
0

Here is a variant to the first answer with some (small) advantages:

  • it provides the code in a git repository, which is nice in case you consider working on it
  • it provides the installed software in a Debian package, which makes uninstalling it clean and simple with sudo apt remove touchegg-gce

The instructions are as follows:

sudo apt install git build-essential libqt4-dev libx11-6 libx11-dev checkinstall

git clone https://github.com/Raffarti/Touchegg-gce.git
cd Touchegg-gce
qmake && make
sudo checkinstall \
    --pkgname touchegg-gce \
    --pkgversion 1.3.1 \
    --pkgsource "https://github.com/Raffarti/Touchegg-gce" \
    --provides touchegg-gce \
    make install

At this stage, this is only a very basic Debian / Ubuntu package. For example, it does not list any dependency packages, and it installs files into /usr/local/ which is not the proper way. However, as a way to keep my local installation tidy an be able to uninstall things without having to research how exactly, I really like checkinstall.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.