DEV Community

Kohei Yamada
Kohei Yamada

Posted on • Edited on

2

Enhance Your Touchpad Experience on Linux with ThumbSense!

Hello everyone! 🌟

What is ThumbSense?

With ThumbSense, you can use your laptop's touchpad as an additional modifier key.
Assign specific keys as mouse buttons and toggle their functionality based on whether your thumb is touching the touchpad. This feature allows you to keep your hands on the home position of the keyboard.
By turning off the often troublesome "tap to click" feature, you can achieve a more comfortable touchpad experience.

Repository

Thumbsense is implemented as a plugin of fusuma.

https://github.com/iberianpig/fusuma-plugin-thumbsense

Key Features:

  • Seamless integration with the touchpad gesture tool, Fusuma
  • A stable mouse-like experience without moving your hands away from the keyboard.
  • Customize key-to-mouse button mappings using YAML.

Installation and setup



$ sudo apt-get install libevdev-dev ruby-dev build-essential

$ echo 'KERNEL=="uinput", MODE="0660", GROUP="input", OPTIONS+="static_node=uinput"' | sudo tee /etc/udev/rules.d/60-udev-fusuma-remap.rules

$ sudo udevadm control --reload-rules && sudo udevadm trigger

$ sudo gem install fusuma-plugin-thumbsense


Enter fullscreen mode Exit fullscreen mode

Customize with yaml

Set the following code in ~/.config/fusuma/config.yml.



---
context: 
  thumbsense: true

remap:
  J: BTN_LEFT
  K: BTN_RIGHT
  F: BTN_LEFT
  D: BTN_RIGHT
  SPACE: BTN_LEFT


Enter fullscreen mode Exit fullscreen mode

thumbsense

Dragging and Swipe gesture with Fusuma<br>

Give it a try and let us know your thoughts! With your feedback and collaboration, let's make touchpad usage more intuitive and efficient!

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (1)

Collapse
 
iberianpig profile image
Kohei Yamada

I wrote about ThumbSense (Japanese blog)
iberianpig.github.io/posts/2023-09...

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay