LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 12-08-2020, 11:02 AM   #1
TitaniumJones
LQ Newbie
 
Registered: Dec 2020
Location: England
Distribution: Ubuntu 20.0.4
Posts: 4

Rep: Reputation: Disabled
Exclamation Trackpad Gestures and Keyboard Mapping


I am new to Linux. I've played with various distributions for the past 10-15 years and never managed to stick to it. Back in March, I began my latest delve into Linux and, well frankly, I've not booted my mac partition since.
Anyway to get to the point, Macs have great track pad Gestures and I wanted them on my linux install. I installed and ran, very successfully, Fusuma and it's associated plugin. This parses track pad gestures to keyboard combos. It worked very well for a long time. I was able to use 3 fingers to swipe up and down between workspaces and 4 fingers would show me all the windows open in that workspace. Great.
Now for the problem. I must have installed something, but now when I have more than 2 workspaces, the gesture flashes past from the top to the bottom and back again. With the 4 finger gesture, the open windows are shown for a split second and then it goes back to the desktop.
I don't even know where to begin diagnostically. Any help would be grateful. Thanks
 
Old 12-09-2020, 01:12 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,840

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Welcome to LinuxQuestions.org. I'm not familiar (and don't use) any touchpad gesture software beyond that built into KDE Plasma. Which distribution (and version) are we dealing with here?
Code:
cat /etc/os-release
That might help others to advise further.

Perhaps also cast your support net wider...
https://github.com/iberianpig/fusuma/issues
 
Old 12-09-2020, 03:25 AM   #3
TitaniumJones
LQ Newbie
 
Registered: Dec 2020
Location: England
Distribution: Ubuntu 20.0.4
Posts: 4

Original Poster
Rep: Reputation: Disabled
Yes indeed, I should have thought to post the distribution and the version. Thanks for pointing this out.

NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal


I already posted a comment regarding this on the Fusuma git page. The author said they only pass the gestures that are detected. And indeed if you look at the results from the Fusuma Daemon you are only getting one gesture, which is why I started looking for other answers.

The problem is that I don't know where to look or what to check to try to track this problem.
 
Old 12-09-2020, 04:03 AM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,840

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Just in case the following is of interest...

https://medium.com/@kaigo/mac-like-g...5-7ea6e3be7f76
 
Old 12-09-2020, 03:45 PM   #5
TitaniumJones
LQ Newbie
 
Registered: Dec 2020
Location: England
Distribution: Ubuntu 20.0.4
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you for your link
It reminded me that before using Fusuma and Fusuma-Sendkey I did have a different gestures set up. Something similar to that tutorial. Made me think that maybe one of the modules in there had been reactivated by something in Tweaks.
Anyway I removed Xdotools (and also libinput-tools)
Reinstalled the Fusuma sendkey plugin (and also libinput-tools)
and everything now seems to be working again.

So in summary, I seem to have fixed the problem. Unfortunately I'm not sure what I did to fix it.

Thanks for the link again.
 
Old 12-09-2020, 06:15 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,840

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Thanks for the update. Good to know touchpad gestures are working as expected again.
 
Old 12-11-2020, 01:09 PM   #7
TitaniumJones
LQ Newbie
 
Registered: Dec 2020
Location: England
Distribution: Ubuntu 20.0.4
Posts: 4

Original Poster
Rep: Reputation: Disabled
And so it continues.
I did think I had fixed it and indeed for a few hours I didn't experience any strange behaviour. But then it came back again.
I tried to do some sleuthing of my own and I don't know if what I'm seeing is normal because I didn't see the output when I wasn't experiencing strange behaviour.

$ fusuma -v

The output continued to scroll up the terminal screen, when I pressed nothing I got a continual timeout as follows:

D, [2020-12-11T16:41:23.084113 #80803] DEBUG -- : {:input_event=>time: 2020-12-11 16:41:23 +0100, tag: libinput_command_input, record: LIBINPUT TIMEOUT}

When I do a 3 finger swipe I get the following:

D, [2020-12-11T16:46:28.875366 #80925] DEBUG -- : {:input_event=>time: 2020-12-11 16:46:28 +0100, tag: libinput_command_input, record: -event4 GESTURE_SWIPE_UPDATE +1.699s 3 -1.78/22.34 (-4.75/59.63 unaccelerated)}
D, [2020-12-11T16:46:28.883570 #80925] DEBUG -- : {:input_event=>time: 2020-12-11 16:46:28 +0100, tag: libinput_command_input, record: event4 GESTURE_SWIPE_UPDATE +1.707s 3 -2.48/29.13 (-6.56/77.03 unaccelerated)}
D, [2020-12-11T16:46:28.891943 #80925] DEBUG -- : {:input_event=>time: 2020-12-11 16:46:28 +0100, tag: libinput_command_input, record: event4 GESTURE_SWIPE_UPDATE +1.715s 3 -3.42/34.80 (-7.82/79.45 unaccelerated)}
D, [2020-12-11T16:46:28.899598 #80925] DEBUG -- : {:input_event=>time: 2020-12-11 16:46:28 +0100, tag: libinput_command_input, record: event4 GESTURE_SWIPE_UPDATE +1.723s 3 -3.74/35.38 (-8.38/79.31 unaccelerated)}
D, [2020-12-11T16:46:28.907644 #80925] DEBUG -- : {:input_event=>time: 2020-12-11 16:46:28 +0100, tag: libinput_command_input, record: event4 GESTURE_SWIPE_UPDATE +1.731s 3 -3.90/34.87 (-8.80/78.60 unaccelerated)}

I'm not sure if what I'm seeing is correct or something wrong.
So then I did somemore debugging, I ran

$ ps -C fusuma

and fond I had (about) 10 instances of fusuma running. I suspect this occurs because when the swipe actions stop working I manually start another instance of fusuma -d. Clearly the previous instance hadn't stopped. I must do more investigation.

So I think I have finally got to the bottom of this little isse.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Touchpad gestures with libinput-gestures on Opensuse 15. TYTA Linux - Newbie 11 02-17-2019 03:22 AM
Intro and braswell trackpad and keyboard question writeman LinuxQuestions.org Member Intro 4 01-04-2018 04:19 PM
[SOLVED] Flaky trackpad gestures in Plasma 5 on 14.2 xflow7 Slackware 7 07-28-2016 06:22 AM
Toshiba Wireless Keyboard with built in "trackpad" - Trackpad not working. plowers Linux - Newbie 1 11-02-2010 11:12 PM
KDE 3.x keyboard gestures i guess?? é change carl0ski Linux - Software 0 01-15-2005 06:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration