I'm mirriong a laptop with LCD TV through HDMI cable. Everytime I reboot I have to go to:
System Settings –> Screen Display
to enable mirroring again. Hence, I'm planning to write a bash script which enable this feature after logging in. However, I don't know which commands to type so that I can achieve the mirror feature.
I'm using Ubuntu 14.04 with the latest AMD driver (14.4) for Radeon 7xxx series so amdccle is installed but I'm not enabling it from there…
Note: I'm OK with using the alternative, amdccle, if necessary.
Best Answer
I'll presume that your monitors have the same resolution. Check for the names of your monitors with
So here, mine are
LVDS1
andDP1
. If both are active, then simply runIf only one is active, then run