Created
January 6, 2023 00:30
-
-
Save emory/5ae8d9c33946e20ca1feb7e4c00c5b01 to your computer and use it in GitHub Desktop.
launch agent plist for synergy when i'm working from IOW
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>PATH</key> | |
<string>/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/opt/X11/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/sbin:/opt/local/bin</string> | |
</dict> | |
<key>KeepAlive</key> | |
<dict> | |
<key>Crashed</key> | |
<true/> | |
<key>SuccessfulExit</key> | |
<false/> | |
</dict> | |
<key>Label</key> | |
<string>ch.kvet.iow.claptrap.synergys</string> | |
<key>ProcessType</key> | |
<string>Standard</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/Applications/Synergy.app/Contents/MacOS/synergys</string> | |
<string>--restart</string> | |
<string>-f</string> | |
<string>--enable-crypto</string> | |
<string>--config</string> | |
<string>/Users/*redacted*/synergy-server-iow.conf</string> | |
<string>-n</string> | |
<string>claptrap</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>StandardErrorPath</key> | |
<string>/tmp/ch-kvet-synergys.log</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i have multiple physical locations where i use my employer-provided workstation, and in two of them i have multiple workstations at my desk. due to the nature of my work having separate computers is best practice. i cannot use Universal Access or anything else because i use a separate AppleID/iCloud account for use on my employer-provided and managed equipment. that apple ID is part of my family group so i have access to my software.
so i have that configuration file specified for when i'm in IOW and it specifies three computers across five displays starting with my employer-provided workstation far left in each space. i plug in to a thunderbolt dock and moonlander keyboard and then the magic happens.
i'll have conditional context for each location later most important was just to keep synergys from crashing constantly and having to restart it. i have no idea why it constantly fails, i thought it was clipboard related but even with clipboard sharing disabled it just quietly dies so in absence of troubleshooting details to figure it out, i'll just make it launch synergys again every time it fails. i'm catching errors for review later.
this plist was created in Lingon X which i am pleased to report is still a maintained product and worth the money!
questions/comments/suggestions mastodon ID @emory@soc.kvet.ch will get my attention before a comment on this gist.