[Linux] Dota opens on wrong monitor when using more than one monitor
- POP!_OS 22.04
- nvidia-driver-510
When using 2 monitors, Dota opens up on the secondary monitor when it should open on the primary monitor.
This only seems to happen with Dota and does not happen with other steam games.
As a workaround, you can either:
-
Launch game then alt + tab and switch to single display
- After switching to single display, a switch back to dual displays will keep Dota on the primary monitor, though closing Dota and reopening it will again open it on the secondary monitor.
-
Add the following launch parameters:
-phased_window_create -sdl_displayindex 0- This workaround does not seem to work when video mode is set to "Borderless Window". This workaround only works when set to "Desktop Friendly Fullscreen". Switching from "Desktop Friendly Fullscreen" to "Borderless Window" will send Dota to the Secondary Monitor.
- Pressing alt+tab to minimize Dota and reopen it may send Dota back to the secondary monitor (this doesn't happen consistently). At which point, the only way to get Dota back to the primary screen is to switch back to Single Display in OS video settings. When asked if you want to keep or revert changes, select "Revert Changes" to go back to Dual monitors and Dota running on the correct monitor. After performing this workaround of the workaround, the chat wheel mouse cursor will be "stuck" on the second monitor and you can no longer use the chat wheel commands.
You should post this issue to the already existing Linux issue tracker here: https://github.com/ValveSoftware/Dota-2 so that it gets to the right people.
This issue is stale because it has been open for 365 days with no activity.
This issue was closed because it has been inactive for 90 days since being marked as stale.