Terminal always opens new windows on the screen where the main Terminal instance is running. e.g: start a Terminal on screen 0, then another one on screen 1 and use it to start playing some video with mplayer, the video appears on screen 0 Reproducible: Always Steps to Reproduce:
What does echo $DISPLAY say? (I have a similar problem with mplayer, it always opens on the first monitor, no matter what $DISPLAY is)
it says: jf@slytherin:~$ echo $DISPLAY :0.1 on both screens :-S and like i saud the mplayer window always appears on the 'main' screen not the first monitor and it works this way for every apps
and i forgot, if i force DISPLAY to the correct value in the terminal it works fine (as expected)
Created attachment 444 MultiScreen per Display fix This patch should fix the problem. The shell command was always run with the display name of the terminal widget (the display name doesn't include the screen number), not the full display name (which includes the screen number).
BTW: I was talking about monitors not screens. Mplayer is somewhat buggy and always uses the first available monitor, not the monitor which currently contains the pointer.
the patch fixed it thanks
Committed with revision 19870. 2006-02-14 Benedikt Meurer <benny@xfce.org> * terminal/terminal-screen.c(terminal_screen_get_child_environment): Set DISPLAY properly for multi-screen per display environments. Bug #1461.