my-sys-cfg
my-sys-cfg provides building blocks for system that take actions when peripheral changes.
For example, my-sys-cfg resolves the re-docking problems which are caused by the changing XRandr output name after undocking and docking.
Note that before version 1.0, the format of configuration file might change
1. Dependencies
-
monitor-edid ( provided by
monitor-edid
in Fedora) -
(Optional) xrandr
2. Usages
Most commands show on-line helps with option -h
. For example,
following command show the on-line help of msc-monitor-find
msc-monitor-find -h
2.1. Notable Commands
2.1.1. msc-monitor-find
This command finds monitor information with EDID
, xrandr
,
and /sys/class/drm
.
Following command show information of all connected monitors
msc-monitor-find
If you are only interested in DRM connectors
msc-monitor-find -c
You can also find the XRandr output that connect to monitor
whose Manufacturer matches GSM*
:
msc-monitor-find -V "Manufacturer=*" -o
Show detailed help with option -h
2.1.2. msc-xrandr-set
This command set xrandr outputs according to xrandr-set rules defined under rules.d/xrandr-set.
msc-monitor-find -c