Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Right now I'm running Trine, which is a game using OpenGL running in fullscreen, in Ubuntu 10.10.

What I would like to be able to do is Alt+Tab out of the game to be able to browse the web, check any IM messages, etc. while paused.

However, just Alt+Tab'ing doesn't do anything, so I have to quit the game every time I want to check something.

Is there any way that I can minimize a fullscreen game? I know I can probably run it in windowed mode, but then I would have to hide the panels when playing - since the game would otherwise be hidden underneath. Plus, that's just an ugly solution.

share|improve this question
up vote 3 down vote accepted

Start it in new x-server, and switch desktop by keys CTRL+ALT+F7 or CTRL+ALT+F8.

Type xinit /path/to/the/game/executable -- :1 into a terminal.

share|improve this answer
Why not provide short instructions please? – turbo Jul 8 '11 at 23:10
This is useless without instructions. – RolandiXor Aug 28 '11 at 19:21
Have to agree on not having instructions kinda sucks. – Bruno Pereira Nov 10 '11 at 16:26
Fails for me: X: user not authorized to run the X server, aborting. – Sparhawk Feb 8 '14 at 0:14
@Sparhawk this guy gave good instructions – Jerinaw Dec 24 '14 at 18:06

You can move to another desktop by clicking CTRL+ALT+ or .

It will not minimize the game, but it should move you to another desktop where you can surf.

share|improve this answer

If you run it in windowed mode, you can set it to always on top and the same size as your desktop so the panels are not showing, but allows easy alt+tab. This is essentially borderless windowed mode.Try wmctrl. Something like:

trine &
#resize to 1024x768 (or whatever size you want)
wmctrl -r 'Trine' -e 1,0,0,1024,768
#make it on top
wmctrl -r 'Trine' -b add,above
#activate it
wmctrl -a 'Trine'
share|improve this answer
Interesting, but won't the Alt + Tab keypress be captured by the game itself? – Oxwivi Nov 5 '11 at 18:08
I suppose it's possible the game will still eat the commands. I used to do this for another game that would crash when I alt+tab in fullscreen mode (it was also opengl), so I just ran it in this configuration and had no more issues. Another problem with full screen mode for me was it would often blank my second monitor. This also prevented that from occurring. – balloons Nov 5 '11 at 18:23

The game has a bug that you need to report.

share|improve this answer
That's in every single fullscreen game I have ever played in Linux. – Tommy Brunn Apr 14 '11 at 6:34
@Tommy Brunn I've only seen it once, when testing an experimental beta – psusi Apr 14 '11 at 14:30

I have found a very dirty solution for this problem. Insert a USB-Stick, a window with the file manager will pop up, your fullscreen application will be inactive. (Works only if it's not configured to do nothing instead...)

share|improve this answer

I used to face this problem way too regularly and as far as I know it's a problem that needs to be addressed however it may be possible to use Alt+Enter to take the game out of fullscreen mode and then Alt+Tab. Pressing Alt+Enter again when the game has focus should then put it back into fullscreen mode.

share|improve this answer

Should be able to do CTRL+ALT+ or CTRL+ALT+ if that doesn't work then something might be wrong with your game.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.