You are not logged in.

#1 2014-08-09 16:29:10

wootsgoinon
Member
Registered: 2013-10-30
Posts: 44

gaming in non-native resolution @ i3 wm

whenever i exit a game that previously was running in a lower res than native (e.g. Soldier of Fortune with a max res of 1024x768), it lowers my desktop res (presumably to the game's own res) and in order to resolve it i have to call

xrandr --output <device> --mode <res>

each time.
i wonder if anybody had this before, and if so, what did they do about it?
thx in advance!

Last edited by wootsgoinon (2014-08-09 16:33:14)

Offline

#2 2014-08-09 19:19:34

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: gaming in non-native resolution @ i3 wm

I've come to just accept that this is what happens when playing some full-screen games in a tiling window manager. It's happened in every window manager I've ever used, and I just reset the resolution when I'm done.  I have a script that switches back-and-forth between my laptop display, and my laptop display plus an external monitor; I just run that after I'm done playing.

Try running games in windowed mode and using i3's fullscreen toggle. It's worked for me a couple times, and "fullscreen" games in i3 never grab the mouse and keyboard anyway, if you follow me.

Offline

#3 2014-08-09 20:35:05

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: gaming in non-native resolution @ i3 wm

wootsgoinon wrote:

what did they do about it?

Put it in a BASH script - the steps are perfectly simple:

Run game
Reset screen resolution

Here's a little script to reset the screen resolution.

Offline

Board footer

Powered by FluxBB