Unity launcher shown over Dota 2 in Fullscreen
Every time I launch dota 2 on my pc running 13.10 it looks like this:
The side and top bars don't go away even though the game is in full-screen. I only have this problem with dota 2 all other games work fine in full-screen. I have tried going into the settings and enabling the shortcut that forces fullscreen mode but nothing happens when I press the shortcut. is there a way to fix this or force ubuntu into fullscreen mode?
This problem is only with Dota 2 and not other fullscreen apps/games.
I managed to go to the settings in the game and changed the window setting from boarder less to full-screen. Dota 2 now works full screen.
Change Borderless Window to Fullscreen in Dota 2 settings (Video).
I personally did not like having to go to full screen, I like being able to interact with my other monitor without losing focus on my game. I also wanted my launcher to be on the monitor to my left but have the game on my monitor to the right (which full screen doesn't allow you to do.)
The only draw back so far is that I cannot get the window to draw over Unity's menubar at the top so you end up sacrificing 20px in height.
The solution for me was to set the following launch options in steam.
- Right Click
Dota2
in your steam library - Click
Set Launch Options
- Add the following
-h 1180 -w 1920 -x 1280 -y 0 -noborder
-
-w
should be the width of the monitor you want it on -
-h
should be height of the window, I couldn't get rid of the menubar so I subtracted it's height (20px for me) from the height of the game. -
-x
should be the offset of your second monitor (my second monitor is 1280px wide -
-y
is the offset from the top, since the menu bar isn't taken into account I set this to 0, it may not even be required to include -
-noborder
should indicate to dota that the game should be launched as a bordless window but it didn't so I had to do steps 7 through 10. This option may not be useful
-
- Click
OK
- Click
Close
- Launch
Dota2
- Click the
Settings Cog
- Click
Video Options
- Set
Display Mode
toBorderless Window
- Click
apply
(you may need to restart the game here)
If you're on a one monitor setup or you want the game to be in the same monitor as your launcher the same principles apply just adjust the -w
and -y
options to accomodate, however, you'll also be sacraficing your width as well as your height.
For now I think this is the best you can do.
That said the new reborn client has an additional option in the Video settings to allow your fullscreen game to not minimize when it loses focus. I haven't played with it much but it does mean that your launcher won't be accessible (as far as I could tell in my limited testing) as the game will still launch on the dominant monitor that has launcher assigned to it.
In steam, right click Dota 2, go to properties -> set launch options. In the texbox type "-fullscreen" (without the quotes). Restart Dota 2.