Anyone installed Fusuma on EOS?

Fusuma is a multitouch gesture recognizer for touchpad

1 Like

I have, why?

How did you do it? $ gem install fusuma doesn’t exactly install it, only download the fusuma-1.11.1.gem to /usr/lib/ruby/gems/2.7.0/cache
I managed to install it by extracting it.

paru fusuma
1 aur/ruby-fusuma 1.11.1-1 [+8 ~0.85] [Installed]
    Fusuma is multitouch gesture recognizer.
2 aur/ruby-fusuma-plugin-keypress 0.2.1-1 [+3 ~0.14] [Installed]
    Keypress combination plugin for Fusuma
3 aur/ruby-fusuma-plugin-sendkey 0.5.1-3 [+3 ~0.14] [Installed]
    Fusuma plugin that sending virtual keyboard events.
4 aur/ruby-fusuma-plugin-wmctrl 0.3.0-2 [+2 ~0.05] [Installed]
    Window Manager plugin for Fusuma
5 aur/ruby-fusuma-plugin-tap 0.3.1-1 [+2 ~0.05] [Installed]
    Tap and Hold gestures plugin for Fusuma
:: Packages to install (eg: 1 2 3, 1-3):

From aur.

$ sudo gpasswd -a $USER input
$ newgrp input
$ sudo gem install fusuma
$ sudo pacman -S xdotool
$ mkdir -p ~/.config/fusuma
$ nano ~/.config/fusuma/config.yml

Add, what you find in https://wiki.archlinux.org/index.php/Libinput > Fusuma > for xdotool and save.
Do,
$ fusuma

Doesn’t work. :confused:

Find Fusuma in /usr.
Instead of Fusuma, found fusuma-1.11.1.gem in /usr/lib/ruby/gems/2.7.0/cache/, which hadn’t got extracted/installed. So, extracted it manually and placed it in /usr/lib/ruby/gems/2.7.0/gems/, and made a symlink of /usr/lib/ruby/gems/2.7.0/gems/fusuma/exe/fusuma to ~/.config/autostart-scripts and rebooted.

Fusuma was in and running. :slight_smile:

If you install from aur it is in:

which fusuma
/usr/bin/fusuma

It is just a ruby script:

#!/usr/bin/ruby
#
# This file was generated by RubyGems.
#
# The application 'fusuma' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'rubygems'

version = ">= 0.a"

str = ARGV.first
if str
  str = str.b[/\A_(.*)_\z/, 1]
  if str and Gem::Version.correct?(str)
    version = str
    ARGV.shift
  end
end

if Gem.respond_to?(:activate_bin_path)
load Gem.activate_bin_path('fusuma', 'fusuma', version)
else
gem "fusuma", version
load Gem.bin_path("fusuma", "fusuma", version)
end

I didn’t look in AUR.
Anyway, you can place the extracted folder anywhere and make symlink to the fusuma/exe/fusuma in the ~/.config/autostart-scripts and reboot.
Good to know. :slight_smile:

Merry Christmas!