Minimizing?

Technical support for all issues relating to Defcon Linux

Moderator: Defcon moderators

Cappy
level2
level2
Posts: 75
Joined: Sat Aug 04, 2007 8:21 pm

Minimizing?

Postby Cappy » Sat Aug 04, 2007 8:40 pm

Running Ubuntu Feisty (7.04) 64-bit, is there anyway to minimize the game? I tried hitting "Escape" twice but that didn't seem to do anything. Has anyone tried running it in a separate X to be able to switch back and forth between the game and the desktop?
I'm running the demo.
User avatar
shinygerbil
level5
level5
Posts: 4667
Joined: Wed Dec 22, 2004 10:14 pm
Location: Out, finding my own food. Also, doing the shinyBonsai Manoeuvre(tm)
Contact:

Postby shinygerbil » Sun Aug 05, 2007 12:11 am

'Boss mode' doesn't work in Linux, unfortunately. I've not tried anything fancy like separate X sessions, though.
Here is my signature. Make of it what you will.
Image
Cappy
level2
level2
Posts: 75
Joined: Sat Aug 04, 2007 8:21 pm

Postby Cappy » Sun Aug 05, 2007 7:50 am

Hi, thank you for the reply.
The game works well with a separate X; I used a post on this page:
http://ubuntuforums.org/showthread.php?t=497332

Code: Select all

#!/bin/sh
#uncomment if launching from console session
#sudo /etc/init.d/gdm stop
#KDE use this instead
#sudo /etc/init.d/kdm stop

# Launches a new X session on display 3. If you don't have an Nvidia card
# take out the "& nvidia-settings --load-config-only" part
sudo X :3 -ac & nvidia-settings --load-config-only

# Goto game dir (modify as needed)
cd "$HOME/defcon-v1.42"

# Forces the system to have a break for 2 seconds, X doesn't launch instantly
sleep 2

# Launches game (modify as needed)
DISPLAY=:3 "$HOME/defcon-v1.42/defcon"

(may need to run the script with gksudo or sudo)

and Control+Alt+F7 would switch to my desktop, Control+Alt+F9 would switch back to the game.
I tested it as a spectator to see if I would time-out of the game but it worked perfectly.
The sound became scratchy/skippy for 30 seconds, but then went away.

I'll use this when I'm spectating/playing and a player is using Defcon 1 like crazy or someone is like "brb few minutes". It's really a necessity =P
Last edited by Cappy on Tue Aug 07, 2007 11:26 pm, edited 1 time in total.
User avatar
shinygerbil
level5
level5
Posts: 4667
Joined: Wed Dec 22, 2004 10:14 pm
Location: Out, finding my own food. Also, doing the shinyBonsai Manoeuvre(tm)
Contact:

Postby shinygerbil » Sun Aug 05, 2007 10:57 am

Hmm, might use that myself. Thing is, my laptop's not too hot performance-wise, so it probably wouldn't be as smooth for me :P I do agree that sometimes it's very useful, though.
Here is my signature. Make of it what you will.

Image

Return to “Linux Troubleshooting”

Who is online

Users browsing this forum: No registered users and 10 guests