Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    That sounds like a cool feature. Won't be easy to do though. The first thing I thought of was xbindkeys. But that won't work because this doesn't allow passing on the keyevent or reacting only to keydown/keyup etc. So basically, I guess what you'd need is essentially a keylogger that reacts reacts to e.g. a keyup-LShift event and inserts a ( if no other key pressed. Commented Feb 16, 2016 at 22:42
  • You could use xcape, also as package in some distros, and do xcape -e 'Shift_L=parenleft' and xcape -e 'Shift_R=parenright' , but not sure it meets your needs / restrictions etc. Commented Feb 16, 2016 at 23:22
  • And that should likely be xcape -e 'Shift_L=parenleft;Shift_R=parenright' ... Commented Feb 16, 2016 at 23:41
  • @Sukminder xcape looks like exactly what I want, I will give that a try Commented Feb 17, 2016 at 0:48
  • @Sukminder just tried it, and it works exactly. Want to make that comment a response & I'll accept it? Commented Feb 17, 2016 at 0:56