Pete Hilde
Pete Hilde

Reputation: 709

How can I specify on which monitor the console window is opened?

I've currently connected two monitors via a dock to my notebook. When I'm running my console application, the console window always pops up on the first monitor. How can I change that it's automatically opened on another monitor, e.g. on monitor 3? Maybe there is a property I need to modify?

It's very annoying to always drag the console window onto the monitor on which my IDE is opened.

Upvotes: 9

Views: 3904

Answers (1)

Joey
Joey

Reputation: 354744

Console applications (unlike GUI applications) don't create their own window; that's done by Windows, and in the case when you're running in an already created console, then you kinda inherit, e.g., cmd's window.

What you can do, though, is to find your window and move it to a different monitor.

Another option is to change the window manager settings for that application in the properties of the console window under Layout. Especially the check box »Let system position window«. To do so, first move the window where you'd like it to appear, then open the properties, go to the Layout tab, and just click »OK«.

Upvotes: 10

Related Questions