Last active
March 6, 2016 03:20
-
-
Save rhoconlinux/0a025d2aa037f38ef494 to your computer and use it in GitHub Desktop.
dropbox launcher for tray in elementary freya
This file contains hidden or 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
| #!/bin/bash | |
| clear | |
| echo "deleting previous installs... " | |
| sudo rm /usr/bin/start-dropbox-withtray.sh | |
| rm ~/.config/autostart/dropbox-fix-tray-elementary-freya-launcher.desktop | |
| clear | |
| # stop it if it's running | |
| dropbox stop &>/dev/null | |
| cd /tmp | |
| wget https://gist.githubusercontent.com/rhoconlinux/6a22a9fc68c269bedab2/raw/2924f604a2b2bad0e26a93613256131a11557e3c/dropbox-fix-tray-elementary-freya-launcher.desktop -O dropbox-fix-tray-elementary-freya-launcher.desktop | |
| wget https://gist.githubusercontent.com/rhoconlinux/c6f33a3bde551aa4bfa5/raw/553399842df7f3cb2bb4aca7ff086e3fc03c932e/dropbox-fix-tray-elementary-freya.sh -O start-dropbox-withtray.sh | |
| sudo cp start-dropbox-withtray.sh /usr/bin/ | |
| sudo chmod +x /usr/bin/start-dropbox-withtray.sh | |
| cp dropbox-fix-tray-elementary-freya-launcher.desktop ~/.config/autostart | |
| chmod +x ~/.config/autostart/dropbox-fix-tray-elementary-freya-launcher.desktop | |
| mkdir -p ~/.config/autostart/inactive | |
| mv ~/.config/autostart/dropbox.desktop ~/.config/autostart/inactive ; | |
| mv ~/.config/autostart/Dropbox.desktop ~/.config/autostart/inactive ; | |
| cd | |
| clear |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment