A console application for adjusting the brightness of three monitors (for Ubuntu).
Before the first launch, configure the names of your monitor adapters in the adapters
dictionary (about the 22nd line of the script:)
Example
# Configure your adapters here. The connected adapters can be found using the command
# xrandr --prop | grep connected
# If you have only two monitors, you can delete place.Middle of adapters
adapters = {PLACE.Left:'DP-1',
PLACE.Middle: 'HDMI-1',
PLACE.Right: 'DVI-D-1-1'}
To search for connected monitors, you can use the command
xrandr --prop | grep connected
Control:
- Up arrow, down arrow - select the monitor whose brightness will change.
- Down arrow also selects all monitors at the same time to change the brightness.
- Left arrow, right arrow - brightness change.
- Space bar - apply the set brightness without changing. This is for the case when the brightness of the monitor has changed under the influence of external reasons.
- q - exit with the settings saved. The next time you start, these settings will be applied automatically. The settings are also saved when the terminal window is closed.