Opening software on a specific monitor
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
0
down vote
favorite
I'm trying to follow some instructions on getting specific software to open up on a specific monitor. I have three monitors. xrandr -q output is as follows:
Screen 0: minimum 8 x 8, current 5040 x 1080, maximum 32767 x 32767
DVI-D-0 connected 1440x900+3600+79 (normal left inverted right x axis y axis) 408mm x 255mm
1440x900 59.89*+ 74.98
1280x1024 75.02 60.02
1280x800 59.81
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
HDMI-0 connected primary 1920x1080+1680+0 (normal left inverted right x axis y axis) 521mm x 293mm
1920x1080 60.00*+ 59.94 50.00 60.00 50.04
1680x1050 59.95
1440x900 59.89
1440x576 50.00
1440x480 59.94
1280x1024 75.02 60.02
1280x960 60.00
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 433mm x 271mm
1680x1050 59.88*+ 59.95
1280x1024 75.02 60.02
1280x960 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 60.32
640x480 75.00 59.94
640x350 70.07
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
I'm running 18.04, using Xorg for display, and nVidia 396.
I've tried prepending DISPLAY=":0", or DISPLAY=":0.0", with numerical variations between 0 to 3 for each type. Each time, I get either this message:
Unable to init server: Could not connect: Connection refused
# Failed to parse arguments: Cannot open display:
Or this one:
# Error creating terminal: Failed to get screen from object path /org/gnome/Terminal/screen/47543056_45c7_42eb_8d4e_1277fad5286e
I've also tried using the --geometry option. I thought perhaps adding the following option would open what I need in the left monitor:
--geometry=1680x1050+0+0
However, this just opens up the relevant software maximised in the primary (centre) monitor. Even after trying varying resolutions and offsets, the result would still be the same.
This is really only a minor inconvenience for me, so I don't want to install any additional packages if that's the only way around this, but if I'm using the wrong commands, let me know what I should be using instead.
Essentially, I want to open two terminals. One on my left and right monitors in full screen. To that extent, the base command I use is:
gnome-terminal --full-screen
multiple-monitors display
 |Â
show 1 more comment
up vote
0
down vote
favorite
I'm trying to follow some instructions on getting specific software to open up on a specific monitor. I have three monitors. xrandr -q output is as follows:
Screen 0: minimum 8 x 8, current 5040 x 1080, maximum 32767 x 32767
DVI-D-0 connected 1440x900+3600+79 (normal left inverted right x axis y axis) 408mm x 255mm
1440x900 59.89*+ 74.98
1280x1024 75.02 60.02
1280x800 59.81
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
HDMI-0 connected primary 1920x1080+1680+0 (normal left inverted right x axis y axis) 521mm x 293mm
1920x1080 60.00*+ 59.94 50.00 60.00 50.04
1680x1050 59.95
1440x900 59.89
1440x576 50.00
1440x480 59.94
1280x1024 75.02 60.02
1280x960 60.00
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 433mm x 271mm
1680x1050 59.88*+ 59.95
1280x1024 75.02 60.02
1280x960 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 60.32
640x480 75.00 59.94
640x350 70.07
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
I'm running 18.04, using Xorg for display, and nVidia 396.
I've tried prepending DISPLAY=":0", or DISPLAY=":0.0", with numerical variations between 0 to 3 for each type. Each time, I get either this message:
Unable to init server: Could not connect: Connection refused
# Failed to parse arguments: Cannot open display:
Or this one:
# Error creating terminal: Failed to get screen from object path /org/gnome/Terminal/screen/47543056_45c7_42eb_8d4e_1277fad5286e
I've also tried using the --geometry option. I thought perhaps adding the following option would open what I need in the left monitor:
--geometry=1680x1050+0+0
However, this just opens up the relevant software maximised in the primary (centre) monitor. Even after trying varying resolutions and offsets, the result would still be the same.
This is really only a minor inconvenience for me, so I don't want to install any additional packages if that's the only way around this, but if I'm using the wrong commands, let me know what I should be using instead.
Essentially, I want to open two terminals. One on my left and right monitors in full screen. To that extent, the base command I use is:
gnome-terminal --full-screen
multiple-monitors display
Which Ubuntu version and, more importantly, which display server (Xorg/Wayland)?
â danzel
yesterday
18.04, Xorg, and if it matters, nVidia 396. Edited into the post.
â hiigaran
yesterday
Have you tried--geometry...
without--fullscreen
?
â danzel
yesterday
Yes. The --full-screen option is something I'd want to use afterwards. I'd figure if the geometry is set so that the terminal appears anywhere on a specific monitor, the full-screen option would take care of filling up the rest of the space.
â hiigaran
yesterday
1
the width and height are specified as number of columns and lines, not pixels. Try--geometry 1x1+0+0 --full-screen
.
â danzel
yesterday
 |Â
