В Ubuntu 18.04, когда я подключаю свой ноутбук, компоновка монитора присваивается предыдущей конфигурации, которая была у меня, когда ноутбук был отстыкован.
Недавно я изменил дистрибутив & окружение рабочего стола, и я хочу повторить это на моей новой установке.
Я узнал об autorandr , но после поиска в моей старой системе я обнаружил, что она там не была установлена.
Итак, какая часть Конфигурация GNOME / Ubuntu обрабатывает это изменение? Он запечен внутри кода где-то или его можно извлечь?
gnome tweaks has a tool for this https://extensions.gnome.org/extension/1066/fix-multi-monitors/
to install gnome tweaks (which comes with all sorts of nifty extensions and lots of settings) Open up terminal and type
sudo apt install gnome-tweaks
you can then go to applications and open tweaks, turn on extensions. Then go to https://extensions.gnome.org/extension/1066/fix-multi-monitors/ there should be a switch at the top that you can switch that will turn it on and you're all set!
This works for me even when I disconnect from a dock or monitor then add it back it automatically remembers their location relative to each other!