1

I'm using Ubuntu 16.04.

I've tried xmodmap, xbindkeys + xdotool with no luck.

Here's an example solution that I've tried with xmodmap.

xmodmap -e "keycode 65 control = space Shift_L"
4
  • Another option might be at home modifier or xcape, which can make keys dual-functional. When you press space normally, it sends a space. When you hold it and press another key, it sends a shift.
    – Sparhawk
    Commented May 23, 2017 at 5:02
  • I've tried xcape translating space to shift, it doesn't work well. Commented May 23, 2017 at 5:04
  • This is illegal xmodmap syntax, and xmodmap doesn't support what you want. Read up on xkb, make your own custom keyboard layout with a "compatibility map" (misleading name) that does what you want.
    – dirkt
    Commented May 23, 2017 at 5:15
  • I know that this answer is old; however, it does show the syntax above. Commented May 23, 2017 at 5:21

0

You must log in to answer this question.

Browse other questions tagged .