Recent Topics

Ads

[LINUX] My mouse goes to my other screen

Need help installing or running the game?
Check the Install Guide before posting.
Forum rules
Please read the Install Guide before posting in this section.

Sticky threads cover the most common questions. Please review them before posting to avoid duplicate topics and help save time for both players and staff.

Thank you.
Nolent
Posts: 4

[LINUX] My mouse goes to my other screen

Post#1 » Fri Jan 09, 2026 4:41 pm

Hello,
I've installed the game via Lutris exactly the same way that the install guide says to, but my mouse keep going on my second screen.
I've tried everything that is writtent:
- // Mouse escaping to other screen on wayland sessions?
-Try setting Automatically capture mouse from winecfg (Wine configuration), graphics tab. - thanks kodatarule
Spoiler:
-Try proton-GE with PROTON_ENABLE_WAYLAND=1
-Run x11 session, that doesn't have this issue
-Run with Gamescope (https://github.com/Plagman/gamescope) - thanks felipetrz

- // Mouse going weird? Running wayland/Sway? try Gamescope (https://github.com/Plagman/gamescope) - thanks felipetrz

When I try to launch the game with Gamescope, I'm stuck with the launcher in full screen and can't launch the game.
What can I do ?

Ads
User avatar
xpander
Posts: 840
Contact:

Re: [LINUX] My mouse goes to my other screen

Post#2 » Fri Jan 09, 2026 5:33 pm

no idea about gamescope issue, but doesn't proton wayland with GE + capture mouse wine setting + game in fullscreen still not fix it?
Helpful links:

Install guide for Linux
Install guide for Windows
Offical RoR Discord

AUR package for WARAddonClient

-------------------------------------------------------------------
My Linux Gaming Videos

Nolent
Posts: 4

Re: [LINUX] My mouse goes to my other screen

Post#3 » Fri Jan 09, 2026 6:03 pm

No it does not fix it. I use:
- Proton-GE (latest)
- PROTON_ENABLE_WAYLAND=1 flag enabled
- Automatically capture mouse in winecfg
- Fullscreen ingame

User avatar
xpander
Posts: 840
Contact:

Re: [LINUX] My mouse goes to my other screen

Post#4 » Fri Jan 09, 2026 6:55 pm

sadly i have no idea then. whats your desktop environment? might have to report bug then.

you can maybe workaround it also by setting your monitors offset vertically from eachother while the game is up and then reverting back to normal after it..but yeah...
Helpful links:

Install guide for Linux
Install guide for Windows
Offical RoR Discord

AUR package for WARAddonClient

-------------------------------------------------------------------
My Linux Gaming Videos

Nolent
Posts: 4

Re: [LINUX] My mouse goes to my other screen

Post#5 » Fri Jan 09, 2026 7:01 pm

I'm using KDE. I don't think it's a bug on their part because I'm playing numerous other games (LOTRO, dota or warframe) where this behavior does not occur.
I'm just gonna put my screen in top left while I'm playing I think

User avatar
Hecksa
Posts: 48

Re: [LINUX] My mouse goes to my other screen

Post#6 » Fri Jan 09, 2026 8:06 pm

xpander wrote: Fri Jan 09, 2026 6:55 pm sadly i have no idea then. whats your desktop environment? might have to report bug then.

you can maybe workaround it also by setting your monitors offset vertically from eachother while the game is up and then reverting back to normal after it..but yeah...
I use a lutris pre-launch script to disable one of my monitors when RoR launches, and a post-exit script to re-enable it. It's a shame to have the monitor off, but it works well enough. I imagine you could write a script to alter the screen positions too, if you preferred.

WindPCTrue
Posts: 2

Re: [LINUX] My mouse goes to my other screen

Post#7 » Fri Jan 09, 2026 8:24 pm

Cannot reproduce this under both KDE Wayland and Gnome Wayland on a triple monitor setup - one is on top and the other one on left.
KDE Fix - only requires the tick in winecfg to have capture mouse in fullscreen - used winege 8.26 which comes with install script.
Gnome fix - requires both proton wayland enabled + capture mouse in fullscreen.

What is your setup like with the monitors ? How many monitors and do you perhaps have one which is in portrait mode ? Which distro and versions of kde plasma ?

On my end it was tested on CachyOS latest kde plasma 6.5.4 and gnome 49. Have also tried on a different setup(laptop with hybrid setup) which cannot exhibit the issue as well.

Nolent
Posts: 4

Re: [LINUX] My mouse goes to my other screen

Post#8 » Fri Jan 09, 2026 8:51 pm

I'm on CachyOS too, same version of KDE. I have a simple double monitor with the secondary one on the left.

Ads
WindPCTrue
Posts: 2

Re: [LINUX] My mouse goes to my other screen

Post#9 » Fri Jan 09, 2026 9:07 pm

Have you tried to re-install plasma and potentially all of it's packages after the install ?

`sudo pacman -S plasma kde-applications`

Afterwards I remove kweather, merkuro and kmix as they seem to mess up other things:

`sudo pacman -R merkuro kmix kweather`

Reboot - then retry.

User avatar
xpander
Posts: 840
Contact:

Re: [LINUX] My mouse goes to my other screen

Post#10 » Sat Jan 10, 2026 8:26 am

If nothing helps you can make a script and key bind it as a workaround that moves the screen position vertically offset... for example when i last time used KDE back in May 2025 I used this:
Spoiler:

Code: Select all

#!/bin/bash

# Define toggle file
TOGGLE=$HOME/.toggle_output

# Define output name and target positions
POSITION_1=2560,1440
POSITION_2=2560,0

# Check current position using kscreen-doctor
CURRENT_POSITION=$(kscreen-doctor -o | grep "Output:" -A 6 | grep -m1 "Geometry:" | awk '{print $3}')
echo $CURRENT_POSITION
# Toggle position
if [ ! -e $TOGGLE ]; then
    touch $TOGGLE
    # Set to position 2560,1440
    kscreen-doctor output.1.position.$POSITION_1
    echo "Position set to: $POSITION_1"
else
    rm $TOGGLE
   # Set to position 2560,0
    kscreen-doctor output.1.position.$POSITION_2
    echo "Position set to: $POSITION_2"
fi
i just use 2 screens with same resolution so i moved one up by 1440 pixels so the mouse couldnt go to otherone...with a keyboard shortcut i binded to that script i was able to just switch between modes when i needed the mouse escape and when i didnt want.

tweak it to your needs ofc.
fi
Helpful links:

Install guide for Linux
Install guide for Windows
Offical RoR Discord

AUR package for WARAddonClient

-------------------------------------------------------------------
My Linux Gaming Videos

Who is online

Users browsing this forum: No registered users and 1 guest