To make the primary monitor change permanent, go to Menu -> Other -> Startup Applications, and click Add. Give the startup program a name, like "Set Primary Monitor", then in the Command box, enter:
xrandr --output monitorName --primary
where monitorName is the name of the monitor you wish to use as the primary monitor, as listed in the script from this post. My command for example, looked like this:
xrandr --output DVI-I-2 --primary
Your Add Startup Program window should look something like this:
Click Add, and you're done! Let me know if this works for you below!
Worked for me. Thanks!
ReplyDeleteExcellent, glad to help!
Deleteit messed up my monitor, now every time i startup, my screen goes blank except for the backlight. How can i remove this from my startup using the terminal only since it's the only thing i can access through safe boot?
ReplyDeleteHi Justin,
DeleteIf you delete the script using the terminal, it will no longer launch when your machine starts up. With scripts like this, I'd always recommend testing them first, before adding them them more permanently into your machines configuration (via startup, or similar).
Works but not fully. In case when the main monitor is 24" and side monitors are 19" and the above command is called the items from the system tray (clock, network, sound, etc) are always docked more or less in the middle of the menu panel. It does not matter if they are locked or not. It is really annoying to move them to the right corner every time I start the system.
ReplyDeleteThat does sound a bit odd. I'd maybe look into configuring your panel in more depth - it sounds like it's being reset whenever you start your system. Best of luck!
DeleteKnow this is an old topic now, but had an issue with a new machine, keep defaulting to a small monitor on the side, this trick worked for me, running LinuxMint 16 - Thanks
ReplyDelete