Closed maydayv7 closed 3 years ago
I believe this is a known issue by the NixOS devs, see https://github.com/JoseExposito/gnome-shell-extension-x11gestures/issues/19.
This needs to be reported to the packagers of the extension, hopefully they can help you.
Actually, no, that was because the touchegg nixpkg provided in the repos was outdated (v1.1.1), but I am running the latest version v2.0.11, that I manually installed using an overlay (link to it is given in the first comment)
Yes, but this extension checks if Touchégg is installed by looking at the config file in /usr
. It also needs to know where is your personal config (in home) to reserve the gestures to GNOME and don't run 2 actions.
Those two paths need to be patched by the extension packager. I believe that the easiest way to fix this issue is to open a bug report in the NixOS bug tracker. If you share the link I can try to clarify what's needed.
Okay, there is a relevant PR for patching all GNOME Extensions installed via nixpkgs.
@maydayv7 Hello, sorry for necroposting but your nixos-config repo is no longer accessible. Could you please give me a quick Overlays-for-Dummies-esque snippet to chuck in to fix this issue for myself? I'm assuming that if I update Touchégg then the shell extension will work as well.
This issue has already been fixed a long time ago, and the required version of Touchegg is already in the repos (the current 23.11
release includes Touchegg 2.0.17
and extension 22
), but I've updated the links in my original post
Right, I see. I've still been having issues with Touchégg being detected on NixOS - I'll do a bit more digging and see if I can figure this out.
Describe the bug
When the X11 Gestures extension is installed from either the Extensions website or the nixpkg and session is restarted, the "Touchegg is not installed" message appears. Even though the notification is displayed, the gestures work properly, but the default Touchegg gestures are not inhibited. For example, a 3 finger swipe-up results in both switching to the activities overview as well as maximizing the currently focused application. This may be because the path for detecting Touchegg is hardcoded, but in NixOS installed packages installed have different paths (in /nix/store) as compared to conventional behaviour of other distros.
Expected behaviour
The extension must detect the Touchegg package that is installed on the system, inhibit the default gestures, and work properly
Logs
No logs found with the command
journalctl -f -o cat /nix/store/knybxcvc53l8phjfvlirxzwqv4p6xg2z-gnome-shell-40.1/bin/gnome-shell
Your environment