Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-07-13 13:14:23

archeboom
Member
Registered: 2022-05-02
Posts: 11

2 monitor, how fix application

Hello people.
system: archlinux
I have 2 monitors (hdmi, dvi(primary)) when I start the application, for example, siphone on the dvi monitor and working on the hdmi monitor, then when I call the application on the monitor where I work (hdmi). How to make the application in its place when the call is not on the working monitor?
The application appears where I work at the moment. How to fix application on a specific monitor??

Offline

#2 2022-07-13 14:51:52

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: 2 monitor, how fix application

Hi.

Sorry, I don't use multiple monitors but there is a toggle in the Window Manager Tweaks app called Switch to window's workspace. I know it's about workspaces but it's still worth a try.


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#3 2022-07-13 22:18:19

Misko_2083
Member
Registered: 2015-10-13
Posts: 211
Website

Re: 2 monitor, how fix application

archeboom wrote:

Hello people.
system: archlinux
I have 2 monitors (hdmi, dvi(primary)) when I start the application, for example, siphone on the dvi monitor and working on the hdmi monitor, then when I call the application on the monitor where I work (hdmi). How to make the application in its place when the call is not on the working monitor?
The application appears where I work at the moment. How to fix application on a specific monitor??

I don't have two monitors but I remember the DISPLAY variable is used to set the display for apps on X11.

DISPLAY=:0.0 your_appname

To find out display names type in

xdpyinfo | grep "name of display"

In case you are not starting it from terminal you have to wrap the command like this:

sh -c "DISPLAY=:0.1 your_appname"

Last edited by Misko_2083 (2022-07-14 16:53:11)


Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c

Offline

#4 2022-07-13 23:20:07

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: 2 monitor, how fix application

i'm going to guess that "sh-c" in the last code box above should be "sh -c".  and maybe ":0.1" should be your name of display as output in the 2nd to last code box above.

Offline

#5 2022-07-14 16:55:17

Misko_2083
Member
Registered: 2015-10-13
Posts: 211
Website

Re: 2 monitor, how fix application

Skaperen wrote:

i'm going to guess that "sh-c" in the last code box above should be "sh -c".  and maybe ":0.1" should be your name of display as output in the 2nd to last code box above.

Correct.


Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c

Offline

#6 2022-07-17 12:30:08

archeboom
Member
Registered: 2022-05-02
Posts: 11

Re: 2 monitor, how fix application

Misko_2083 wrote:
archeboom wrote:

Hello people.
system: archlinux
I have 2 monitors (hdmi, dvi(primary)) when I start the application, for example, siphone on the dvi monitor and working on the hdmi monitor, then when I call the application on the monitor where I work (hdmi). How to make the application in its place when the call is not on the working monitor?
The application appears where I work at the moment. How to fix application on a specific monitor??

I don't have two monitors but I remember the DISPLAY variable is used to set the display for apps on X11.

DISPLAY=:0.0 your_appname

To find out display names type in

xdpyinfo | grep "name of display"

In case you are not starting it from terminal you have to wrap the command like this:

sh -c "DISPLAY=:0.1 your_appname"

I find only one monitor:

➜  ~ xdpyinfo | grep "name of display"
name of display:    :0.0

Last edited by archeboom (2022-07-17 12:30:24)

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 536.11 KiB (Peak: 536.95 KiB) ]