How do I bind both right-click and keypress to action in Minecraft on Linux?



  • I would like to be able to use either right-click or V in order to place blocks and blockhit in Minecraft. I am using Minecraft 1.8.9 on Linux (Ubuntu).

    I would like to bind my right-click to V. Then in Minecraft, I'll bind V to place block, so I can blockhit using V and place block using right-click.

    I tried using xbindkeys. It seems work outside of Minecraft, but when I open Minecraft, and join a world, it does not work.

    How do I double keybind in Minecraft on Linux?



  • if you bind right-key to 'V', then Minecraft will see all right-clicks as the letter V (unless you also bind 'V' to right-click, in which case it will only get right-click input if you press 'V'). If you then bind 'V' to "place block", then you will both place blocks and shield with right-click (which Minecraft thinks is 'V').

    There is no way to use a different key for shield and place block, since Minecraft can only bind them to the same key. Changing "place block" also changes the key you shield with, unless you get a mod (in theory; in practice I don't know of any mod that does this, but that would be the only way).




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2