How to switch out of the game (and back) ?

How to switch out of the game (and back) ?

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
User avatar
liotier
Posts: 22
Joined: 24 May 2013, 01:45

How to switch out of the game (and back) ?

Post by liotier »

Debian Spring user here... Once in the game, no amount of alt-tab or virtual desktop switching will let me switch out of the game. Is there a way to do that, short of exiting the game altogether ? Are application key bindings conflicting with the usual dekstop key bindings ? Once I find that, I'll be ready for serious Anihilation !
0 x

User avatar
Anarchid
Posts: 1383
Joined: 30 Nov 2008, 04:31

Re: How to switch out of the game (and back) ?

Post by Anarchid »

Use windowed fullscreen, namely:
just set WindowBorderless=1 in springsettings.cfg
And disable fullscreen, then maximize the window from taskbar or otherwise.

If you want to do that while not having the DE chrome stealing some of your clicks: use this ingame command:

Code: Select all

/grabinput
0 x

User avatar
liotier
Posts: 22
Joined: 24 May 2013, 01:45

Re: How to switch out of the game (and back) ?

Post by liotier »

Anarchid wrote:Use windowed fullscreen, namely:
just set WindowBorderless=1 in springsettings.cfg[/quote
Looks exactly like what I want, thanks.

Now, I can't find springsettings.cfg in ~/.spring or anywhere else. Is it normal ? Should I create a new one with just that setting ?
0 x

User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: How to switch out of the game (and back) ?

Post by jK »

edit ~/.springrc
0 x

User avatar
liotier
Posts: 22
Joined: 24 May 2013, 01:45

Re: How to switch out of the game (and back) ?

Post by liotier »

Almost there... I edited ~/.springrc but then found that the Alt-tab key combination is bound to a camera style switch.

So I created a Hotkey Profile and changed

Code: Select all

//bind            Any+tab  toggleoverview
into

Code: Select all

bind            Ctrl+tab  toggleoverview
But Alt-tab is still captured by Spring. Did I forget something ?
0 x

User avatar
Jools
XTA Developer
Posts: 2812
Joined: 23 Feb 2009, 16:29

Re: How to switch out of the game (and back) ?

Post by Jools »

I think you may have to do:

Code: Select all

unbind            Any+tab  toggleoverview
bind            Ctrl+tab  toggleoverview
0 x

User avatar
Cheesecan
Posts: 1571
Joined: 07 Feb 2005, 21:30

Re: How to switch out of the game (and back) ?

Post by Cheesecan »

You need to create a separate xserver for spring, then you can switch back and forth between your desktop and spring using CTRL+ALT+Fx.
0 x

abma
Spring Developer
Posts: 3600
Joined: 01 Jun 2009, 00:08

Re: How to switch out of the game (and back) ?

Post by abma »

@liotier:
toggleoverview doesn't what you think it does...

use windowed fullscreen as already suggested.
0 x

User avatar
liotier
Posts: 22
Joined: 24 May 2013, 01:45

Re: How to switch out of the game (and back) ?

Post by liotier »

Cheesecan wrote:You need to create a separate xserver for spring, then you can switch back and forth between your desktop and spring using CTRL+ALT+Fx.
While I enjoy Spring, creating a new xorg instance just for it seems a bit too involved to me. In addition, I would love to end up with a configuration that I can convince less technical people to adopt : go tell your excited and impatient LAN party pals that they need a second xorg instance...

At the moment I have a 'WindowBorderless = 1' line in my ~/.springrc but, with just that, still no way to Alt-tab out of Spring during a game.

So I also added a 'unbind Any+tab toggleoverview' line to my ~/.spring/uikeys.txt and that was successful in that as any combination involving the <tab> key is indeed unbound. But still no way to Alt-tab out of Spring during a game.

Is my 'WindowBorderless = 1' configuration ignored ? How can I check that it is taken into account ? Is anything else required for Windowed Fullscreen ?
0 x

Flash
Posts: 33
Joined: 12 Dec 2010, 18:03

Re: How to switch out of the game (and back) ?

Post by Flash »

@liotier
I have the same Problem. I temporarily solved it by pluging in an USB-Stick to get out of the game. :-)
0 x

User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: How to switch out of the game (and back) ?

Post by CarRepairer »

Flash wrote:I temporarily solved it by pluging in an USB-Stick
That's your solution to everything, "Flash!"
0 x

Meera
Posts: 3
Joined: 03 Jul 2013, 08:43

Re: How to switch out of the game (and back) ?

Post by Meera »

-Copy this* file to:
-Steam\steamapps\common\super meat boy\UserData
-Start the game, go to "help + options" and change it to the desired resolution and perhaps set it to full screen, if you'd like.
0 x

Post Reply

Return to “Linux”