Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tuxedo-touchpad-toggle executable #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jluttine
Copy link

This PR provides a solution for feature request #2

When executed, tuxedo-touchpad-toggle toggles the enabled/disabled state of the touchpad. This executable makes it easy to bind the toggle to any key combination so one can toggle the touchpad in any desktop environment.

The implementation is copied from the following comment: #2 (comment) (FYI, @Mi-La might own the copyright for it?)

When executed, tuxedo-touchpad-toggle toggles the enabled/disabled state
of the touchpad. This executable makes it easy to bind the toggle to any
key combination so one can toggle the touchpad in any desktop
environment.
@jluttine
Copy link
Author

On my laptop, the touchpad toggle button has key code: 29+85+125 (found with showkey so it can be used in actkbd without X).

So, I have the following line in my actkbd.conf:

29+85+125:key:exec:/path/to/bin/tuxedo-touchpad-toggle

@oe7drt
Copy link

oe7drt commented Feb 17, 2023

Thank you, this finally makes that feature work on my laptop using Arch.

I usually only get

Your desktop environment could not be determined.

with tuxedo-touchpad-switch.

As I'm usually on X I call it from i3:

bindsym XF86TouchpadToggle exec --no-startup-id tuxedo-touchpad-toggle

@Xartos
Copy link

Xartos commented Nov 15, 2023

I rebased this branch on master and added this commit to make it work for my infinitybook pro gen8.

@jluttine This PR looks quite stale, but you are free to add this commit if you want to update it 🙂

@nebulorum
Copy link

nebulorum commented Sep 9, 2024

This would solve my issues with Sway. Just up voting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants