xircon
December 1, 2020, 7:19pm
1
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
daab
December 1, 2020, 10:50pm
2
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
xircon
December 1, 2020, 10:52pm
3
It launches, so that is not the problem, it just does not respond to the touchpad.
pebcak
December 1, 2020, 11:02pm
4
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
xircon
December 2, 2020, 8:17am
5
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 )
1 Like