TransWikia.com

Minecraft chat sometimes contains 't' when opened on Linux?

Arqade Asked by robfuscator on December 4, 2020

Sometimes, when I go to type a chat message on Minecraft (using t to open the chat) there is already a letter t entered in the text field.

This is only occurring in Minecraft and nowhere else. I use Minecraft on Linux (Arch and Ubuntu, problem exists in both distros) with OpenJDK.

If I assign another alphanumeric or special character key to the ‘open chat’ action, the problem still occurs, just with whatever key I assign. For example, If I assign p, then I will get a p entered in the text field.

If I set the ‘open chat’ action to Enter then it does not happen (It’s a nice workaround). It is somewhat similar to this bug for Windows 10, but I don’t experience this issue on anything other than Linux.

How do I fix this in a more permanent manner?

2 Answers

I think that maybe your chat key gets stuck a bit and enters 2 "T's" into the game. If you want to, you can rebind the Open Chat key or you can just delete the T. Hopefully its because of the T key and not the game

Answered by JCW2016 on December 4, 2020

Adjust the speed that keys get repeated

What could be happening, is that your operating system is detecting a "Key held down" event - and thus starts repeating that key before you release your finger, inserting a t (or whatever character you set your keybind to in Minecraft) into the chat box.

Given that you say this only happens 'sometimes', you're probably pressing the key just the right amount of time to start the repetition, meaning you should only need to adjust it slightly for it to not repeat on you.

Ubuntu

Change/Adjust the 'Repeat Keys' setting. From this Ubuntu help page:

  1. Open the Activities overview and start typing Settings.
  2. Click on Settings.
  3. Click Universal Access in the sidebar to open the panel.
  4. Press Repeat Keys in the Typing section.
  5. Switch the Repeat Keys switch to off.
    Alternatively, adjust the Delay slider to control how long you have to hold a key down to begin repeating it, and adjust the Speed slider to control how quickly key presses repeat.

ArchLinux

This can be achieved by adjusting the 'typematic delay' settings, using the command kbdrate. From the ArchLinux wiki:

The typematic delay indicates the amount of time (typically in milliseconds) a key needs to be pressed and held in order for the repeating process to begin. After the repeating process has been triggered, the character will be repeated with a certain frequency (usually given in Hz) specified by the typematic rate. These values can be changed using the kbdrate command. Note that these settings are configured separately for the virtual console and for Xorg.

# kbdrate [-d delay] [-r rate]

For example to set a typematic delay to 200ms and a typematic rate to 30Hz, use the following command:

# kbdrate -d 200 -r 30

Issuing the command without specifying the delay and rate will reset the typematic values to their respective defaults; a delay of 250ms and a rate of 11Hz:

# kbdrate

Answered by Robotnik on December 4, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP