Autostarting fusuma in plasma

I created a desktop file in ~/.config/autostart:

[Desktop Entry]
Exec=fusuma -d
Icon=
Name=fusuma
Path=
Terminal=False
Type=Application

It starts, but does not work.

If I kill it and run:

fusuma -d && disown

It works fine.

My ~/.config/fusuma/config.yml

swipe:
  3: 
    left: 
      sendkey: 'LEFTALT+RIGHT'
    right: 
      sendkey: 'LEFTALT+LEFT'
    up: 
      command: 'pactl set-sink-volume 0 +10%'
    down: 
      command: 'pactl set-sink-volume 0 -10%'
pinch:
  in:
      command: 'mute'
  out:
      command: 'mute'

threshold:
  swipe: 0.5
  pinch: 0.2

interval:
  swipe: 0.2
  pinch: 0.2

hold:
  1:
    command: "mute"
  3:
    command: "~/scripts/terminator.sh"

plugin: 
  inputs:
    libinput_command_input:
      enable-tap: true
      verbose: true

I might be wrong but you probably need the full path to fusuma in the Exec field.
I used System Settings, then searched for and selected Autostart then clicked Add Application, added Chrome then looked at ~/.config/autostart/google-chrome.desktop
It has

Exec=/usr/bin/google-chrome-stable %U

It launches, so that is not the problem, it just does not respond to the touchpad.

Did you add your user to input group?

Grant permission to read the touchpad device

IMPORTANT: You MUST be a member of the INPUT group to read touchpad by Fusuma.

$ sudo gpasswd -a $USER input

Then, You apply the change with no logout or reboot.

$ newgrp input

source: https://github.com/iberianpig/fusuma

Yes:

groups
sys log network floppy scanner power cups yacy rfkill systemd-journal users video storage optical lp input audio wheel adm xircon

Rebooted (repeatedly :smiley: )

1 Like