1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
2 .TH AUTORANDR "1" "October 2017" "autorandr 1.2" "Automatically change screen layout"
4 autorandr \- Automatically change screen layout
10 \fB\-h\fR, \fB\-\-help\fR
15 \fB\-c\fR, \fB\-\-change\fR
20 \fB\-s\fR, \fB\-\-save\fR <profile>
22 save your current setup to profile <profile>
25 \fB\-r\fR, \fB\-\-remove\fR <profile>
27 remove profile <profile>
30 \fB\-l\fR, \fB\-\-load\fR <profile>
32 load profile <profile>
35 \fB\-d\fR, \fB\-\-default\fR <profile>
37 use profile <profile> if no other profile matches. [Most useful if set
38 in ~/.config/autorandr/settings.ini].
41 \fB\-\-skip\-options\fR <option>
43 comma separated list of xrandr arguments (e.g. "gamma")
44 to skip both in detecting changes and applying a profile
49 force (re)loading of a profile
54 fingerprint your current hardware setup
59 dump your current xrandr setup
64 don't change anything, only print the xrandr commands
74 run autorandr for all users with active X11 sessions
78 To prevent a profile from being loaded, place a script called "block" in its
79 directory. The script is evaluated before the screen setup is inspected, and
80 in case of it returning a value of 0 the profile is skipped. This can be used
81 to query the status of a docking station you are about to leave.
83 If no suitable profile can be identified, the current configuration is kept.
84 To change this behaviour and switch to a fallback configuration, specify
85 \fB\-\-default\fR <profile>.
87 Another script called "postswitch" can be placed in the directory
88 ~/.config/autorandr (or ~/.autorandr if you have an old installation) as well
89 as in any profile directories: The scripts are executed after a mode switch
90 has taken place and can notify window managers.
91 .SH "VIRTUAL CONFIGURATIONS"
92 The following virtual configurations are available:
95 Clone all connected outputs at the largest common resolution
98 Clone all connected outputs with the largest resolution (scaled down if necessary)
101 Stack all connected outputs horizontally at their largest resolution
104 Stack all connected outputs vertically at their largest resolution
106 # save the current setup and set default
108 autorandr \-\-save mysetup
110 echo -e '[config]\\ndefault=mysetup' > ~/.config/autorandr/settings.ini
112 # put laptop in dock (or plug in additional monitors)
114 # run appropriate xrandr commands to fix things up
116 autorandr \-\-save docked_setup
118 # now remove the laptop from the dock, and settings return to mysetup
120 Autorandr is written and maintained by Phillip Berndt, with
121 contributions by many others. See
122 https://github.com/phillipberndt/autorandr for more information.