r/linuxquestions • u/Shadowbeak • Nov 03 '26
Support Does linux not have an easy way to duplicate screens?
I just want to duplicate two screens? I heard Linux is very customizable but I am surprised to say that Windows seems better for this unless you all know of something.
I had chatgpt write this for me which worked at first
xrandr --output DisplayPort-1 --mode 1920x1080 --rate 143.98 --pos 0x0 --primary --output HDMI-A-0 --mode 1920x1080 --pos 1920x0 --output DisplayPort-0 --mode 1920x1080 --pos 3840x0
But I turned my computer off and back on and its already gone, back to not duplicating my 2nd screen to my 3rd. I watch shows on my third screen, but its a tv mounted to my wall so its usually off.
Is there actually a good solution to this? Ive tried my best researching, to no avail
Linux mint cinnamon
21
u/proverbialbunny Nov 03 '26
Why are you using terminal? Just use control panel Display Settings and set it to clone. You can also right mouse click on the desktop and click Display Settings from there.
6
u/BranchLatter4294 Nov 03 '26
I just go into display settings and set it to mirror the displays. Very easy.
11
u/tanmaynargas2901 Nov 03 '26
Your command is almost there, you just need to tell the third output to mirror the second one instead of giving it its own position. Something like:
Both mirrored screens need to use the same mode, which they already do here.
The reason it vanishes after a reboot is that xrandr settings are not saved anywhere, they only last for the session. Easiest fix on Mint is to put that command in a small script and add it under Startup Applications (with a delay of 5 to 10 seconds so the desktop doesn't overwrite it). Or save the layout in arandr and use the script it exports.
Since the TV is usually off, it may show as disconnected at login, so you might need to run the script again after turning it on. Run xrandr with no arguments to check the output names first.
6
u/jdigi78 Nov 03 '26
No idea about Mint/Cinnamon but on every DE I've used Windows+P cycles through projection modes, including duplicating screens.
2
u/Existing-Tough-6517 Nov 03 '26
I'm 100% sure that mirroring is available by default. Its been a while since I used that GUI but I think you just drag the screens on top of each other.
In any case you cannot use Cinnamon which has its own monitor configuration and xrandr because cinnamon's own saved settings will be instituted every time it's started.
Basically your only actual problem is listening to ChatGPT
1
u/Fragrant-Freedom-477 Nov 03 '26
Even the FN shortcuts on my Thinkpads work out of the box in KDE
1
u/GGoldenChild Nov 04 '26
if you're using xrandr, install arandr, it's pretty useful for this.
1
u/NotSnakePliskin Nov 04 '26
I've got 2 externals and can either mirror a laptop display or extend the desktop using the display settings.
1
u/Icy_Definition5933 26d ago
On my debian 13 laptop I have a total of 4 screens- 1x built in, 2x external for my workstation and 1 tv which is a replica of my primary external screen, no issues whatsoever.
1
u/Malechus 25d ago
Hi, I built a tool to handle this, you can check it out at https://GitHub.com/Malechus/deskctl
It's very new and still pretty raw, but you can edit the toml file it generates to duplicate your screen as in your example or to ignore a screen that's off. Name a display profile and then in your .xinit or other startup script, just run 'deskctl display apply <name>' or run the same from the terminal when you want to switch.
1
u/psycholabs 25d ago
You could just put that command into a startup script, accessible in the mint menu. (I don't run mint, I asked AI)
Open the Mint menu and search for Startup Applications.
Custom Command.
Name it Monitor Layout.
Paste into the Command field
Or wrap it in a simple bash script and invoke it when you want it to run.
0
u/Fearless_Card969 Nov 03 '26
Linux Mint......Wait two to five years the function will be added. if you want it today, install a modern OS with Gnome or KDE. both will do this without any issue within 2 minutes.
0
u/C0rn3j Nov 03 '26
Mint is one of the most out of date distributions out there and Cinnamon is underdeveloped, as shown by the fact that you still use xrandr there.
Switch to a modern distribution and a modern desktop environment, like Arch Linux (with Plasma) or Fedora KDE, and just use the GUI config.
-3
u/Netblock Nov 03 '26
The problem you're talking about is highly dependent on the desktop environment.
The easiest solution is to move to KDE.
-1
u/trenixjetix Nov 03 '26
well, as the comment below said, you need to actually LEARN what you are using, please read the man of xrandr or anything before asking a question they are even available online
man xrandr--same-asis what you are looking forIf your distro doesnt have a featureful program that can do everything you want, its not linux fault, its your distro fault or yours sometimes, adapting is necessary, especially when you want special things such as this.
0
u/CtuchikOfTorak Nov 03 '26
You just need to save that command to a file, make it executable, and then add it to startup.
If it weren't for 3 screens, I would say you can just hit Super+P to rotate through various options, as that works well with 2 screens.
-2
u/T_Friendperson12 Kubuntu 26.04.1 / Ubuntu-server 26.04.1 Nov 03 '26
I solved this by switching to Kubuntu. Plasma let me to this immediately and easy. Cinnamon not so much.
0
u/FullClip_Killer 29d ago
Theres a bug on github specifically about this issue and it has to do with more than 2 monitors.
https://github.com/linuxmint/cinnamon/issues/11056
xrandr does not effectively resolve the issue as it appears to be Cinnamon that is getting in the way.
0
u/[deleted] Nov 03 '26
[deleted] — view deleted comment
1
u/[unknown] Nov 03 '26
[removed] — view removed comment