View Single Post
Old 09-08-2015, 04:19 AM   #36
stuguy909
Member
 
Join Date: Aug 2015
Posts: 37
Default

That code example does help, thank you. I have been on holiday this weekend, I will resume coding tomorrow. You saved me a bit of time from having to read up on the xrandr man pages. I would like to borrow some of your switch statement code for beefing up the usability of the displaylink script I'm working on, if you don't mind? A status of what I have achieved and hope to accomplish:

Code:
1) script package launches default behaviors when Displaylink USB device is plugged in -TODO

2) Displaylink service automatically starts and stops -DONE

3) Print connection status of providers and provider count - DONE

4) Print provider unique names - TODO | additionaly, what did you use to pull the monitor names individually?  I can print the monitors, but they are in lines of text.

5) Automatically activate all connected providers if script is running - DONE

6) Manually position monitors with a modified version of your code examples - TODO

7) Automatically position monitors based on a preset config file - TODO

8) Script package to be universally compatible on Debian 8.1 for everyone's machine, not just ours. -TODO | I'd say, minus the USB detection, this is pretty much near complete
stuguy909 is offline   Reply With Quote