Force app open on diferent DISPLAY
ingmarcosp opened this issue · 4 comments
I have a small issue, some applications opens on different display. For example, if I have some intel/Gnome on display :0 and nvidia-xrun/icewm on :2 and in this i open terminator, terminator show up on the intel/gnome(DISPLAY=:0) and not on nvidia-xrun/icewm(DISPLAY=:2).
how can I solve this problem?
What's the value of the DISPLAY
environment value in the session you use to run the application? You can check it with:
echo $DISPLAY
Not sure of how terminator works, but if somehow its main process was started in the other display it would keep that environment variable set to the initial display (that happens to me quite often when resuming a old tmux session). Try to kill terminator and start it from the new display or simply override the value of DISPLAY
with:
export DISPLAY=:2
I try it, and does not work
@ingmarcosp does this happen with all the applications or just terminator? Terminator might have a daemon that runs in a particular display so windows gets created there too.
Other apps do it to. firefox, files (gnome), I notice thad this happen when I login first in Gnome and then open the new X with nvidia-xrun. IF I don't login to gnome then works well.