You are not logged in.

#1 2006-02-02 14:24:15

xaos5
Member
Registered: 2005-12-30
Posts: 75

minimize fullscreen games

I have a problem which hopefully has a simple solution. Playing games like tuxracer or ut2004 fullscreen doesn't allow me to minimize to the desktop. I've tryed alt+tab and ctrl+tab. Anybody have any ideas?

Offline

#2 2006-02-02 14:53:46

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: minimize fullscreen games

AFAIK 3D fullscreen games takes completely control over your videocard so the windowmanager won't have any control.

Not a direct solution, but it is possible to run multiple X sessions at the same time, if you use KDE and KDM you can see in the kmenu -> Switch User -> Start New Session before starting the game. I have't tried it with other wm's/de's but it's probably possible.

Offline

#3 2006-02-02 16:09:57

xaos5
Member
Registered: 2005-12-30
Posts: 75

Re: minimize fullscreen games

thats kinda of stupid there is no way to even force it to minimize... starting a new session is somewhat pointless just to see if someone messaged me or something simple like that. you think alt+tab would be about to force it to minimize.

Offline

#4 2006-02-02 20:17:31

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: minimize fullscreen games

It's really not that stupid.  If a game is "windwed," then the window manager will take care of it.  If it is full screen, then it is overriding the controls of the wm.  Maybe you should try the games in windowed mode, yet maximized.

Offline

#5 2006-02-03 07:58:46

xaos5
Member
Registered: 2005-12-30
Posts: 75

Re: minimize fullscreen games

well the I tryed doing it windows mode but it still didn't work right, it was pretty much the same thing but I could see part of the desktop. The mouse wasn't able to leave the window and nothing I did could make something else gain focus.

Offline

#6 2006-02-04 17:53:59

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: minimize fullscreen games

What game are you doing this with?  Something in wine?  I've been able to run WoW and CS:S windowed, and be able to switch to another window.  What window manager are you using?

Offline

#7 2006-02-04 22:01:13

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: minimize fullscreen games

Wine/Cedega stuff you can switch out of. Ironically its the native linux games that you cant.

Offline

#8 2006-02-04 22:49:39

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: minimize fullscreen games

iphitus wrote:

Wine/Cedega stuff you can switch out of. Ironically its the native linux games that you cant.

IMO, this is good in many cases. It will center the mouse so that if you play a 3d shooting game windowed, and turn 180 degrees around, you might end up having the cursor outside the window and have to move the cursor around the window and back in from the other side of the window to be able to turn the rest. During that time, bang your dead wink

Offline

#9 2006-02-04 23:42:09

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: minimize fullscreen games

jaboua wrote:
iphitus wrote:

Wine/Cedega stuff you can switch out of. Ironically its the native linux games that you cant.

IMO, this is good in many cases. It will center the mouse so that if you play a 3d shooting game windowed, and turn 180 degrees around, you might end up having the cursor outside the window and have to move the cursor around the window and back in from the other side of the window to be able to turn the rest. During that time, bang your dead wink

If you run a cedega game full screen, that doesnt happen. BUT you can still switch out. Cant switch outta full screen native games without starting a second session of X.

iphitus

Offline

#10 2006-02-04 23:58:00

xaos5
Member
Registered: 2005-12-30
Posts: 75

Re: minimize fullscreen games

codemac wrote:

What game are you doing this with?  Something in wine?  I've been able to run WoW and CS:S windowed, and be able to switch to another window.  What window manager are you using?

I was able to do it with any cedega game with dxgrab off. the thing I don't get is why doesn't kwin (kde) take control of the fullsize game so alt+tab/ctrl+tab will minimize the game? If there is no reason for this is there a way to impliment this; at least for windowed games anyways?

Offline

#11 2006-02-05 00:23:33

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: minimize fullscreen games

I run all my games on a different X-Server so that I'm able to switch between the game and my desktop with Ctrl+Alt+FX:

#!/bin/sh

if [ -z $1 ] ; then
  echo "Usage: `basename $0` <game executable> [game parameters]"
  exit
fi

xmodmap -display :1 $HOME/.Xmodmap &
xbindkeys --display :1 &
xinit $@ -- :1 -layout GameLayout

Offline

#12 2006-02-05 00:52:29

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: minimize fullscreen games

Nice script smoon! How do I make use of the -layout flag though?


·¬»· i am shadowhand, powered by webfaction

Offline

#13 2006-02-05 12:26:56

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: minimize fullscreen games

shadowhand wrote:

Nice script smoon! How do I make use of the -layout flag though?

It's for choosing a "ServerLayout" out of your xorg.conf. You can simply omit that if you don't need different settings for the X-Server you'll run your games in.

Offline

#14 2006-02-05 18:14:25

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: minimize fullscreen games

Now, another question, how do I get xinit to NOT use my .xinitrc with this script?


·¬»· i am shadowhand, powered by webfaction

Offline

#15 2006-02-05 18:34:06

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: minimize fullscreen games

shadowhand wrote:

Now, another question, how do I get xinit to NOT use my .xinitrc with this script?

If you give xinit a client program as parameter (Note: You have to supply the full path to the executable) it shouldn't use your .xinitrc at all. See `man 1 xinit':

If  no specific client program is given on the command line, xinit will look for a file in the user's home directory called .xinitrc to run  as a shell  script to start up client programs.

Offline

#16 2008-07-29 13:36:35

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: minimize fullscreen games

Sorry to bring back such an old thread but I get really low performance out of my second x session and it is unusable for games... Any other solutions?


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

Board footer

Powered by FluxBB