title: Shift+Space to underscore in Linux (without xmodmap)
body: <p>Underscore is quite common when writing code so I mapped Shift+Space to underscore like this:</p>
  
  <pre><code>xmodmap -e 'keycode 65 = space underscore'
  </code></pre>
  
  <p>The above worked great for many years but when I tried QtCreator it was ignored. Apparently there is a bug in QtCreator: <a href="https://bugreports.qt-project.org/browse/QTBUG-31527" rel="nofollow">https://bugreports.qt-project.org/browse/QTBUG-31527</a>. </p>
  
  <p>My question is: Is there an alternative for Shift+Space to underscore that doesn't use xmodmap? Maybe something that is widely respected from every application.</p>