Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-05-31 19:10:57

saski
Member
Registered: 2018-05-31
Posts: 19

Howto start Applications on secondary Monitor?

Hi all,

I have a twin monitor setup. Every Application I start appears on the primary screen which is okay. However there are some applications that I would like to start as a window or fullscreen (games, movies) directly on my secondary monitor. Is this possible and if yes, how?

Regards

Offline

#2 2018-05-31 21:51:12

alcornoqui
Member
Registered: 2014-07-28
Posts: 832

Re: Howto start Applications on secondary Monitor?

From this thread.

ToZ wrote:

You can start individual apps in the different display using the --geometry parameter. For example, to display xfce4-terminal on the second display:

xfce4-terminal --geometry 134x24+1400+200

...(where +1400 will be located in the second monitor's viewport) or this might work as well:

DISPLAY=:0.1 xfce4-terminal

Offline

#3 2018-05-31 21:53:13

alcornoqui
Member
Registered: 2014-07-28
Posts: 832

Re: Howto start Applications on secondary Monitor?

And welcome to the forum!

Offline

#4 2018-06-01 06:26:51

saski
Member
Registered: 2018-05-31
Posts: 19

Re: Howto start Applications on secondary Monitor?

Thank you for the welcome and the quick reply. smile

Passing the --geometry parameter of cource only works for programs that support this switch.
DISPLAY=:0.1 unfortunately doesn't work at all for games or for mpv. mpv says no video output sad. How do I assign the secondary monitor to DISPLAY=:0.1?

Besides that any other ideas?

Offline

#5 2018-06-01 12:05:36

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,492

Re: Howto start Applications on secondary Monitor?

mpv has a "--screen" option that lets you specify which screen to display on.

For games, you might be able to get devilspie to work, or have a look at hax11.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2018-06-01 15:34:17

saski
Member
Registered: 2018-05-31
Posts: 19

Re: Howto start Applications on secondary Monitor?

Thx for the cool tip with the mpv screen option. Works like a charm. I'll also give devilspie a shot for games.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 8 queries executed - Memory usage: 534.29 KiB (Peak: 535.13 KiB) ]