Created
August 4, 2020 12:28
-
-
Save yongrenjie/354ee1aa0354f5cc70d393a613dad59c to your computer and use it in GitHub Desktop.
Launch daemon for JupyterLab
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
<!-- Starts JupyterLab upon login. Unfortunately, there's a slight hitch on Catalina: the process cannot | |
access user folders such as ~/Desktop, ~/Documents, etc. I tried giving everything full disk access, but | |
nothing works. Anyway, I have kept this code in case a workaround is found in the future. | |
To use: Just place this file in ~/Library/LaunchAgents. | |
--> | |
<?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>jupyterlab_3.8</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>bash</string> | |
<string>-c</string> | |
<string>jupyter-lab /Users/yongrenjie --no-browser</string> | |
</array> | |
<key>KeepAlive</key> | |
<true/> | |
<key>StandardOutPath</key> | |
<string>/dev/null</string> | |
<key>StandardErrorPath</key> | |
<string>/dev/null</string> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>PATH</key> | |
<string>/Users/yongrenjie/doi2bib:/Users/yongrenjie/qcnmr-tools:/Users/yongrenjie/ps-opt:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Users/yongrenjie/Library/Python/3.8/bin:/Users/yongrenjie/.fzf/bin</string> | |
</dict> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment