windowgestures icon indicating copy to clipboard operation
windowgestures copied to clipboard

Migrating functionalities from GNOME Gesture Improvements to WindowGestures

Open D3vil0p3r opened this issue 1 year ago • 27 comments

Is it possible to migrate the features of the unmaintained GNOME Gesture Improvements project to this one?

D3vil0p3r avatar Oct 10 '23 14:10 D3vil0p3r

It's main idea actually from Gesture Improvements but implementing from scratch. For window gestures, it almost have everything from Gesture Improvements (except maybe minimize) and add more functions.

I don't know about workspace gestures, still don't want messing around with existing gnome gestures. But maybe if I can get cleaner workaround, I will try to implementing it.

amarullz avatar Oct 10 '23 14:10 amarullz

Does this require anything extra like the daemon similar to Gesture Improvements ? Or is this just an extension without any extra requirements ?

Reason I am asking is because I am a Distro Maintainer XeroLinux and currently looking to replace Gesture Improvements since it's unmaintained now. Maybe more information on the Readme ?

Thanks

DarkXero-dev avatar Oct 10 '23 15:10 DarkXero-dev

Currently it support only in wayland (I don't think it will work ootb with X11) This extensions doesn't use any daemon / external program. extension.js basically handle everything and implemented in clean, simple and easier to understand.

It's only use official gnome-js APIs https://gjs-docs.gnome.org/

amarullz avatar Oct 10 '23 15:10 amarullz

Owner

Oh only Wayland. Ok thanks. Any plans for X11 ? I know it's a dying project but some still use it for compatibility until Wayland is fully mature ..

DarkXero-dev avatar Oct 10 '23 15:10 DarkXero-dev

I will try X11, but I think It will need gnome-x11-gesture-daemon, because even gnome default gestures will not works in X11 without it.

Edit: Ah, https://extensions.gnome.org/extension/4033/x11-gestures/ not supported 45 yet!

amarullz avatar Oct 10 '23 15:10 amarullz

I will try X11, but I think It will need gnome-x11-gesture-daemon, because even gnome default gestures will not works in X11 without it.

Ah, https://extensions.gnome.org/extension/4033/x11-gestures/ not supported 45 yet!

I already have that in my Distro due to the other Extension.. Yeah I know not yet compatible.. Hence why am asking. But they say they support it on This Post

DarkXero-dev avatar Oct 10 '23 15:10 DarkXero-dev

I already have that in my Distro due to the other Extension.. Yeah I know not yet compatible.. Hence why am asking. But they say they support it on This Post

That extension not work with ubuntu 23.10 beta. not extension but touchegg not work.. will try again later.

amarullz avatar Oct 10 '23 16:10 amarullz

Well am on Arch will wait n see.. thanks for the hard work ;)

DarkXero-dev avatar Oct 10 '23 16:10 DarkXero-dev

The pinch feature is needed most for me. I often use three finger pinch to close windows. Hope to see it.

YaQia avatar Oct 10 '23 17:10 YaQia

I think the best way to implementing it (if I can implement the pinch) is implementing pinch to keyboard shortcut, so user can customize it as they want.

  • Pinch In -> Alt_L+F4
  • Pinch Out -> Super+D

amarullz avatar Oct 10 '23 17:10 amarullz

To be honest I do not use it myself I prefer a regular external mouse (Trackball). I include it on my Distribution to satisfy those who like it and prefer it.

DarkXero-dev avatar Oct 10 '23 17:10 DarkXero-dev

The pinch feature is needed most for me. I often use three finger pinch to close windows. Hope to see it.

Can you open new issue for pinch?. On progress adding it. Because it was just subset of Gesture Improvement featues.

  • If anyone have an idea about default settings values that should be set. please comment.

Screenshot from 2023-10-11 02-00-25

amarullz avatar Oct 10 '23 18:10 amarullz

Looking good.. I wait for X11 support once that's done will test it then add it to my Distro.. Great job..

DarkXero-dev avatar Oct 10 '23 19:10 DarkXero-dev

Pinch Pre-Release https://github.com/amarullz/windowgestures/releases/tag/2.1-pre3

Screenshot from 2023-10-11 04-27-17

amarullz avatar Oct 10 '23 21:10 amarullz

@amarullz Can you add setting to show notification list or quick settings toggle on pinch ? I had raised a PR for this in gnome-gesture-improvements but looks like that isnt gonna get merged as its unmaintained https://github.com/harshadgavali/gnome-gesture-improvements/issues/201

sidevesh avatar Oct 11 '23 07:10 sidevesh

@amarullz Can you add setting to show notification list or quick settings toggle on pinch ? I had raised a PR for this in gnome-gesture-improvements but looks like that isnt gonna get merged as its unmaintained https://github.com/harshadgavali/gnome-gesture-improvements/issues/201

Screenshot_2023-10-11-14-35-49-11_320a9a695de7cdce83ed5281148d6f19.jpg

already in pinch action. see pre3 release

amarullz avatar Oct 11 '23 07:10 amarullz

great! also, can you add a toggle to disable fullscreening window if already maximized ? again something that I had raised a PR for on gnome-gesture-improvements :(

sidevesh avatar Oct 11 '23 07:10 sidevesh

Also, while I like the move window around using gesture, is it possible to support snapping to left / right on a gesture down then to the side like gnome-gesture-improvements ? I had gotten used to this gesture quite a bit

sidevesh avatar Oct 11 '23 07:10 sidevesh

Also, the way gnome-gesture-improvements implemented the switch windows using horizontal swipes by showing the alt tab style list of windows was quite nice and similar to how Windows does it.

sidevesh avatar Oct 11 '23 07:10 sidevesh

I think I have created issues for all the features of gnome-gesture-improvements that I was aware of, @D3vil0p3r if you see anything missing then let me know here, or we can close this ticket once we have covered every missing feature.

sidevesh avatar Oct 11 '23 08:10 sidevesh

Thank you @sidevesh . Up to @amarullz to keep it opened or closing it and work on each issue ticket directly.

D3vil0p3r avatar Oct 11 '23 08:10 D3vil0p3r

Is there in GNOME extensions page this WindowGestures tool?

D3vil0p3r avatar Oct 11 '23 08:10 D3vil0p3r

https://extensions.gnome.org/extension/6343/window-gestures/

Still in ver 2. I want to add more features,config & bug fixes before next ext submit.

amarullz avatar Oct 11 '23 08:10 amarullz

I think beta3 already implement majority gesture Improvements features.

https://github.com/amarullz/windowgestures/releases/tag/3.0-beta3

Inform me if there is more interesting/useful features that missing.

amarullz avatar Oct 16 '23 13:10 amarullz

Thanks a lot for the very nice work. Perhaps the possibility of tiling the window on the left-right half of the screen would be nice (3-finger swipe down-left/right in the old gesture-improvements extension)

lcrippa avatar Oct 17 '23 17:10 lcrippa

Thanks a lot for the very nice work. Perhaps the possibility of tiling the window on the left-right half of the screen would be nice (3-finger swipe down-left/right in the old gesture-improvements extension)

Already implemented. Swipe 4 finger up then left/right (4 fingers can be swapped with 3 fingers). Also take a look extension settings, you have many configurations for your needs.

amarullz avatar Oct 17 '23 19:10 amarullz

Will X11 support be looked into?

andrewaclear avatar Oct 27 '23 13:10 andrewaclear