Giter Site home page Giter Site logo

Comments (3)

iberianpig avatar iberianpig commented on June 10, 2024 1

Use sendkey with updating Fusuma

Have you updated to fusuma v2?
In Fusuma v2, the integration between Keypress and Sendkey has been tuned.

Please try to update fusuma and plugins.

$ sudo gem update fusuma fusuma-plugin-sendkey fusuma-plugin-keypress

I tried the following settings and it worked fine.

swipe:
  3: 
    left: 
      sendkey: 'LEFTCTRL+PAGEUP'
      keypress:
        LEFTSHIFT:
          sendkey: 'LEFTALT+RIGHT'
    right: 
      sendkey: 'LEFTCTRL+PAGEDOWN'
      keypress:
        LEFTSHIFT:
          sendkey: 'LEFTALT+LEFT'

To use xdotool

  1. You should try xdotool command in your terminal.
    Your xdotool key alt+left is invalid syntax.
$ xdotool key alt+left
(symbol) No such key name 'left'. Ignoring it.
(symbol) No such key name 'left'. Ignoring it.

Please use Left/Right(Upper case)

$ xdotool key alt+Left
  1. Since you are holding down the Shift key, Firefox will receive Shift + Alt + Left.

In this case, fusuma-plugin-sendkey works fine; it will only send the Alt and Left keys.

In xdotool, use the --clearmodifiers option. Like xdotool key --clearmodifiers alt+Left.

from fusuma-plugin-sendkey.

tkuwill avatar tkuwill commented on June 10, 2024 1

@iberianpig Thank you ! This has solved my problem and works smoothly. Also I got lots of knowledge of command of terminal because I am new to Ubuntu. Hope one day I can swipe my trackpad with only two finger to get back/forth done ! ありがとうございました。 

from fusuma-plugin-sendkey.

iberianpig avatar iberianpig commented on June 10, 2024 1

どういたしまして😄
Two-finger swipe, I hope I can implement it well😂
Actually, there are a few problems with the two-finger gesture. I'm trying to figure out how to do that.

from fusuma-plugin-sendkey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.