I'm using a laptop running Ubuntu 19.04, moving it between two different desks, both with docking station. On each desk I use external display as primary, laptop screen as secondary. I'm hibernating the laptop when moving between desks.
My setup is following:
- Desk one - older monitor, FullHD resolution, sound is coming from monitor (audio over HDMI)
- Desk two - newer monitor, higher resolution, sound from the laptop dock.
I have two issues:
1) If I move from desk one to desk two, laptop uses low resolution on the screen which is bit ugly. I can fix the resolution after I log in, I just open "Display Settings" and resolution fixes itself.
I also need to switch sound output from HDMI to laptop speakers.
2) If I move from desk two to desk one the monitor actually can't handle the resolution at all. That means I have issue with logging in - login screen is on primary monitor which does not have any picture (resolution too high). I have to either:
- log in without actually seeing login screen then open "Display Setting" from secondary display (it's just right mouse on desktop so it's doable) or
- remove laptop from dock, log in and put it back.
I also need to switch sound output from HDMI to laptop.
The second issue is obviously more annoying because I don't see the login screen at all.
My question: Is there some way to configure Ubuntu to update the display setting automatically, when moving between desks?
7 Reset to default