nvidia display profile switcher

There's an utility (python script) to switch quickly from clone to single etc… (not exactly display profile).

Download it here:
http://ppa.launchpad.net/wvengen/ppa/ubuntu/pool/main/d/disper/

Here's the output:

python cli.py 
Usage: cli.py [options] (-l|-s|-c|-e|-p|-i)

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -v, --verbose         show what's happening
  -q, --quiet           be quiet and only show errors
  -r RESOLUTION, --resolution=RESOLUTION
                        set resolution, e.g. "800x600", or "auto" to detect
                        the highest common resolution. For extend it is
                        possible to enter a single resolution for all
                        displays, or a comma-separated list of resolutions
                        (one for each display), or "max" to use the maximum
                        resolution for each device. Beware that many displays
                        advertise resolutions they can not fully show, so
                        "max" is not advised.
  -d DISPLAYS, --displays=DISPLAYS
                        comma-separated list of displays to operate on, or
                        "auto" to detect
  -t DIRECTION, --direction=DIRECTION
                        where to extend displays: "left", "right", "top", or
                        "bottom"
  --scaling=SCALING     flat-panel scaling mode: "default", "native",
                        "scaled", "centered", or "aspect-scaled"

  Actions:
    Select exactly one of the following actions

    -l, --list          list the attached displays
    -s, --single        only enable the primary display
    -c, --clone         clone displays
    -e, --extend        extend displays
    -p, --export        export current settings to standard output
    -i, --import        import current settings from standard input

This is what i do to switch to clone:
python cli.py -r 1920x1080 -d DFP-1 -c
nvidia-settings —assign="SyncToVBlank=1"

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License