I recently installed Linux Mint Cinnamon on a laptop, and I’m having a two-sided issue. Web searches have yielded no solution. I’m also very new to Linux.
Problem 1: When alt-tabbing out of a fullscreen application (at this moment, Helldivers 2), the application will minimize, but I cannot restore it. It will appear for roughly half a second, and then re-minimize. I can hear the game still running in the background.
I have tried alt-tab, super+number, and right-click>restore. None seem to work.
I have tried disabling thumbnails for windows, no fix.
Disabling effects, no fix.
Problem 2: As a workaround for problem 1, I tried borderless fullscreen. It works, but there is a white, 1 px border around the screen. I have tried changing themes, no fix. Same thing with disabling effects. I do like the Mint-Y theme, but there’s no longer an option to change window borders, from what I’ve researched. Again, trying a different theme didn’t seem to get rid of the white border.
Please help.
I have also experienced your first problem. It’s probably that the game bugs out in some way. apparently gamescope helps to fix it, bit I wasn’t able to get it to work on an nvidia based system.
I’ll take a look into that. This laptop is using one of those hybrid Nvidia GPUs, so it took me a bit to work out the performance issues at first.
From the description it feels like you’re not exiting full screen mode within the game before switching to other applications. Try the same key combination you use to enter full screen mode again, before switching.
I just gave that a shot. When I come back and re-fullscreen, the game minimizes and goes back to the problem state.
I get this a lot when playing Sims4 in Awesome. The window just ups and vanishes if you tab to desktop.
Solution:
wmctrl -a sims -b toggle fullscreen
It does not seem to work for me. After inputting
wmctrl -a helldivers -b toggle,fullscreen
I just get a quick black flicker and it goes back to minimized. I also tried changing the win argument to :SELECT: from the documentation you linked, but it still doesn’t pull up the window and keep it there.
The command does work for other windows, for clarification.
huh. What about
-b add,fullscreen
, and keep spamming it in a for loopI’ll give that a shot tonight and let you know
Something very similar happens to me in some Windows games on Mint with Cinnamon, especially older games running using Proton. I’ve had it happen recently with Age of Mythology and Fallout New Vegas.
Unfortunately, I don’t have the answer for you, but I can tell you you’re not alone.
does the desktop environment add the 1px border? I can’t remember which ones I used that had that but snapping windows to full or to the split regions or even manually to each other would leave a gap until I found a really obscure setting for the border gap.
From what I’ve looked up, it does. However, at some point the ability to change border settings in Themes was removed.
An extra detail: in using 2 monitors. When playing with borderless window and moving the mouse rapidly, I’ve had my mouse escape the focused window a few times and start clicking stuff on my desktop.