While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Fedora KDE gets approval to be upgraded to sit alongside Fedora Workstation
- Steam gets new tools for game devs to offer players version switching in-game
- Palworld dev details the patents Nintendo and The Pokemon Company are suing for
- GOG launch their Preservation Program to make games live forever with a hundred classics being 're-released'
- Sony say their PSN account requirement on PC is so you can enjoy their games 'safely'
- > See more over 30 days here
-
Little Big Adventure – Twinsen's Quest a remake of th…
- Kaarlo -
Old Skies from Wadjet Eye Games looks like one to remem…
- TheSHEEEP -
Old Skies from Wadjet Eye Games looks like one to remem…
- emphy -
Classic Unreal Tournament and Unreal now easier to down…
- emphy -
Minecraft-like free and open source game VoxeLibre (for…
- kneekoo - > See more comments
- Steam and offline gaming
- missingno - Does Sinden Lightgun work?
- helloCLD - No more posting on X / Twitter
- Liam Dawe - Weekend Players' Club 10/11/2024
- Pengling - Upped the limit on article titles
- eldaking - See more posts
View PC info
Original post:
Spoiler, click me
I use an Nvidia GTX 1060 with three monitors, Manjaro testing branch, KDE Plasma 5.23 Beta. When I log into a Wayland session and try to run a fullscreen game, it shows up on my left monitor instead of the middle, which is assigned as my primary in X11 sessions.
But MAN, is Wayland SILKY smooth! It's such a shame to always have to clench my teeth and go back to X11 when I want to play something. Native, Wine, Proton, doesn't matter, anything running in fullscreen shows up on the left monitor. I've tried making a window rule to force games to position 1920,0 (since my monitors are all 1080p), what's weird is Plasma just crashes, goes completely black when I click save in Plasma settings. Sure they get saved but the rule doesn't work, sadly.
Is there a way?! Can I have my cake and eat it too now, by way of making fullscreen apps appear on the center monitor, or is it too early? Thanks in advance, everyone! ^^
Last edited by ridge on 12 March 2023 at 3:08 pm UTC
In my old KDE it in system settings, window behaviour, window rules.
(You could try something like "window class" "contains" "steam_app" to match all games.)
View PC info
You'd think this would be the temporary catch-all solution to solve aforementioned woes, couldn't get force position on monitor to work on my machine tho. Thanks for posting this however, others should definitely try this just in case!
By the way, I see you have an Nvidia card. You say old KDE with X, are you using Wayland now or have used it? Does saving changes to Plasma settings make the entire DE crash for you as well?
Last edited by ridge on 4 October 2021 at 6:17 pm UTC
I'm very conservative with respect to software at the moment: Debian buster, X server. Never tried Wayland. (Too little time for experiments nowadays...)
View PC info
Completely understandable! Thanks for getting back to me.
View PC info
I made a script so that it always pick's the monitor with the right resolution, which for me is 2560x1440. My other monitor is vertical so that one never gets picked now. I have another script that I sometimes run when I want to game in the TV that has a 4K resolution.
xrandr --output "$(xrandr --query | grep 'connected.*2560x1440' | grep -o 'XWAYLAND[0-9]*')" --primary
Another way is to check what for number your monitor is. You do "xrandr" first in the terminal and find your monitor, then you can do:
xrandr --output XWAYLAND1 --primary
Where XWAYLAND1 is your monitor.
But yeah, there definitely needs to be a solution implemented so that we don't have to keep doing this.
View PC info
YOU ARE A SAINT! Thank you so much!
That script is great, for me tho just setting my monitor as primary with xrandr was enough, fullscreen apps now start on the correct monitor and gameplay is SO smooth.
I can't thank you enough
Or is this a Nvidia thing ?
View PC info
Not sure if it's Nvidia specific, which version of KDE software are you on? When I'm in a Wayland session, I can't specify primary screen in settings. I can on X11 however.
5.22 , it's always worked both on X11 and wayland. Have to admit though I've only been using wayland for the last few months.
View PC info
Hmm, maybe it is then, I'm on the same version. But hey, maybe that means it's close to being added :)