Forums » Linux

Alt Tab in fullscreen?

Dec 11, 2008 esmurdo link
Mine won't work. Is this normal, or is mine broken?
Dec 12, 2008 yodaofborg link
That only works in the Windows client, for whatever reason. At least us Linux folk have atl+enter though, them poor MacOSX Folk have to use a menu!
Dec 13, 2008 Puciek link
It is related to VO ovverriding global shortcuts for whatever reason.
Dec 13, 2008 yodaofborg link
afaik, they use the same full screen method that quake 3 does (go full screen by hiding wm), which is kind of old school now, well, they do have a Linux client, that is native so like, yeah.
Dec 15, 2008 Person link
hmm... alt+Enter, I'll have to try it...
Dec 19, 2008 Surbius link
Alt+Enter in Ubuntu 8.04 AMD64 closes/crashes VO.

Changing from Full Screen to Windowed mode causes VO to crash. Changing the resolution in VO messes up the desktop resolution severely and still unable to change to Windowed mode without crashing VO.

All Window Management shortcuts are disabled when VO is Full Screen as far as I can tell.

This problem is really irking me.
Dec 19, 2008 firsm link
Start a second x-server just for VO.
Dec 19, 2008 Surbius link
Thanks for the info firsm, but I think I lack the know-how to setup an x-server after being briefed on what it is.

After a little tinkering VO minimizes to window mode without crashing. Now the only problem is the gpu, ATI support for Ubuntu 8.04 is murky. Pretty much trying to run VO without full graphic acceleration is like watching a slide show of shapes and colors.

EDIT: Err, yeah. GPU works (with a balancing act) and I'm back to Alt+Enter crashing/closing VO.
Dec 22, 2008 Puciek link
If graph card is not working as supposed, install new drivers. Altho with ati you will need newer cards and drivers will still SUCK.
Jan 01, 2009 firsm link
Also, make sure not to enable compiz and these buggy toys.
Jan 21, 2009 PaKettle link
nvidia has full 3d accell support.....ati does not...
Jan 26, 2009 RedZ link
> nvidia has full 3d accell support.....ati does not...

Really? I worked with ATI and Nvidia in Linux - both works in 3D, just maybe with different bugs :) And last year AMD opened many of their ATI specifications - it will improve ATI support in Linux.

Well, Alt-Enter works in my config (Gentoo x86_64, X.org 1.5.2, Nvidia 8800), after client switched to windowed mode Alt-Tab may be used. Though some times bugs appeared: fps slow down after switched back to full screen.
Feb 15, 2009 darkvein link
For those of you wanting to know how to start games in a separate X session, here's a script that does all that for you: http://linux.softpedia.com/get/Utilities/Xgame-19837.shtml

Or, if you're using sabayon or gentoo, all you have to do is:

emerge --sync && emerge xgame

Run that and you'll be able to manage a list of games, then start them in new X sessions. Granted, it hasn't been working for me (X dies after a few minutes of playing VO in a separate X session), but hopefully you'll have better luck.
Jun 09, 2009 Rubin427 link
EDIT: please ignore this brain dead post. See the following post for a better solution.

-rubin427
---
I don't switch between fullscreen and windowed mode, that tends to cause problems for me. Instead, as darkvein also suggests, I launch a second X session and do web browsing in that. I do this by hand, and not using a script.

Your second X session is limited to poor resolution offered by the framebuffer or vesa driver- usually 1024x768 (because your graphics card is in use by the game).

The steps to do this are as follows:
1) start your computer normally, and launch vendetta as usual.

2) back on the command line <ctrl-alt-F1>, find an xorg.conf file that uses the the framebuffer or vesa driver. cd to /etc/X11/ and start looking there.
The file you want will have the line:
Driver "fbdev"
Driver "vesa"

mine was called xorg.conf.install

3) Launch an X session using that other config file

X -config xorg.conf.install :1

The ":1" is the identifyer for the new session.

4) spawn a window manager in the new session

twm -display :1

If all that worked for you, you can switch between the two sessions with <ctrl-alt-F7> and <ctrl-alt-F8>
Jun 16, 2009 Rubin427 link
While my last post technically works... I've found a MUCH better solution for gnome users. What we are going to do is set up the game in windowed mode, but set the game resolution to full screen size. Then we'll set up a new key-binding to use a gnome/metacity function to set the window to full screen mode (so it fills the screen without a title bar).

1) run gconf-editor.
2) go to apps->metacity->window_keybindings
3) in this menu, look for toggle_fullscreen, and set up a key bind to whatever you like. (I use: <Alt>Return)
4) save and quit gconf-editor.

5) launch vendetta.
6) set up the video to windowed mode, but set the screen resolution to match your screen.
7) use your new toggle_fullscreen bind.

8) The game should now be running in a mode indistinguishable from full screen mode, except for one important difference. We can now use the switch-workspace binds to move to other workspace without interrupting our game in the slightest. (<Control><Shift><Alt>Left and <Control><Shift><Alt>Right).

9) One last note, if you haven't set up multiple workspaces, you can do so by right clicking n your task-bar and adding the "Workspace Switcher" widget.