dvtm icon indicating copy to clipboard operation
dvtm copied to clipboard

ALT as mod key.

Open seba2044 opened this issue 8 years ago • 4 comments

Is it possible to use ALT as MOD key (not working in my st+dvtm) ???

seba2044 avatar May 05 '17 18:05 seba2044

You can have a look at #39 which is highly related.

ghost avatar May 05 '17 19:05 ghost

A workaround is to rebind ALT-key to have same effect as CONTROL (still ALT-<some_key> and not just ALT but perhaps still preferred) Try: showkey press CONTROL key the keycode output then: showkey -s press ALT-key scancode output Then use setkeycode [scancode] [keycode] with setkeycode [scancode output] [the keycode output] which will rebind ALT-key to the same effect as CONTROL. Reference: https://jlk.fjfi.cvut.cz/arch/manpages/man/setkeycodes.8.en

methuselah-0 avatar Apr 21 '18 18:04 methuselah-0

Thank you for such an amazing project! This possibility would be icing on the icing of a delicious cake, and would make it feel even closer to dwm.

ezequiel-garzon avatar Sep 02 '18 21:09 ezequiel-garzon

You could try a re-mapping as a work-around. For example remap Alt-a (or whatever key you want) to send a ^g. How to do the remapping depends on your environment. I can try to help you if you'd like. If you are using X11 there are several utilities that will allow a remapping such as xmodamp. I use X11 and do some keyboard re-mappings. If you are using Wayland or Mac OS then that is different. Also, your terminal program might be able to do the re-mapping, depending on which terminal program.

GReagle avatar May 21 '21 12:05 GReagle