Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 bountysource.com to speed up the process –  Sergei Feb 25 at 22:50

1 Answer 1

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

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.