make xrandr output on two monitors
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
My notebook has an HDMI connection to external monitor. I want have xrandr
to pass parameters so that the image is displayed on both internal and external monitors, and when the external monitor is disconnected, the image continues to be displayed on the internal.
Currently I turn it off it manually:
xrandr --output LVDS1 --off --output HDMI1 --auto
And turn on:
xrandr --output LVDS1 --auto --output HDMI1 --auto
So I want to put xrandr
command with correct parameters in $HOME/.xinitrc
, so that video would go out on both monitors.
ubuntu video xrandr multi-monitor hdmi
add a comment |Â
up vote
0
down vote
favorite
My notebook has an HDMI connection to external monitor. I want have xrandr
to pass parameters so that the image is displayed on both internal and external monitors, and when the external monitor is disconnected, the image continues to be displayed on the internal.
Currently I turn it off it manually:
xrandr --output LVDS1 --off --output HDMI1 --auto
And turn on:
xrandr --output LVDS1 --auto --output HDMI1 --auto
So I want to put xrandr
command with correct parameters in $HOME/.xinitrc
, so that video would go out on both monitors.
ubuntu video xrandr multi-monitor hdmi
1
man xrandr
, read up on--same-as
.
â dirkt
Oct 20 '17 at 6:35
@dirkt, thanks for pointing this option, but does--same-as
go along with--output
option? Can you give example?
â Mark
Oct 21 '17 at 1:19
3
Possible duplicate of xrandr clone monitor autodetect resolution
â Evan Carroll
Apr 28 at 19:42
I'd say it is not a duplicate. The linked question is about setting the second display to a video mode with the same screen pixel area, but this is not required in this question.
â njsg
Apr 29 at 21:14
@Mark, it is a "per-output" option, so it must come after an--output
option. Soxrandr --output HDMI1 --same-as LVDS1
to makeHDMI1
show the same asLVDS1
.
â njsg
Apr 29 at 23:57
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
My notebook has an HDMI connection to external monitor. I want have xrandr
to pass parameters so that the image is displayed on both internal and external monitors, and when the external monitor is disconnected, the image continues to be displayed on the internal.
Currently I turn it off it manually:
xrandr --output LVDS1 --off --output HDMI1 --auto
And turn on:
xrandr --output LVDS1 --auto --output HDMI1 --auto
So I want to put xrandr
command with correct parameters in $HOME/.xinitrc
, so that video would go out on both monitors.
ubuntu video xrandr multi-monitor hdmi
My notebook has an HDMI connection to external monitor. I want have xrandr
to pass parameters so that the image is displayed on both internal and external monitors, and when the external monitor is disconnected, the image continues to be displayed on the internal.
Currently I turn it off it manually:
xrandr --output LVDS1 --off --output HDMI1 --auto
And turn on:
xrandr --output LVDS1 --auto --output HDMI1 --auto
So I want to put xrandr
command with correct parameters in $HOME/.xinitrc
, so that video would go out on both monitors.
ubuntu video xrandr multi-monitor hdmi
edited Apr 28 at 19:41
Evan Carroll
4,59683674
4,59683674
asked Oct 20 '17 at 2:33
Mark
4582621
4582621
1
man xrandr
, read up on--same-as
.
â dirkt
Oct 20 '17 at 6:35
@dirkt, thanks for pointing this option, but does--same-as
go along with--output
option? Can you give example?
â Mark
Oct 21 '17 at 1:19
3
Possible duplicate of xrandr clone monitor autodetect resolution
â Evan Carroll
Apr 28 at 19:42
I'd say it is not a duplicate. The linked question is about setting the second display to a video mode with the same screen pixel area, but this is not required in this question.
â njsg
Apr 29 at 21:14
@Mark, it is a "per-output" option, so it must come after an--output
option. Soxrandr --output HDMI1 --same-as LVDS1
to makeHDMI1
show the same asLVDS1
.
â njsg
Apr 29 at 23:57
add a comment |Â
1
man xrandr
, read up on--same-as
.
â dirkt
Oct 20 '17 at 6:35
@dirkt, thanks for pointing this option, but does--same-as
go along with--output
option? Can you give example?
â Mark
Oct 21 '17 at 1:19
3
Possible duplicate of xrandr clone monitor autodetect resolution
â Evan Carroll
Apr 28 at 19:42
I'd say it is not a duplicate. The linked question is about setting the second display to a video mode with the same screen pixel area, but this is not required in this question.
â njsg
Apr 29 at 21:14
@Mark, it is a "per-output" option, so it must come after an--output
option. Soxrandr --output HDMI1 --same-as LVDS1
to makeHDMI1
show the same asLVDS1
.
â njsg
Apr 29 at 23:57
1
1
man xrandr
, read up on --same-as
.â dirkt
Oct 20 '17 at 6:35
man xrandr
, read up on --same-as
.â dirkt
Oct 20 '17 at 6:35
@dirkt, thanks for pointing this option, but does
--same-as
go along with --output
option? Can you give example?â Mark
Oct 21 '17 at 1:19
@dirkt, thanks for pointing this option, but does
--same-as
go along with --output
option? Can you give example?â Mark
Oct 21 '17 at 1:19
3
3
Possible duplicate of xrandr clone monitor autodetect resolution
â Evan Carroll
Apr 28 at 19:42
Possible duplicate of xrandr clone monitor autodetect resolution
â Evan Carroll
Apr 28 at 19:42
I'd say it is not a duplicate. The linked question is about setting the second display to a video mode with the same screen pixel area, but this is not required in this question.
â njsg
Apr 29 at 21:14
I'd say it is not a duplicate. The linked question is about setting the second display to a video mode with the same screen pixel area, but this is not required in this question.
â njsg
Apr 29 at 21:14
@Mark, it is a "per-output" option, so it must come after an
--output
option. So xrandr --output HDMI1 --same-as LVDS1
to make HDMI1
show the same as LVDS1
.â njsg
Apr 29 at 23:57
@Mark, it is a "per-output" option, so it must come after an
--output
option. So xrandr --output HDMI1 --same-as LVDS1
to make HDMI1
show the same as LVDS1
.â njsg
Apr 29 at 23:57
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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%2funix.stackexchange.com%2fquestions%2f399256%2fmake-xrandr-output-on-two-monitors%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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');
);
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');
);
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
1
man xrandr
, read up on--same-as
.â dirkt
Oct 20 '17 at 6:35
@dirkt, thanks for pointing this option, but does
--same-as
go along with--output
option? Can you give example?â Mark
Oct 21 '17 at 1:19
3
Possible duplicate of xrandr clone monitor autodetect resolution
â Evan Carroll
Apr 28 at 19:42
I'd say it is not a duplicate. The linked question is about setting the second display to a video mode with the same screen pixel area, but this is not required in this question.
â njsg
Apr 29 at 21:14
@Mark, it is a "per-output" option, so it must come after an
--output
option. Soxrandr --output HDMI1 --same-as LVDS1
to makeHDMI1
show the same asLVDS1
.â njsg
Apr 29 at 23:57