{"id":20123363,"url":"https://github.com/taj-ny/kwin-gestures","last_synced_at":"2025-03-30T06:03:51.558Z","repository":{"id":257933071,"uuid":"870258500","full_name":"taj-ny/kwin-gestures","owner":"taj-ny","description":"Custom touchpad gestures for Plasma 6","archived":false,"fork":false,"pushed_at":"2025-03-25T10:16:38.000Z","size":424,"stargazers_count":134,"open_issues_count":19,"forks_count":3,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-25T11:26:05.443Z","etag":null,"topics":["kde","kde-plasma","kde-plasma-6","kwin","linux","plasma","plasma6","wayland"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taj-ny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"taj-ny"}},"created_at":"2024-10-09T18:03:53.000Z","updated_at":"2025-03-24T12:50:44.000Z","dependencies_parsed_at":"2024-10-17T02:49:51.663Z","dependency_job_id":"8e9556e1-1da0-4bbe-9c9a-efb7a289379c","html_url":"https://github.com/taj-ny/kwin-gestures","commit_stats":null,"previous_names":["taj-ny/kwin-gestures"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taj-ny%2Fkwin-gestures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taj-ny%2Fkwin-gestures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taj-ny%2Fkwin-gestures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taj-ny%2Fkwin-gestures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taj-ny","download_url":"https://codeload.github.com/taj-ny/kwin-gestures/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246281317,"owners_count":20752212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kde","kde-plasma","kde-plasma-6","kwin","linux","plasma","plasma6","wayland"],"created_at":"2024-11-13T19:44:26.953Z","updated_at":"2025-03-30T06:03:51.539Z","avatar_url":"https://github.com/taj-ny.png","language":"C++","funding_links":["https://github.com/sponsors/taj-ny"],"categories":["Uncategorized","C++"],"sub_categories":["Uncategorized"],"readme":"# KWin Gestures\nCustom touchpad gestures for Plasma 6.\n\nX11 is currently not supported.\n\nhttps://github.com/user-attachments/assets/2c16790a-869b-44f3-a760-590137293759\n\n[peterfajdiga/kwin4_effect_geometry_change](https://github.com/peterfajdiga/kwin4_effect_geometry_change) was used for tile animations.\n\n# Features\n- Gestures: hold, pinch, swipe\n- Actions: run command, input (keyboard keys, mouse buttons, relative and absolute mouse movement, full control over when keys/buttons are pressed/released), invoke global shortcut\n- Override/block built-in Plasma gestures\n- Application-specific gestures\n- Trigger actions before fingers are lifted for a more responsive feel\n- Repeating actions with support for changing the direction mid-gesture\n- Fast and slow gestures\n\n# Installation\n\u003cdetails\u003e\n  \u003csummary\u003eNixOS (flakes)\u003c/summary\u003e\n  \u003cbr\u003e\n\n``flake.nix``:\n  ```nix\n  {\n    inputs = {\n      nixpkgs.url = \"github:nixos/nixpkgs/nixos-unstable\";\n\n      kwin-gestures = {\n        url = \"github:taj-ny/kwin-gestures\";\n        inputs.nixpkgs.follows = \"nixpkgs\";\n      };\n    };\n  }\n  ```\n\n  ```nix\n  { inputs, pkgs, ... }:\n\n  {\n    environment.systemPackages = [\n      inputs.kwin-gestures.packages.${pkgs.system}.default\n    ];\n  }\n  ```\n\u003c/details\u003e\n\n# Building from source\n### Dependencies\n- CMake\n- Extra CMake Modules\n- Plasma 6\n- Qt 6\n- KF6\n- KWin development packages\n\n\u003cdetails\u003e\n  \u003csummary\u003eArch Linux\u003c/summary\u003e\n  \u003cbr\u003e\n\n  ```\n  sudo pacman -S --needed base-devel git extra-cmake-modules qt6-tools kwin yaml-cpp\n  ```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eDebian-based (KDE Neon, Kubuntu, Ubuntu)\u003c/summary\u003e\n  \u003cbr\u003e\n\n  ```\n  sudo apt install git cmake g++ extra-cmake-modules qt6-tools-dev kwin-wayland kwin-dev libkf6configwidgets-dev gettext libkf6kcmutils-dev libyaml-cpp-dev libxkbcommon-dev\n  ```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eFedora 40, 41\u003c/summary\u003e\n  \u003cbr\u003e\n\n  ```\n  sudo dnf install git cmake extra-cmake-modules gcc-g++ qt6-qtbase-devel kwin-devel kf6-ki18n-devel kf6-kguiaddons-devel kf6-kcmutils-devel kf6-kconfigwidgets-devel qt6-qtbase kf6-kguiaddons kf6-ki18n wayland-devel yaml-cpp yaml-cpp-devel libepoxy-devel\n  ```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eopenSUSE\u003c/summary\u003e\n  \u003cbr\u003e\n\n  ```\n  sudo zypper in git cmake-full gcc-c++ kf6-extra-cmake-modules kguiaddons-devel kconfigwidgets-devel ki18n-devel kcmutils-devel \"cmake(KF6I18n)\" \"cmake(KF6KCMUtils)\" \"cmake(KF6WindowSystem)\" \"cmake(Qt6Core)\" \"cmake(Qt6DBus)\" \"cmake(Qt6Quick)\" \"cmake(Qt6Widgets)\" libepoxy-devel kwin6-devel yaml-cpp-devel libxkbcommon-devel\n  ```\n\u003c/details\u003e\n\n### Building\n```sh\ngit clone https://github.com/taj-ny/kwin-gestures\ncd kwin-gestures\nmkdir build\ncd build\ncmake ../ -DCMAKE_INSTALL_PREFIX=/usr\nmake\nsudo make install\n```\n\nRemove the *build* directory when rebuilding the effect.\n\n# Usage\n\u003e [!NOTE]\n\u003e If the effect stops working after a system upgrade, you will need to rebuild it.\n\n1. Install the plugin.\n2. Open the Desktop Effects page in System Settings.\n3. Enable the *Gestures* effect in the *Tools* category.\n\nSee [docs/configuration.md](docs/configuration.md) for instructions on how to configure this plugin.\n\n# Gesture recognition issues\nBefore reporting any issues related to gesture recognition, run ``libinput debug-events`` as root and ensure the gesture is recognized properly. If it's not, there's nothing I can do.\n\nDepending on the touchpad, 3 or 4-finger pinch gestures may sometimes be incorrectly interpreted as swipe gestures due to the touchpad only being able to track 2 fingers. As a workaround, move only 2 fingers in opposite directions. See https://wayland.freedesktop.org/libinput/doc/1.25.0/gestures.html#gestures-on-two-finger-touchpads for more information.\n\n# Credits\n- [KWin](https://invent.kde.org/plasma/kwin) - Gesture recognition code (parts of it), sending keystrokes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaj-ny%2Fkwin-gestures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaj-ny%2Fkwin-gestures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaj-ny%2Fkwin-gestures/lists"}