It is a script to to more easily control the dual-screen configuration.
At the first run, the first option to launch is -ck which prints at the standard output the name of the two monitor connected to the system. Copy the two names into the relative variables in the script (MONITORRT for the right screen - MONITORLT for the left screen). After this task it's possible to execute the script with the other options:
-onlto turn-on the left monitor-onrto turn-on the right monitor-offlto turn-off the left monitor-offrto turn-off the right monitor-prtto put the left monitor in portrait mode-normto put the left monitor in landscape mode-hto print the help message
It's a script useful to download and to setup a new wallpaper. Wallpaper subjects are based on the topics passed to the launch
The elements added at the variable must divided by ,.
example: cw car,dog,summer
To automate the script is required to put the script in the cron using the command crontab -e using the cron syntax (here for more details) and in the startup applications to execute it at system startup.
(The default image resolution is 2560x1600. You can customise it by deleting these values and using others)
For each AVI file in a directory (taken as input), it splits the filename into name and extension. It takes the movie and its subtitles from this directory to create a single MKV file then puts it in the "OK" subdirectory
Gets cpu temperature and fan1 rpm from the sensors package
Gets all connected monitors, their sizes and positions, then sets the left monitor as primary.