Last active
December 22, 2015 14:18
-
-
Save cGuille/6484606 to your computer and use it in GitHub Desktop.
Install the Dropbox client so it runs at start up on KDE
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
| #!/usr/bin/env bash | |
| # Install the Dropbox client so it runs at start up on KDE: | |
| # Set up the destination folder of the Dropbox client (default: your home directory): | |
| INSTALLATION_FOLDER=$HOME | |
| # Choose your platform, 64 or 32 bits (default to 64): | |
| PLATFORM=lnx.x86_64 # 64 bits | |
| #PLATFORM=lnx.x86 # 32 bits | |
| cd "$INSTALLATION_FOLDER" && wget -O - "https://www.dropbox.com/download?plat=$PLATFORM" | tar xzf - && ln -s "$INSTALLATION_FOLDER/.dropbox-dist/dropboxd" ~/.kde/Autostart/dropboxd | |
| # Run the deamon to configure your Dropbox account. The deamon will be automatically run at session start next time. | |
| ~/.kde/Autostart/dropboxd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment