You are not logged in.
Hi, is there any way to minimize fullscreen SDL application in KDE4 ?
I can open a virtual terminal CTRL+F$ keys, but none of DE keys are working.
It's Warzone2100 game, in my case.
arch linux user
Offline
Probably not, since it grabs all the input. It is an exclusive fullscreen.
Offline
As a workaround, i usually open another X session with a little script:
slimer ~ # cat $(which xgame.sh)
#!/bin/bash
X :1 -ac -br &
export DISPLAY=:1
kwin & #Optional, and maybe using something lighter like openbox is better
xterm -e $@
kill `cat /tmp/.X1-lock`
Then i just run xgame.sh <GameExecutableHere>
So that i can switch to desktop with ctrl-alt-f7 and game with ctrl-alt-f8
Last edited by kokoko3k (2010-08-05 15:26:01)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
#Warzone2100
Have you tried Alt+Enter and then minimizing it ?
#Fullscreen games
I use second Xserver for fullscreen games .
"xinit /usr/bin/warzone2100 -- :1" would help if you don't care about 40Mb of RAM .
So Ctrl+Alt+F7 is for your first Xserver and Ctrl+Alt+F8 for second (if you are using 6 tty's) .
There are more infos on arch wiki about games .
Offline
I uploaded two packages to AUR with a no keyboard grab patch that may help:
sdl (no longer maintained): http://aur.archlinux.org/packages.php?ID=23052
libx11: http://aur.archlinux.org/packages.php?ID=39351
Offline
Amazingly, being able to minimize full screen games is the thing I miss most about windows. If anyone knows a keyboard shortcut that will minimize a game, please share.
Offline
#Warzone2100
Have you tried Alt+Enter and then minimizing it ?#Fullscreen games
I use second Xserver for fullscreen games ."xinit /usr/bin/warzone2100 -- :1" would help if you don't care about 40Mb of RAM .
So Ctrl+Alt+F7 is for your first Xserver and Ctrl+Alt+F8 for second (if you are using 6 tty's) .
There are more infos on arch wiki about games .
Right, alt+enter, totally forget about that. It's working, but i risk crashing game, it's happen from time to time.
about xinit:
bagheera@tux:~$ xinit /home/bagheera/warzone2100/src/warzone2100 --:1
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
^C
xinit: unexpected signal 2.
Which wiki page u r referring to? There's not much info on http://wiki.archlinux.org/index.php/Games
kokoko3k's workaround works just fine, thanks!
arch linux user
Offline
about xinit:
bagheera@tux:~$ xinit /home/bagheera/warzone2100/src/warzone2100 --:1 Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. Please consult the The X.Org Foundation support at http://wiki.x.org for help. ^C xinit: unexpected signal 2.
I think you just forgot to add the space between "--" and ":1"
Also, for the xinit way to work for your needs, you'll have to check your .xinitrc as it will be executed at xinit startup.
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Odd , i thought it was more info on archlinux wiki about fullscreen games , sorry .
Anyway :
http://wiki.archlinux.org/index.php/Gaming
http://aur.archlinux.org/packages.php?d … =1&ID=4435
Offline