From 6db817a76447f015c69a6e00d686e637f47d3574 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 22 Feb 2026 13:08:48 +0100 Subject: Move footswitch configuration to misc Linux stuff --- blog/content/notes/tech/misc_linux_stuff.gmi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'blog') diff --git a/blog/content/notes/tech/misc_linux_stuff.gmi b/blog/content/notes/tech/misc_linux_stuff.gmi index 334b603e..87569146 100644 --- a/blog/content/notes/tech/misc_linux_stuff.gmi +++ b/blog/content/notes/tech/misc_linux_stuff.gmi @@ -70,3 +70,17 @@ Drawbacks: * If IMAPFilter stops working, email stops being forwarded without warning. => https://ñix.es/cgit/alex/alexpdp7.git/tree/scripts/p7s/mail/__init__.py?h=master Refer to this Python module for scripts that configure IMAPFilter as a systemd service, with credentials from Bitwarden. + +## Using a PCSensor pedal + +=> https://github.com/rgerganov/footswitch Install Footswitch + +``` +sudo footswitch -1 -m ctrl -2 -S '7F' -3 -m win -k m +``` + +Maps: + +* Left pedal to be a ctrl key +* Center pedal to the toggle mute key +* Right pedal to be Win+M (you can map this in Gnome to toggle mic status) -- cgit v1.2.3