Quotes of the week
Posted Jun 24, 2016 12:57 UTC (Fri)
by mina86 (guest, #68442)
[Link] (13 responses)
Posted Jun 29, 2016 6:24 UTC (Wed)
by robbe (guest, #16131)
[Link] (12 responses)
C-x M-c M-butterfly means: Type C-x M-c, keep Meta down, then induce your trained butterfly to wave its wings just so that the rest of the necessary keys are pressed. That’s real mastery of the human-butterfly interface, but takes only four keystrokes, and only one hand.
Posted Jun 29, 2016 13:31 UTC (Wed)
by mathstuf (subscriber, #69389)
[Link] (11 responses)
I see this and wonder how Emacs users don't end up with severe wrist pain after a few years. How do you chord this? To me it is:
C-x: pinky+index
I can feel a tendon moving unnaturally with the rotation to get the thumb in there with the index finger in that position. When my index finger is free, e.g. for a Ctrl+Alt combo, I don't feel that (the other key for such a shortcut is usually found using the other hand). But then, I also have longer fingers why may not fit in such a cramped space as well.
Posted Jun 29, 2016 15:00 UTC (Wed)
by mina86 (guest, #68442)
[Link] (10 responses)
Second thing you do if you find yourself using an awkward key binding often is rebind it! It’s your editor, customise it to suite you.
Also remember that ‘ESC x’ can be substituted for any ‘M-x’.
Posted Jun 29, 2016 15:22 UTC (Wed)
by mathstuf (subscriber, #69389)
[Link] (5 responses)
> http://mina86.com/2009/more-control-no-caps-lock/
FYI, you can use udev to do transformations at the event level, so that such things work even on the TTY and you don't have to configure both X, Wayland, modify keyboard mappings or anything else.
Drop a file 99-kb-capslock.hwdb file into /etc/udev/hwdb.d with the contents:
evdev:input:b0003v24F0p0140e0110-*
To figure out the first line, run evtest as root, select your keyboard and look for a line such as:
Input device ID: bus 0x3 vendor 0x24f0 product 0x140 version 0x110
This turns into the ID above. The values must be padded to 2 bytes and hex characters must be uppercase.
The nice thing about this is that it works even if the keyboard is plugged in while X is running (setxkbmap does not apply to input devices added after the command is run).
Posted Jun 29, 2016 15:22 UTC (Wed)
by mathstuf (subscriber, #69389)
[Link]
Posted Jun 30, 2016 13:45 UTC (Thu)
by lsl (subscriber, #86508)
[Link]
Posted Jul 1, 2016 12:23 UTC (Fri)
by paulj (subscriber, #341)
[Link]
Posted Jul 1, 2016 12:35 UTC (Fri)
by karkhaz (subscriber, #99844)
[Link] (1 responses)
You can also do this on the hardware level
https://elitekeyboards.com/products.php?sub=pfu_keyboards...
Happy Hacking Keyboard. No caps lock, control to the left of "A", no arrow keys, proper diamond on the Super key instead of a shameful Windows logo. Also available with blank keycaps for extra fun.
Posted Jul 2, 2016 11:36 UTC (Sat)
by mathstuf (subscriber, #69389)
[Link]
Posted Jul 4, 2016 10:27 UTC (Mon)
by nix (subscriber, #2304)
[Link] (3 responses)
Myself, I ran out of keys a while back, even with an entire numeric keypad to override, so got a foot pedal. Downside: it's cheap and terrible (it emits key-pressed *and* released when you depress it, and nothing when you release it). But using the footswitch daemon to make it emit Hyper_R and using XKb to make Hyper_R (but *not* _L) a sticky key, it's quite useful for initiating runs of window-manager operations that usually require chording. (It's not so much use for anything else because of the lack of proper press/release functionality.)
(If anyone knows of a foot pedal that doesn't have insane ergonomic price tags but can be programmed from Linux and supports proper press/release, I'd be very glad to know of it.)
Posted Jul 4, 2016 10:35 UTC (Mon)
by mathstuf (subscriber, #69389)
[Link]
Posted Jul 8, 2016 5:40 UTC (Fri)
by massimiliano (subscriber, #3048)
[Link] (1 responses)
(If anyone knows of a foot pedal that doesn't have insane ergonomic price tags but can be programmed from Linux and supports proper press/release, I'd be very glad to know of it.)
I don't know of such a product.
But if you are really into this, building one using an arduino or a similar board for the USB interface and dumb pedals as actuators should be easy and reasonably cheap.
Just google for "arduino usb keyboard library" and have fun!
Posted Jul 9, 2016 0:20 UTC (Sat)
by flussence (guest, #85566)
[Link]
Quotes of the week
Quotes of the week
Quotes of the week
M-c: thumb+index
Quotes of the week
Quotes of the week
KEYBOARD_KEY_70039=backspace
Quotes of the week
Quotes of the week
Quotes of the week
Quotes of the week
Quotes of the week
Quotes of the week
Quotes of the week
Quotes of the week
Quotes of the week
