Detect External Monitor

First post for this website completely in English.

I have a bunch of on going projects and things I'd like to talk about, but time is not on my side (as usual), but this I think it's worth talking about.

This is a very stupid guide on how to setup a simple script I wrote on how to detect the external monitor and use it automatically.

The basic setup and use I will cover are:

  • configure basic functionality of the script
  • setup keyboard keys (usually Fn+F7) for use with the script
  • autoload script at logon for using the external monitor automatically