Mouse not staying in games (+ 1080p screens are forced to main 4k's 200% scale)
(Could also be Fedora or Gnome related, but there's one thing Bazzite related I also have a question about)
In short:
My mouse keeps ejecting itself from games, often to another monitor, and/or the gnome "hot corners" (that aren't actually the hot corner you can disable; like the app bar at the bottom)
In long:
I have tried a few things like moving my monitors to a ridiculous position, but that hasn't seemed to help (see screenshot lol)
I'm guessing this may be an issue with Gnome/Wayland, so I looked up "how to add kde to bazzite" and the ujust command for it seems to not exist anymore
In fear of breaking my install, I've come here rather than attempting to add KDE manually, or just reinstalling entirely
(I also fear installing KDE may lead to the same issue, or it's an easy fix for Gnome; thus making the effort pointless lol)
Summary:
- Mouse ejects from games
- KDE ujust command doesn't exist
- Can I force a mouse to stay in-game on Gnome/Wayland?
- Should I move to KDE to fix this issue?

5 Replies
I had very similar issues, I believe that it's due to fractional scaling and we need to disable it. (which is a pain on a 4k monitor) This post helps a little... https://universal-blue.discourse.group/t/gnome-fractional-scaling-and-game-resolution/479 and I am sure that some of the devs in here can explain more...
Universal Blue
Gnome fractional scaling and game resolution
I recently rebased from Fedora Silverblue to Bazzite (bazzite-gnome) on my living room PC and love it. I just want to share a bit of information that might help someone else out regarding weird game resolution issues. Recent-ish builds enable experimental Gnome Wayland fractional scaling by default. This can be very nice, but it also impacts th...
I'm guessing this may be an issue with Gnome/Wayland, so I looked up "how to add kde to bazzite" and the ujust command for it seems to not exist anymoreI believe this is not there because a lot of apps don't just "swap" over. I.E. you'll install the gnome version of say the contacts app, but with KDE you'd have the KDE version. So just jumping from gnome to kde would break a bunch of apps. (again you can probably get more in depth reasons from a dev) From what I understand going from gnome to kde is not as simple as rebasing say to the experimental build. Here's some more info about rebasing (scan up to the top of the chat for the whole conversation) ddd https://discord.com/channels/1072614816579063828/1348702724862116031/1348714517181497354
The command seems to not work (see screenshot)
but changing to 100/200% scale worked.... for a little bit
but my mouse got loose again and still have the same issue
(I do have a 4k monitor so this may be it?)
May try rebasing if there isn't aanother option
(I'd be fine with both KDE and Gnome, iirc there's a way you could log out and swap to the other if you had both installed; just I never actually tried it)

gsettings set org.gnome.mutter experimental-features “[‘variable-refresh-rate’]”
I am not 100% sure if I did that using sudo or not
that's me playing with things back when I was trying to do it 🙂
Hope you don't take it wrong if I don't play with it on my system now that I have it working 🙂No worries! I know the feeling of not wanting to break things again
Apparently I was dumb and didn't realize the "$" was also auto-copied from the command in the link you sent lol
It seems to be helping, but I'm going to wait a day or 2 just to be sure it's working all of the time before I mark this thread as "solved"
Will report back if it worked/didn't
----------
So apparently setting my primary 4k monitor to 200% forces all other monitors to 200% (other monitors are 1080p, so makes them unusable)
But in the settings it reads as 100% for those monitors
So this may be a deeper issue with Gnome