MOD: trying to get this to auto run at startup...not working

This commit is contained in:
JohnE 2019-05-04 21:26:24 -07:00
parent bdf260aa92
commit a758bd8ea5
2 changed files with 20 additions and 1 deletions

16
scripts/fix_rotate.plist Normal file
View File

@ -0,0 +1,16 @@
<!--
1. save to ~/Library/LaunchAgents
2. load the plist: launchctl load ~/Library/LaunchAgents/fix_rotate.plist
-->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>fix rotate</string>
<key>RunAtLoad</key>
<true />
<key>Program</key>
<string>/Users/j3g/scripts/fix_rotate.sh</string>
</dict>
</plist>

View File

@ -1,4 +1,7 @@
#!/bin/bash
#
# fb-rotate -l : list display devices
# -d <device ID>
#
fb-rotate -d 0x1a003e82 -r 0
fb-rotate -d 0x1a003e82 -r 90