Hello! I am having some difficulty which I can't seem to solve. I am unable to play because when I attempt to move my mouse the view keeps snapping upwards. I think what is happening is the mouse is not being captured by the program and when it reaches the edge of the screen it resets position elsewhere and whips the view upwards.
If I attempt fullscreen then the problem changes. Instead of the view snapping when panning or scrolling the view, it just stops at what I assume are the edges of my desktop XD This prevents me from looking around or navigating.
I would appreciate any help or tips on how to get minecraft to properly capture the mouse, or fix whatever this problem is if I'm wrong.
Okay! My display settings are normal for my monitor, 1920 x 1080.
Minecraft 1.13 works, and this does potentially help me if all else fails. Unfortunately this does limit my options, as I was hoping to introduce some mods and very few are ready for 1.13.
I must continue to seek an alternate solution for the time being.
I've been using Manjaro Linux for about 2 months now. Pretty much everything works for me, had to do some tweaks here and there because Linux doesn't like my laptop. You could say I'm quite new to Linux, haha. Just tried 1.12.2 and it seems like it's all good for me.
Before you consider doing big changes though, I think something's wrong in the Minecraft settings. Go to the launch options in the launcher, then click on your version and turn on 'Resolution'. Try something less than your screen resolution and then exactly your screen resolution.
If you decide to use Manjaro in the end, keep in mind that it's based on Arch Linux, unlike Mint which is based on Debian. It's a little bit difficult to get used to a different OS
I found the source of the problem: pebkac. I had adjusted my mouse speed—which is not adjustable by default in the Linux Desktop Environments I've used—by manipulating the incorrect xinput settings for my mouse in the CLI. I've had this script as part of my boot-up for long enough that I forgot it was there until today, so I started messing with it. I began with disabling it, confirmed that mouse trapping functionality indeed returned, then located more appropriate properties to change.
For anyone who has a similar problem I'm leaving my solution here. MOUSE1 should be replaced with the name of your mouse from the output of the xinput command.
Incorrect:
xinput --set-prop 'MOUSE1' 'libinput Coordinate Transformation Matrix' # Anything at all here
Functional:
xinput --set-prop 'MOUSE1' 'libinput Accel Profile Enabled' 0, 1
# 0, 1 switches to flat mode
xinput --set-prop 'MOUSE1' 'libinput Accel Speed' -0.75
# Use some number between -1 and 1, to taste. I used such a low number because of a high dpi on my mouse
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Details:
>Linux Mint 19 Cinnamon
>Oracle Java 8 or OpenJDK
>Nvidia 396.54 Drivers, XOrg
>Windowed or Fullscreen
Hello! I am having some difficulty which I can't seem to solve. I am unable to play because when I attempt to move my mouse the view keeps snapping upwards. I think what is happening is the mouse is not being captured by the program and when it reaches the edge of the screen it resets position elsewhere and whips the view upwards.
If I attempt fullscreen then the problem changes. Instead of the view snapping when panning or scrolling the view, it just stops at what I assume are the edges of my desktop XD This prevents me from looking around or navigating.
I would appreciate any help or tips on how to get minecraft to properly capture the mouse, or fix whatever this problem is if I'm wrong.
Make sure your desktop's display settings are all correct. You'll probably find display options in the settings menu
Also try Minecraft 1.13 and 1.13.1, because it might be an issue that was fixed in the newer versions.
~ Formatter
Okay! My display settings are normal for my monitor, 1920 x 1080.
Minecraft 1.13 works, and this does potentially help me if all else fails. Unfortunately this does limit my options, as I was hoping to introduce some mods and very few are ready for 1.13.
I must continue to seek an alternate solution for the time being.
That's interesting. I'll ask you to play with the 'Themes' of your desktop, choose the 'Mint Y' option where possible.
I had bad experience with Linux Mint before, wish you all the good luck!
(I'm assuming this never happened to you before, or on Windows, correct me please if it was the same all the time!)
~ Formatter
Thanks for trying and for the well wishes! Mint-Y didn't seem to help but I'll keep messing around with this.
May I ask, do you run Minecraft 1.12.2 on Linux, and if so which distro?
My apologies for the late reply!
I've been using Manjaro Linux for about 2 months now. Pretty much everything works for me, had to do some tweaks here and there because Linux doesn't like my laptop. You could say I'm quite new to Linux, haha. Just tried 1.12.2 and it seems like it's all good for me.
Before you consider doing big changes though, I think something's wrong in the Minecraft settings. Go to the launch options in the launcher, then click on your version and turn on 'Resolution'. Try something less than your screen resolution and then exactly your screen resolution.
If you decide to use Manjaro in the end, keep in mind that it's based on Arch Linux, unlike Mint which is based on Debian. It's a little bit difficult to get used to a different OS
~ Formatter
I found the source of the problem: pebkac. I had adjusted my mouse speed—which is not adjustable by default in the Linux Desktop Environments I've used—by manipulating the incorrect xinput settings for my mouse in the CLI. I've had this script as part of my boot-up for long enough that I forgot it was there until today, so I started messing with it. I began with disabling it, confirmed that mouse trapping functionality indeed returned, then located more appropriate properties to change.
For anyone who has a similar problem I'm leaving my solution here. MOUSE1 should be replaced with the name of your mouse from the output of the xinput command.
Incorrect:
Functional: