0

I want to do the shortcut Alt + = which puts the identity char ≡. How to do it with Xbindkeys? Or you need a different method?

  • You can find tutorials for assigning xbindkeys to a command - think about using xdotool to inject the character you want. You should only have to install xbindkeys, xdotool, and add the key to xbindkeys.rc in your home folder – QuickishFM Jan 21 at 21:25
  • This answer maybe. I haven't tested it though. – Kamil Maciorowski Jan 22 at 6:28
0

Install xdotool and xbindkeys.

Add in .xbindkeysrc:

"xdotool type ≡"
    m:0x90 + c:21
    Mod2+Mod5 + equal 

But it requires pressing = twice. And it will not always work.

  • You might also want to start xbindkeys with startup - simply add the command xbindkeys to rc.local or however you want to start. Simply adding it to Session and Startup worked for me on Xfce. – QuickishFM Jan 22 at 9:08
  • @QuickishFM I do this. This solution works badly. More often than not, he does not enter anything. I have to do it differently. – Jej Jan 22 at 21:44
  • You mean the solution at hand, or starting xbindkeys at startup? I couldn't get the alt + equal binding to work (other bindings work fine though), and xdotool type ≡ worked just fine for me. As for startup, running xbindkeys in "session and startup" works fine, but AFAIK its only for Xfce. – QuickishFM Jan 22 at 21:48

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.