Closed HritwikSinghal closed 3 years ago
Here is my config
swipe:
3:
left:
sendkey: "LEFTALT+RIGHT" # history back
keypress:
LEFTCTRL:
sendkey: "PREVIOUSSONG"
# LEFTMETA+LEFTALT:
# sendkey: 'BRIGHTNESSDOWN'
right:
sendkey: "LEFTALT+LEFT" # history forward
keypress:
LEFTCTRL:
sendkey: "NEXTSONG"
# LEFTMETA+LEFTALT:
# sendkey: 'xdotool key --clearmodifiers XF86AudioLowerVolume'
up:
sendkey: "LEFTMETA" # Overview
keypress:
LEFTCTRL:
sendkey: "LEFTCTRL+K" # open new tab
LEFTCTRL+LEFTALT:
sendkey: 'BRIGHTNESSUP'
down:
sendkey: "LEFTMETA" # Overview
keypress:
LEFTCTRL:
sendkey: "LEFTCTRL+COMMA" # close tab
LEFTCTRL+LEFTALT:
sendkey: 'BRIGHTNESSDOWN'
4:
left:
sendkey: "VOLUMEDOWN"
right:
sendkey: "VOLUMEUP"
# up:
# sendkey: "xdotool key ctrl+alt+Down" # Switch to next workspace
# down:
# sendkey: "xdotool key ctrl+alt+Up" # Switch to previous workspace
pinch:
in:
sendkey: "ZOOMOUT" # Zoom in
out:
sendkey: "ZOOMIN" # Zoom out
threshold:
pinch: 0.4
swipe: 0.2
interval:
swipe: 0.8
pinch: 0.5
tap: 0.2
tap:
# 1:
# sendkey: "echo ----------------tap1----------------------------"
# 2:
# sendkey: "echo ----------------tap2----------------------------"
# 3:
# sendkey: "echo ----------------tap3----------------------------"
# 4:
# sendkey: "PLAYPAUSE"
hold:
# 1:
# command: "echo ----------------hold1----------------------------"
# 2:
# command: "echo ----------------hold2----------------------------"
# 3:
# command: "echo ----------------hold3----------------------------"
4:
sendkey: "PLAYPAUSE"
plugin:
inputs:
libinput_command_input:
enable-tap: true
verbose: true
show-keycodes: true
But even if dont use sendkey in config, i get same error
Interestingly, installing fusuma-plugin-sendkey from AUR fixes this issue. i used yay ruby-fusuma-plugin-sendkey
and now everything is OK. maybe there is some issue in gem version.
Edit: I looked at deps that were installed with ruby-fusuma-plugin-sendkey
and it installed
So maybe we have to install these along sendkey
Hi @HritwikSinghal
I checked the install process on system wide, but I cannot found have any problem.
iberianpig@iberianpig-XPS-13-9310:~$ sudo gem install fusuma-plugin-sendkey
Fetching fusuma-1.11.1.gem
Fetching fusuma-plugin-sendkey-0.5.1.gem
Fetching revdev-0.2.1.gem
Successfully installed fusuma-1.11.1
Building native extensions. This could take a while...
Successfully installed revdev-0.2.1 ← Look! Installing revdev here
Successfully installed fusuma-plugin-sendkey-0.5.1
Parsing documentation for fusuma-1.11.1
Installing ri documentation for fusuma-1.11.1
Parsing documentation for revdev-0.2.1
Installing ri documentation for revdev-0.2.1
Parsing documentation for fusuma-plugin-sendkey-0.5.1
Installing ri documentation for fusuma-plugin-sendkey-0.5.1
Done installing documentation for fusuma, revdev, fusuma-plugin-sendkey after 0 seconds
3 gems installed
↑ revdev
is installed with $ sudo gem install fusuma-plugin-sendkey
In the gemspec, the revdev dependency is described in spec.add_dependency 'revdev'
.
So, revdev should be installed at the timing of gem install.
However, perhaps you have installed fusuma or fusuma-plugin-sendkey as a bundler-managed Gem using the bundle command instead of gem install
.
In that case, you can use the bundle exec prefix (bundle exec fusuma) to use the dependency and start fusuma.
* However, perhaps you have installed fusuma or fusuma-plugin-sendkey as a bundler-managed Gem using the bundle command instead of `gem install`.
No, i installed via gem install
And this issue occured for first time with me also. Maybe its due to Manjaro, so thats why i only added revdev for arch based distros in PR
here is my error when running fusuma. I followed all steps in the readme only. This is on manjaro 21.0 (see last output)
after removing fusuma-plugin-keypress, it works.
Now it shows