Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Recently downloaded Multiwinia and Darwinia, some old favourites, from a buy of the Humble Introversion Bundle. I'm running Ubuntu 12.04, and when I try to launch either game, it always stretches across both of my monitors -- pretty much unplayable.

How do I configure games to only run in a single monitor? I don't have an issue with any other programs -- Chromium, VLC, LibreOffice, etc. all spawn in a single monitor, and maximize within a single monitor when I try to maximize them.

share|improve this question

1 Answer 1

Games whose window you can resize you can put into a borderless fullscreen-window via:

wmctrl -r ":ACTIVE:" -b toggle,fullscreen

I put that in a script and bind it to a keyboard button, so that I can easily fullscreen all windows that allow resize.

Many games on the other side don't allow window resize, in those cases it's more tricky. I documented some ugly workarounds at (different issue, but it's caused by the same underlying problem):

Prevent a fullscreen game from disabling the volume control keys

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.