For a GNOME desktop, it will monitor for hdmi being plugged in/out and will place the taskbar/dock in the middle of the TWO displays (warranty void if using more than that)
So I know if my monitors are located in the right spot; the taskbar/dock will show me the hot edge immediately
First, lets config the .rules
file provided
run the following:
$ echo $XAUTHORITY
which should tell you the location of your xauthority cache. Place that path in the ENV{XAUTHORITY}
value
Run the following:
$ echo $DISPLAY
and paste that in the ENV{DISPLAY}
value
in the run, replace ME
with your username and specify the full path the the script which you already made executable with chmod +x
Get plugging and put the rules file in /etc/udev/rules.d/