LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 02-15-2020, 09:00 PM   #1
ArtStallion
LQ Newbie
 
Registered: Feb 2020
Posts: 9

Rep: Reputation: Disabled
Question Key presses inside Minecraft affect other programs


So this isn't just a Minecraft problem, this happens to a lot of other softwares I use on my computer as well. The problem is, when I press a key in Minecraft, even if it is in Fulscreen Mode, it will affect outside Minecraft, and its really annoying when you wanna focus on the game. So is there any program or anything that would kinda isolate Minecraft. Often I can't press some keys because it would send the keystroke to some other program instead of Minecraft. I use Linux Mint (19 I think). Thanks for spending your time to help me.

Last edited by ArtStallion; 02-15-2020 at 09:02 PM.
 
Old 02-15-2020, 10:32 PM   #2
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Mint ships with multiple DEs, do you know which desktop environment/graphical interface you're using? This sort of behavior is likely a DE/WM issue, not a "Linux problem".
 
Old 02-16-2020, 12:58 AM   #3
ArtStallion
LQ Newbie
 
Registered: Feb 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by phantom_cyph View Post
Mint ships with multiple DEs, do you know which desktop environment/graphical interface you're using? This sort of behavior is likely a DE/WM issue, not a "Linux problem".
I use Cinnamon, which one would you recommend? What if I try and assemble one myself?
 
Old 02-16-2020, 12:58 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by ArtStallion View Post
So this isn't just a Minecraft problem, this happens to a lot of other softwares I use on my computer as well. The problem is, when I press a key in Minecraft, even if it is in Fulscreen Mode, it will affect outside Minecraft, and its really annoying when you wanna focus on the game.
Are you saying the key is defined in minecraft, and does what it should, but also does something else outside minecraft at the same time? Which key? What does it do?

And what other software reacts like that?
 
Old 02-16-2020, 10:55 PM   #5
ArtStallion
LQ Newbie
 
Registered: Feb 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
Are you saying the key is defined in minecraft, and does what it should, but also does something else outside minecraft at the same time? Which key? What does it do?

And what other software reacts like that?
Yes, I think any key, but the key that annoys me the most is the SHIFT key. Apparently in Linux Mint, when I press SHIFT + [any alphabet key] it opens a tiny search bar kinda menu, I haven't found out what it does yet, coz when i type something in and tap ENTER, it does nothing. But in Minecraft, SHIFT is for crouching and Q for throwing items. So if I was to hold shift, I will crouch, but then if I type anything else while holding SHIFT, it won't register in Minecraft. Now I wouldn't mind much if in single player, coz then its a very relaxed gameplay. But I play a lot of competitive minigames on Minecraft servers, and being able to quickly react and respond is key to winning the game, an this thing annoys the heck out of me.

Here's a screenshot of this menu (this menu is the main troublemaker, but there are things like the start menu which gets toggled even if I'm in fullscreen mode, so generally if I could stop Linux from giving the key presses to anybody other than Minecraft would be great.

Click image for larger version

Name:	Screenshot from 2020-02-17 10-20-23.jpg
Views:	20
Size:	111.1 KB
ID:	32575

Last edited by ArtStallion; 02-17-2020 at 12:04 AM.
 
Old 02-17-2020, 03:44 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
2 approaches:
- search minecraft documentation if you can't configure it to grab all keyboard input and not pass it on. Might also be a java option, not limited to minecraft
- check all hotkeys and keyboard shortcuts in LinuxMint, see which conflict with your minecraft usage, and change or disable them.

FWIW, I'd never use Shift+... shortcuts globally...
 
Old 02-17-2020, 11:48 AM   #7
ArtStallion
LQ Newbie
 
Registered: Feb 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
2 approaches:
- search minecraft documentation if you can't configure it to grab all keyboard input and not pass it on. Might also be a java option, not limited to minecraft
- check all hotkeys and keyboard shortcuts in LinuxMint, see which conflict with your minecraft usage, and change or disable them.

FWIW, I'd never use Shift+... shortcuts globally...
aah, thx. I can't find anything about this in their documentation, and there are too many global hotkeys using shift, also these are only the ones I manually found, since there isn't a feature to filter the list of hotkeys. I would rather have a way to stop Minecraft from passing on the keystrokes. I'm gonna keep searching. Thanks for replying.
 
Old 02-29-2020, 12:39 PM   #8
Lucifer53
LQ Newbie
 
Registered: Feb 2020
Posts: 10

Rep: Reputation: Disabled
Yes this is not only the problem of the games.It occurs on other software also.I am also facing this problem on many software
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Minecraft NFC -- How one man took Minecraft to the next level LXer Syndicated Linux News 0 02-21-2016 05:53 AM
[SOLVED] Launch Minecraft and Minecraft server as non-root user Hasek39 Linux - General 4 01-04-2016 03:06 AM
Minecraft world trickery (and even minecraft on ipad) lhartvik LinuxQuestions.org Member Success Stories 2 05-28-2015 01:32 AM
LXer: GOL MineCraft Weekly. Grab Issue 2 Today, Linux Minecraft server LXer Syndicated Linux News 0 08-04-2013 11:41 AM
How to listen to all key presses in whole Linux? pvv Programming 1 03-28-2004 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 11:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration