Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am currently able to start a game with Play on Linux but it always displays the game full screen on my second monitor.

Is there a way to configure Play on Linux or wine to specify which monitor to display on?

share|improve this question
I guess, you need to create a ticket if you really want someone to take a look. And probably to speed up the process – Sergei Feb 25 '14 at 22:50

I play Windows games on Linux too, and my go-to workaround for this is to tell Wine to emulate a virtual desktop. For some reason, this makes Wine start up on whichever monitor the PlayOnLinux window is on.

Full Steps to set up your game:

  1. Open PlayOnLinux

  2. Click on your game, and click the "Configure" button at the top of the main interface.

  3. Go to the "Wine" tab and click "Configure Wine".

  4. In the Wine Configuration window, click on the Graphics tab and check the box that says "Emulate a virtual desktop". Change the desktop size to be the size of the monitor you want to use for playing games.

Then to open your game:

  1. Open PlayOnLinux

  2. Drag the PlayOnLinux window to the monitor you want to play your game on

  3. Run the game, then keep your mouse cursor on the same monitor until Wine launches. After Wine launches, you can play the game on that monitor, and also use your other monitors like normal.

share|improve this answer
Doesn't work for me. I try to play Portal 2. It still opens on my secondary screen on the left. – Paul Jun 20 at 0:36

Dual (or multiple) monitors can be referred to through a modified DISPLAY environment variable.

Usually, it's set to :0, but the individual screens can be referred to by their own numbers, like :0.0 and :0.1 for a dual monitor setup.

As a disclaimer, I've tinkered with this in the past, but my dual monitor system is down at the moment so I can't empirically test it to make sure. Give it try though.

DISPLAY=:0.0 wine ...
DISPLAY=:0.1 playonlinux ...

This should restrict the output to a single screen. Hmmm, I have a nagging thought that it refers to the multiple desktops available with many desktop environments. Desktop 1,2,3,4 and such.

This might not work. (There, I said it...)

I just tried this on my single monitor laptop... :0.0 displays on the current screen, current desktop.. while :0.1 returns "cannot connect" ... and did NOT display anything on any screen or desktop. This shows promise! Try it!

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .