Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3-finger drag with word selection #333

Open
rcambrj opened this issue Jan 3, 2025 · 1 comment
Open

3-finger drag with word selection #333

rcambrj opened this issue Jan 3, 2025 · 1 comment

Comments

@rcambrj
Copy link

rcambrj commented Jan 3, 2025

I have 3-finger drag configured as in https://github.com/iberianpig/fusuma/wiki/3-fingers-Drag-(OS-X-Style). Thank you so much for your hard work in making this software :)

However, this is missing one feature: double-3-finger tap then drag, which does two things:

  • first selects the word under the cursor (like double primary button tap)
  • then drags (like three-finger drag)

This allows the user to select whole words.

#168 is a discussion about using 3-finger tap to select a word then look up that word in a dictionary. The solution hints at word selection:

tap:
  3:
    command: 'xdotool click --repeat 2 1 && xdg-open https://www.google.com/search?q="$(xsel -p)"'

I think the following configuration might work:

tap:
  3:
    command: 'xdotool click 1'
swipe:
  3:
    begin:
      command: xdotool mousedown 1
    update:
      command: xdotool mousemove_relative -- $move_x, $move_y
      interval: 0.01
      accel: 2
    end:
      command: xdotool mouseup 1

But I see that the https://github.com/iberianpig/fusuma-plugin-tap repository is archived and probably not maintained, so what is the future of the tap gesture? Is there an alternative which I should be using instead?

@luyanfeng
Copy link

Why can't I use tap?

I has config tap, but it didn't work either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants