Ubuntu 18.04.2 Displaylink Lenovo Yoga 11

Trying to figure out how to write an alias that automatically sets a large monitor on my desk as the primary with proper zoom upon attachment and when woken up/resumed. I have done the piece that sets the external monitor as primary using ~/.bashrc. I am unable, however to A) have it run automatically upon resume and/or when attached (ie, I have to run it manually) and B) make it switch zoom depending upon whether the second monitor is attached (ie, everything needs to be larger with the second monitor).

Any thoughts/guidance would be greatly appreciated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.