MOD: trying to get this to auto run at startup...not working
This commit is contained in:
parent
bdf260aa92
commit
a758bd8ea5
|
@ -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>
|
|
@ -1,4 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# fb-rotate -l : list display devices
|
||||||
|
# -d <device ID>
|
||||||
|
#
|
||||||
fb-rotate -d 0x1a003e82 -r 0
|
fb-rotate -d 0x1a003e82 -r 0
|
||||||
fb-rotate -d 0x1a003e82 -r 90
|
fb-rotate -d 0x1a003e82 -r 90
|
Loading…
Reference in New Issue