Touchegg is not working in Fedora 34

I have installed the package touchegg by the mentioned procedure

Red Hat, Fedora and derivatives

[Download] the .rpm package and install it. Double click on the package may work, otherwise install it from the terminal:

$ cd ~/Downloads # Or to the path where the rpm package is placed at $ sudo dnf install touchegg-*.rpm # Install the package

Run Touchégg manually by running the command touchegg or reboot to get started.

In addition to that since I’m a gnome user I have installed the extension mentioned

GNOME

If you are using the GNOME Desktop Environment it is recommended to also install this extension:

link

Both Touchégg and the extension need to installed, so don’t forget to follow the install instructions for your distro!

But the package is not working it is prompting in terminal like this

[hemanth@fedora ~]$ touchegg
Touchégg v2.0.9.
Starting Touchégg in client mode
Parsing your configuration file...
Using configuration file "/usr/share/touchegg/touchegg.conf"
Configuration parsed successfully
Connecting to Touchégg daemon...
Connection with Touchégg established
/usr/include/c++/8/bits/stl_vector.h:932: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = long unsigned int; _Alloc = std::allocator<long unsigned int>; std::vector<_Tp, _Alloc>::reference = long unsigned int&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.
Aborted (core dumped)
[hemanth@fedora ~]$ 

Basically this package is to use touchpad gestures.More about this at GitHub - JoseExposito/touchegg: Linux multi-touch gesture recognizer

I too had bugs using Touchegg… You may report your bug to the developer

1 Like

It crashes only when it encounters the three finger gestures which are default gestures of GNOME 40, I edited the config file and now they are working perfectly.

Can you elaborate a little for the noobs ( me ) otherwise out there?

Since Gnome 40 is packed with gestures right out of the box, I thought changing the touchegg config files could make gnome’s default gestures work in my way but badly it doesn’t go that way and same in KDE wayland session too. To completely use the gestures of my choice I have to be in X11 session only.

If KDE and GNOME or Wayland could look into the possibility of changing the action of default gestures it could be more easy for everyone