Results 1 to 2 of 2

Thread: Automatically swtich between multiple monitor configurations?

  1. #1
    Join Date
    Mar 2011

    Automatically swtich between multiple monitor configurations?

    I have a laptop that I use in three environments with different monitor setups.

    1) At work, I have a 1280x1024 second monitor.
    2) At home, I have a 1920x1080 second monitor.
    3) In meetings and other places I have no second monitor.

    Whenever I switch between these setups, which is at least several times each day, I have to manually change the monitor configuration. I use the nvidia-settings tools.

    Granted, it only takes a few seconds. Is there a way to make the system smart enough to automatically detect when a monitor is added or removed, know *which* monitor is attached, and reconfigure the resolution and monitor layouts the way I want them?


  2. #2
    Join Date
    Nov 2010
    Berlin, Germany
    Xubuntu 12.04 Precise Pangolin

    Re: Automatically swtich between multiple monitor configurations?

    Generally it isn't impossible to achieve that, but it requires a certain degree of co-operation between the nvidia driver and xrandr, and a bit luck.

    You could set up a script which
    1.) checks with "hwinfo --monitor" if certain "Unique ID"s of monitors are present (1)
    2.) sets the output resolution of the present monitors with xrandr (2)
    3.) arrange the monitor outputs with xrandr

    You could run those script
    - via the startup script of GDM (3)
    - via "Startup Applications"
    - manually with a launcher

    - "hwinfo" is in the official repos

    Good luck and don't hesitate to ask for help!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts