Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ALT+TAB
Lasse. Offline
Junior Member

Posts: 12
Threads: 0
Joined: Sep 2010
Reputation: 0
#4
Solved: 8 Years, 2 Months ago RE: ALT+TAB

One way is to launch separate X Server for the game. This way you can change between the X server running your desktop and the one running the game easily. This can be achieved with a short script.

Guide (I use CLI-way to make it universal, no matter which desktop environment user might use and so):

First, let's make the script-file
Open up the terminal then run
nano amne
You may change amne to something else, that's our script-file's name. Also make sure your terminal's current directory is your home, if not, then
cd ~
to move there.

Then copy the following to your script-file, opened in nano
Quote:#!/bin/bash

DISPLAY=:1.0

xinit /opt/AmnesiaDemo/Amnesia.bin64 $* -- :1
You need to adjust "/opt/AmnesiaDemo/Amnesia.bin64"-part depending on where the game is installed and if you're using 32 or 64 bit version, basically just point it to your Amnesia-binary. Save the file with ctrl+x
NOTE: Using amnesia's launch-command directly DIDN'T work for me, It launched the launcher in new X Server and I couldn't use mouse there, this way it worked all good for me.

Next, let's allow the file to be run, if this is not done, you will get "permission denied" if you try to run the file.
chmod +x amne

All is set! Now you can run it via your desktop environment or via terminal
./amne
You change between the X servers with ctrl+alt+fx
x being like f7. Default X server where your desktop runs, should be F7 and new X server should be F8.
So if you want to get back to your desktop while playing, just pause the game with esc and press ctrl+alt+f7 and when you want to get back to your game, press ctrl+alt+f8.

EDIT: Also, after you quit the game, you might need to go manually back to your desktop X server with ctrl+alt+f7.

Hope this helps!
09-09-2010, 05:54 PM
Find


Messages In This Thread
ALT+TAB - by Caterpillar - 09-08-2010, 12:25 PM
RE: ALT+TAB - by weltall - 09-08-2010, 12:37 PM
RE: ALT+TAB - by Urkle - 09-09-2010, 03:41 PM
RE: ALT+TAB - by Lasse. - 09-09-2010, 05:54 PM
RE: ALT+TAB - by Caterpillar - 09-09-2010, 09:52 PM
RE: ALT+TAB - by jspenguin - 09-10-2010, 05:30 AM
RE: ALT+TAB - by Urkle - 09-11-2010, 07:13 PM
RE: ALT+TAB - by jspenguin - 09-12-2010, 04:59 AM
RE: ALT+TAB - by Axmann - 11-08-2010, 07:46 AM
RE: ALT+TAB - by ced117 - 09-12-2010, 08:58 PM
RE: ALT+TAB - by buba - 09-21-2010, 10:50 AM
RE: ALT+TAB - by hicham - 11-26-2010, 04:26 PM
RE: ALT+TAB - by hicham - 12-22-2010, 12:11 AM
RE: ALT+TAB - by Caterpillar - 03-31-2011, 04:35 PM
RE: ALT+TAB - by hicham - 03-31-2011, 05:06 PM
RE: ALT+TAB - by gfurst - 06-16-2011, 10:12 PM



Users browsing this thread: 1 Guest(s)