1ICEWM-MENU-XRANDR(1)             User Commands            ICEWM-MENU-XRANDR(1)
2
3
4
5   NAME
6        icewm-menu-xrandr - IceWM menu provider for multi-monitor setup shortcuts
7
8   SYNOPSIS
9       icewm-menu-xrandr
10
11   DESCRIPTION
12       icewm-menu-xrandr is a helper to manage multi-screen configurations in
13       a semi-automated way. It is a regular icewm menu generator which
14       dynamically detects the available xrandr screens (i.e. connected
15       monitors) and creates menu entries that call the xrandr command to
16       setup this configuration.
17
18       Optionally, the contents of the generated configurations can be
19       accessed on-the-fly through a "quick-switch" style menu which pops up
20       upon pressing Super-P key binding (or a manually configured key, see
21       icewm-keys(5) for the configuration of switchkey directive).
22
23       The tool does not examine the exact monitor resolutions, refresh rates
24       or screen orientation. For this matters it uses auto selected mode by
25       default. However, it is possible to replace the custom option selection
26       for each output using xrandr options in a custom configuration file
27       (see CONFIGURATION below). Also tuning specific options like
28       --brightness and --gamma is possible there.
29
30       The displayed name of the monitors is constructed using the output name
31       and the monitor information from its EDID data (either from its
32       "Display Name" field or from the "Unspecified ASCII text" fields
33       (concatenated).
34
35   OPTIONS
36       --max
37           Obsolete and ineffective option. Used to select the xrandr mode
38           with the highest detected refresh rate. However, the maximum rate
39           might cause problems, therefore the explicit configuration in the
40           INI file should be used now, see CONFIGURATION.
41
42       --auto-number [ init value ]
43           Adding a auto-incremented numbered prefix to each display name,
44           optionally started at the specified value. This mostly useful for
45           menu creation.
46
47       --xrandr command
48           Replacement for xrandr command which should deliver equivalent data
49           and accept the same options as xrandr.
50
51       --activate combo-name
52           A shortcut to run the activation command of the specified combo,
53           just like IceWM would run the commmand when selected from the menu
54           or quick-switch dialog. The combo-name parameter needs to match the
55           displayed name exactly.
56
57   CONFIGURATION
58       Optionally, a local configuration can specify command line options to
59       xrandr calls, and further commands to run after mode switching.
60
61       Refer to configuration examples (xrandr_menu) in icewm documentation or
62       its contrib folder for the syntax and rules of that file. It can be
63       placed into $HOME/.config/icewm or into $HOME/.icewm or wherever
64       $XDG_CONFIG_HOME/.config/icewm might resolve to.
65
66   SEE ALSO
67       icewm(1), xrandr(1).
68
69   BUGS
70       Please report bugs at <https://github.com/bbidulock/icewm/issues>.
71
72   AUTHOR
73       Eduard Bloch <mailto:edi@gmx.de>.
74
75   LICENSE
76       icewm-menu-xrandr is licensed under the Simplified BSD License.  IceWM
77       is licensed under the GNU Library General Public License.  See the
78       COPYING file in the distribution.
79
80
81
82icewm 3.3.1                       2023-01-24              ICEWM-MENU-XRANDR(1)
Impressum