ALT + TAB out of full screen apps isn't possible

Asked by fatsheep

When I play full screen games such as Tremulous, Nexuiz, or Enemy Territory, there is no way to alt + tab out. You have to close the game out entirely. On Windows it was very convienant alt + tabbing from my game to my instant messages, email, news, and such but unfortunately that isn't possible in Ubuntu yet. Are there any plans to change this in Edgy? I've been scrounging around for details on the next release, a lot has got me excited but no mention of this particular issue.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Matti Lindell (mlind) said :
#1

This won't probably answer your question, but for I'm not sure if there's one ultimate solution for this. Certain games grab keyboard when game is running on fullscreen and prevent window manager, X or whatever from receiving the signals.

For games that use SDL library, like neverwinter (and nexzuiz probably?) you can patch the SDL library to respond these signals, like show on http://home.woh.rr.com/nwmovies/libsdl.html. The problem is games may supply with their own SDL library version (or even implementation).

I think it would be very nice feature to get this implemented on necessary layer, so that fullscreen applications could be minimized/maximized when required, like with windows. Maybe you should file a bug report about this and get more insightful answer from Ubuntu dev people.

I've successfully patched Dapper's version of libSDL using those instructions, and Neverwinter Nights running on fullscreen can be toggled with ALT+ENTER now. I'll test I can do same with Enemy Territory for starters.

Revision history for this message
fatsheep (jesse-fatsheep-deactivatedaccount) said :
#2

I've tried alt+enter, all it does is freeze my game. :/ It lets me see the toolbars but I can't move the mouse outside the game window and I can't alt+tab out. I am not a programmer so I won't pretend to understand how SDL libraries work but I do hope that the Ubuntu devs see the value in reserving the alt+tab input for minimizing a window in all cases to make full screen applications a little more manangeable.

Revision history for this message
kenden (kenden) said :
#3

Hi,

I think with your bug at:
https://bugs.launchpad.net/metacity/+bug/63245/
this question can be marked as answered and continue tracking the solution in the bug report.

Please simply close this question if you agree, that will help the support team!

Revision history for this message
kenden (kenden) said :
#4

Actually, maybe waiting for a possible fix for the problem, this report can be kept open to find workarounds, because some seem to exist:

The program etswitch can help:
http://hem.bredband.net/b400150/

See: http://gentoo-wiki.com/HOWTO_minimize_fullscreen-Games for supported games and
http://ubuntuforums.org/archive/index.php/t-8646.html for installation.

Revision history for this message
Harry Sufehmi (harry-sufehmi) said :
#5

Hi, I just found a way to ALT-TAB from Wolfenstein : Enemy Territory to the Gnome Desktop.
Here's how :

(1) Switch to Windowed Mode : pressing Alt-Enter usually works

(2) Activate the console : by pressing the ` (backtick? or tilda) key

(3) Now you can press ALT-TAB to your Gnome Desktop

I don't know why, but my guess is activating the console also releases its grab on mouse & keyboard. So then you can ALT-TAB to your desktop.

Since Wolfenstein is based on Quake-engine; my guess is you can do this trick too on other games based on that engine.

Hope it helps someone.

Can you help with this problem?

Provide an answer of your own, or ask fatsheep for more information if necessary.

To post a message you must log in.