show 1 more comment
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to follow some instructions on getting specific software to open up on a specific monitor. I have three monitors. xrandr -q output is as follows:
Screen 0: minimum 8 x 8, current 5040 x 1080, maximum 32767 x 32767
DVI-D-0 connected 1440x900+3600+79 (normal left inverted right x axis y axis) 408mm x 255mm
1440x900 59.89*+ 74.98
1280x1024 75.02 60.02
1280x800 59.81
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
HDMI-0 connected primary 1920x1080+1680+0 (normal left inverted right x axis y axis) 521mm x 293mm
1920x1080 60.00*+ 59.94 50.00 60.00 50.04
1680x1050 59.95
1440x900 59.89
1440x576 50.00
1440x480 59.94
1280x1024 75.02 60.02
1280x960 60.00
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 433mm x 271mm
1680x1050 59.88*+ 59.95
1280x1024 75.02 60.02
1280x960 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 60.32
640x480 75.00 59.94
640x350 70.07
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
I'm running 18.04, using Xorg for display, and nVidia 396.
I've tried prepending DISPLAY=":0", or DISPLAY=":0.0", with numerical variations between 0 to 3 for each type. Each time, I get either this message:
Unable to init server: Could not connect: Connection refused
# Failed to parse arguments: Cannot open display:
Or this one:
# Error creating terminal: Failed to get screen from object path /org/gnome/Terminal/screen/47543056_45c7_42eb_8d4e_1277fad5286e
I've also tried using the --geometry option. I thought perhaps adding the following option would open what I need in the left monitor:
--geometry=1680x1050+0+0
However, this just opens up the relevant software maximised in the primary (centre) monitor. Even after trying varying resolutions and offsets, the result would still be the same.
This is really only a minor inconvenience for me, so I don't want to install any additional packages if that's the only way around this, but if I'm using the wrong commands, let me know what I should be using instead.
Essentially, I want to open two terminals. One on my left and right monitors in full screen. To that extent, the base command I use is:
gnome-terminal --full-screen
multiple-monitors display
I'm trying to follow some instructions on getting specific software to open up on a specific monitor. I have three monitors. xrandr -q output is as follows:
Screen 0: minimum 8 x 8, current 5040 x 1080, maximum 32767 x 32767
DVI-D-0 connected 1440x900+3600+79 (normal left inverted right x axis y axis) 408mm x 255mm
1440x900 59.89*+ 74.98
1280x1024 75.02 60.02
1280x800 59.81
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
HDMI-0 connected primary 1920x1080+1680+0 (normal left inverted right x axis y axis) 521mm x 293mm
1920x1080 60.00*+ 59.94 50.00 60.00 50.04
1680x1050 59.95
1440x900 59.89
1440x576 50.00
1440x480 59.94
1280x1024 75.02 60.02
1280x960 60.00
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 433mm x 271mm
1680x1050 59.88*+ 59.95
1280x1024 75.02 60.02
1280x960 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 60.32
640x480 75.00 59.94
640x350 70.07
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
I'm running 18.04, using Xorg for display, and nVidia 396.
I've tried prepending DISPLAY=":0", or DISPLAY=":0.0", with numerical variations between 0 to 3 for each type. Each time, I get either this message:
Unable to init server: Could not connect: Connection refused
# Failed to parse arguments: Cannot open display:
Or this one:
# Error creating terminal: Failed to get screen from object path /org/gnome/Terminal/screen/47543056_45c7_42eb_8d4e_1277fad5286e
I've also tried using the --geometry option. I thought perhaps adding the following option would open what I need in the left monitor:
--geometry=1680x1050+0+0
However, this just opens up the relevant software maximised in the primary (centre) monitor. Even after trying varying resolutions and offsets, the result would still be the same.
This is really only a minor inconvenience for me, so I don't want to install any additional packages if that's the only way around this, but if I'm using the wrong commands, let me know what I should be using instead.
Essentially, I want to open two terminals. One on my left and right monitors in full screen. To that extent, the base command I use is:
gnome-terminal --full-screen
multiple-monitors display
edited yesterday
asked 2 days ago
![](https://i.stack.imgur.com/IKx3g.png?s=32&g=1)
![](https://i.stack.imgur.com/IKx3g.png?s=32&g=1)
hiigaran
45412
45412
Which Ubuntu version and, more importantly, which display server (Xorg/Wayland)?
â danzel
yesterday
18.04, Xorg, and if it matters, nVidia 396. Edited into the post.
â hiigaran
yesterday
Have you tried--geometry...
without--fullscreen
?
â danzel
yesterday
Yes. The --full-screen option is something I'd want to use afterwards. I'd figure if the geometry is set so that the terminal appears anywhere on a specific monitor, the full-screen option would take care of filling up the rest of the space.
â hiigaran
yesterday
1
the width and height are specified as number of columns and lines, not pixels. Try--geometry 1x1+0+0 --full-screen
.
â danzel
yesterday
 |Â
show 1 more comment
Which Ubuntu version and, more importantly, which display server (Xorg/Wayland)?
â danzel
yesterday
18.04, Xorg, and if it matters, nVidia 396. Edited into the post.
â hiigaran
yesterday
Have you tried--geometry...
without--fullscreen
?
â danzel
yesterday
Yes. The --full-screen option is something I'd want to use afterwards. I'd figure if the geometry is set so that the terminal appears anywhere on a specific monitor, the full-screen option would take care of filling up the rest of the space.
â hiigaran
yesterday
1
the width and height are specified as number of columns and lines, not pixels. Try--geometry 1x1+0+0 --full-screen
.
â danzel
yesterday
Which Ubuntu version and, more importantly, which display server (Xorg/Wayland)?
â danzel
yesterday
Which Ubuntu version and, more importantly, which display server (Xorg/Wayland)?
â danzel
yesterday
18.04, Xorg, and if it matters, nVidia 396. Edited into the post.
â hiigaran
yesterday
18.04, Xorg, and if it matters, nVidia 396. Edited into the post.
â hiigaran
yesterday
Have you tried
--geometry...
without --fullscreen
?â danzel
yesterday
Have you tried
--geometry...
without --fullscreen
?â danzel
yesterday
Yes. The --full-screen option is something I'd want to use afterwards. I'd figure if the geometry is set so that the terminal appears anywhere on a specific monitor, the full-screen option would take care of filling up the rest of the space.
â hiigaran
yesterday
Yes. The --full-screen option is something I'd want to use afterwards. I'd figure if the geometry is set so that the terminal appears anywhere on a specific monitor, the full-screen option would take care of filling up the rest of the space.
â hiigaran
yesterday
1
1
the width and height are specified as number of columns and lines, not pixels. Try
--geometry 1x1+0+0 --full-screen
.â danzel
yesterday
the width and height are specified as number of columns and lines, not pixels. Try
--geometry 1x1+0+0 --full-screen
.â danzel
yesterday
 |Â
show 1 more comment
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
You were on the right track. The --full-screen
option will open the terminal window in full screen mode on the monitor it is displayed on in the first place. But on which monitor is gnome-terminal
displayed? Using the geometry
parameter, you can specify width, height, and x/y offset:
gnome-terminal --geometry WidthxHeight+Xoffset+Yoffset
...where the offsets are specified in pixels, but width and height are specified in number of columns and lines, respectively. The window will never span multiple monitors and will be placed on the monitor that would contain the biggest part of the window if it spanned multiple monitors.
In your case, despite 0 offset, you made the window 1680 columns wide, which is why it was placed on the middle monitor.
When you want to display the terminal in full screen anyways, use the smallest possible dimensions to ensure that it is placed on the correct monitor in the first place:
#left monitor:
gnome-terminal --geometry 1x1+0+0 --full-screen
#right monitor:
gnome-terminal --geometry 1x1+3600+0 --full-screen
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
You were on the right track. The --full-screen
option will open the terminal window in full screen mode on the monitor it is displayed on in the first place. But on which monitor is gnome-terminal
displayed? Using the geometry
parameter, you can specify width, height, and x/y offset:
gnome-terminal --geometry WidthxHeight+Xoffset+Yoffset
...where the offsets are specified in pixels, but width and height are specified in number of columns and lines, respectively. The window will never span multiple monitors and will be placed on the monitor that would contain the biggest part of the window if it spanned multiple monitors.
In your case, despite 0 offset, you made the window 1680 columns wide, which is why it was placed on the middle monitor.
When you want to display the terminal in full screen anyways, use the smallest possible dimensions to ensure that it is placed on the correct monitor in the first place:
#left monitor:
gnome-terminal --geometry 1x1+0+0 --full-screen
#right monitor:
gnome-terminal --geometry 1x1+3600+0 --full-screen
add a comment |Â
up vote
1
down vote
accepted
You were on the right track. The --full-screen
option will open the terminal window in full screen mode on the monitor it is displayed on in the first place. But on which monitor is gnome-terminal
displayed? Using the geometry
parameter, you can specify width, height, and x/y offset:
gnome-terminal --geometry WidthxHeight+Xoffset+Yoffset
...where the offsets are specified in pixels, but width and height are specified in number of columns and lines, respectively. The window will never span multiple monitors and will be placed on the monitor that would contain the biggest part of the window if it spanned multiple monitors.
In your case, despite 0 offset, you made the window 1680 columns wide, which is why it was placed on the middle monitor.
When you want to display the terminal in full screen anyways, use the smallest possible dimensions to ensure that it is placed on the correct monitor in the first place:
#left monitor:
gnome-terminal --geometry 1x1+0+0 --full-screen
#right monitor:
gnome-terminal --geometry 1x1+3600+0 --full-screen
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
You were on the right track. The --full-screen
option will open the terminal window in full screen mode on the monitor it is displayed on in the first place. But on which monitor is gnome-terminal
displayed? Using the geometry
parameter, you can specify width, height, and x/y offset:
gnome-terminal --geometry WidthxHeight+Xoffset+Yoffset
...where the offsets are specified in pixels, but width and height are specified in number of columns and lines, respectively. The window will never span multiple monitors and will be placed on the monitor that would contain the biggest part of the window if it spanned multiple monitors.
In your case, despite 0 offset, you made the window 1680 columns wide, which is why it was placed on the middle monitor.
When you want to display the terminal in full screen anyways, use the smallest possible dimensions to ensure that it is placed on the correct monitor in the first place:
#left monitor:
gnome-terminal --geometry 1x1+0+0 --full-screen
#right monitor:
gnome-terminal --geometry 1x1+3600+0 --full-screen
You were on the right track. The --full-screen
option will open the terminal window in full screen mode on the monitor it is displayed on in the first place. But on which monitor is gnome-terminal
displayed? Using the geometry
parameter, you can specify width, height, and x/y offset:
gnome-terminal --geometry WidthxHeight+Xoffset+Yoffset
...where the offsets are specified in pixels, but width and height are specified in number of columns and lines, respectively. The window will never span multiple monitors and will be placed on the monitor that would contain the biggest part of the window if it spanned multiple monitors.
In your case, despite 0 offset, you made the window 1680 columns wide, which is why it was placed on the middle monitor.
When you want to display the terminal in full screen anyways, use the smallest possible dimensions to ensure that it is placed on the correct monitor in the first place:
#left monitor:
gnome-terminal --geometry 1x1+0+0 --full-screen
#right monitor:
gnome-terminal --geometry 1x1+3600+0 --full-screen
answered yesterday
danzel
1,226512
1,226512
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1062148%2fopening-software-on-a-specific-monitor%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Which Ubuntu version and, more importantly, which display server (Xorg/Wayland)?
â danzel
yesterday
18.04, Xorg, and if it matters, nVidia 396. Edited into the post.
â hiigaran
yesterday
Have you tried
--geometry...
without--fullscreen
?â danzel
yesterday
Yes. The --full-screen option is something I'd want to use afterwards. I'd figure if the geometry is set so that the terminal appears anywhere on a specific monitor, the full-screen option would take care of filling up the rest of the space.
â hiigaran
yesterday
1
the width and height are specified as number of columns and lines, not pixels. Try
--geometry 1x1+0+0 --full-screen
.â danzel
yesterday