Mouse gestures (InputActions) not installed on Fedora 42

@pallaswept

Can not install mouse gestures Input Actions on Fedora 42.

After ive installed gestures, ive found file
/usr/lib64/qt6/plugins/kwin/effects/plugins/kwin_gestures.so

but file
/usr/lib64/qt6/plugins/kwin/effects/configs/inputactions_kwin_kcm.so
wasn`t created

Could you help me to resolve this issue? Thanks a lot

How odd. They’re built together and installed together. How did you install, build from source? There might be something useful in the output from that.

I just realised something and it might be the problem. These are the instructions from the mouse gestures branch:

git clone https://github.com/taj-ny/InputActions
cd InputActions
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install

But these are just branched from the normal instructions. I think you’ll need to switch to the correct branch to try mouse gestures, which would be like so (note the added command on the third line):

git clone https://github.com/taj-ny/InputActions
cd InputActions
git switch mouse-gestures
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install

Thanks a lot) I`m much appreciated for your help. May be do you have correct yaml config file?

Well there are two problems there, maybe even three, I don’t know:

  1. I have weird bindings for my mouse so some of my gestures will make no sense
  2. I think the syntax just changed, in the past hours, as new commits were made. You may want to rebuild in a few hours when taj-ny is done committing new hotness.
  3. I don’t know if the stroke hashes are portable. As in, when you use the kcm to record a stroke, it gives you a hash which you put in the config file… but I don’t know if that hash will work the same on your machine if I recorded it here?

There are some very good examples and explanations on the github: InputActions/docs/index.md at mouse-gestures · taj-ny/InputActions · GitHub

But if you get stuck you can let me know and I should be able to help.

1 Like