You are not logged in.

#1 2013-08-28 19:04:58

NewWorld
Member
Registered: 2010-02-15
Posts: 33

How to re-map ModKey+K to Ctrl+V ?

Hello, I'm a Dvorak key-layout user and I want to copy/paste like a normal human being, i.e. with the left hand. How do I re-map ModKey(a.k.a. the Windows key)+K to Ctrl+V in X? I'm using AwesomeWM with no DE.

Xmodmap can't handle ModKey+AnyKey combinations as far as I can see.

Here is a lead on how `xev` registers a ModKey+J combination:

FocusOut event, serial 33, synthetic NO, window 0x4a00001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 33, synthetic NO, window 0x4a00001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           32  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

The last resort for me would be to make ModKey+K execute an X11-macro with something like `xdotool` to simulate key presses.

All advice and suggestions are appreciated. Thanks for reading.

Last edited by NewWorld (2013-08-28 19:36:31)

Offline

Board footer

Powered by FluxBB