Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harshadgavali/gnome-gesture-improvements
Touchpad gesture improvements for GNOME on Wayland/X11
https://github.com/harshadgavali/gnome-gesture-improvements
gestures gnome-shell-extension touchpad typescript wayland x11
Last synced: 3 months ago
JSON representation
Touchpad gesture improvements for GNOME on Wayland/X11
- Host: GitHub
- URL: https://github.com/harshadgavali/gnome-gesture-improvements
- Owner: harshadgavali
- License: gpl-3.0
- Created: 2021-08-01T11:23:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-27T16:15:11.000Z (6 months ago)
- Last Synced: 2024-08-01T03:27:43.753Z (6 months ago)
- Topics: gestures, gnome-shell-extension, touchpad, typescript, wayland, x11
- Language: TypeScript
- Homepage: https://extensions.gnome.org/extension/4245/gesture-improvements/
- Size: 6.06 MB
- Stars: 326
- Watchers: 6
- Forks: 40
- Open Issues: 52
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- stars - harshadgavali/gnome-gesture-improvements
README
# Touchpad Gesture Improvements
This extension modifies and extends existing touchpad gestures on GNOME.
## Installation
### From GNOME Extensions Website
### Manually
1. Install extension
```
git clone https://github.com/harshadgavali/gnome-gesture-improvements.git/
cd gnome-gesture-improvements
npm install
npm run update
```
2. Log out and log in **or** just restart session (X11)
3. Enable extension via extensions app or via command line
```
gnome-extensions enable gestureImprovements@gestures
```### Additional app X11
On X11, you also need to install [gnome-x11-gesture-daemon](https://github.com/harshadgavali/gnome-x11-gesture-daemon)## Gestures (including built-in ones)
| Swipe Gesture | Modes | Fingers | Direction |
| :-------------------------------------- | :------- | :------ | :-------------- |
| Switch windows | Desktop | 3 | Horizontal |
| Switch workspaces | Overview | 2/3 | Horizontal |
| Switch app pages | AppGrid | 2/3 | Horizontal |
| Switch workspaces | * | 4 | Horizontal |
| Desktop/Overview/AppGrid navigation | * | 4 | Vertical |
| Unmaximize/maximize/fullscreen a window | Desktop | 3 | Vertical |
| Minimize a window | Desktop | 3 | Vertical |
| Snap/half-tile a window | Desktop | 3 | Explained below || Pinch Gesture | Modes | Fingers |
| :------------ | :------ | :------ |
| Show Desktop | Desktop | 3/4 || Application Gestures (Configurable) |
| :--- |
| Go back or forward in browser tab |
| Switch to next or previous image in image viewer |
| Switch to next or previous audio |
| Change tabs |#### For activating tiling gesture (inverted T gesture)
1. Do a 3-finger vertical downward gesture on a unmaximized window
2. Wait a few milliseconds
3. Do a 3-finger horizontal gesture to tile a window to either side#### Notes
* Minimize gesture is available if you have dash-to-dock/panel or similar extension enabled.
* To activate application gesture, hold for few moments(configurable) before swiping
* Tiling gesture can't be activated if you enable minimize gesture## Customization
* To switch to windows from *all* workspaces using 3-fingers swipes, run
```
gsettings set org.gnome.shell.window-switcher current-workspace-only false
```* Add delay to alt-tab gesture, to ensure second windows gets selected when a fast swipe is done
* Change sensitivity of swipe (touchpad swipe speed)
* Option to follow natural scrolling (seperate from option in GNOME settings)
* Revert to 3-finger swipes to switch workspace on desktop (4-fingers to switch windows)
* Revert to 3-finger swipes for overview navigation (4-fingers to maximize/unmaximize/tile)# Contributors
[@jacksongoode](https://github.com/jacksongoode)
[@kyteinsky](https://github.com/kyteinsky)# Thanks
[@ewlsh](https://gitlab.gnome.org/ewlsh) for [Typescript definitions](https://www.npmjs.com/package/@gi-types/glib) for GLib, GObject, ...