cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
Next, run the Dropbox daemon from the newly created .dropbox-dist folder.
~/.dropbox-dist/dropboxd
22m
cd ~ && wget -O dropbox.py "https://www.dropbox.com/download?dl=packages/dropbox.py"
chmod +x dropbox.py
mv dropbox.py ~/.local/bin/dropbox
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -This downloads and extracts Dropbox to ~/.dropbox-dist/.
~/.dropbox-dist/dropboxdFollow the instructions to link your account in the browser.
cd ~ && wget -O dropbox.py "https://linux.dropbox.com/packages/dropbox.py"
chmod +x dropbox.py
mkdir -p ~/.local/bin
mv dropbox.py ~/.local/bin/dropboxTest the CLI with:
dropbox statusIf you're using GNOME, XFCE, or KDE, install the required packages for a system tray icon:
- GNOME:
sudo apt install libappindicator3-1
- XFCE:
sudo apt install xfce4-indicator-plugin
- KDE (Plasma):
sudo apt install plasma-applet-dropbox
Restart your session or system to see the tray icon.
Create the necessary directory:
mkdir -p ~/.config/systemd/userCreate a systemd service file:
nano ~/.config/systemd/user/dropbox.servicePaste the following content:
[Unit]
Description=Dropbox Daemon
After=network.target
[Service]
ExecStart=%h/.dropbox-dist/dropboxd
Restart=always
User=%U
Group=%U
Environment="DISPLAY=:0"
[Install]
WantedBy=default.targetSave and exit (CTRL + X, then Y, then ENTER).
Reload and enable the service:
systemctl --user daemon-reload
systemctl --user enable dropbox.service
systemctl --user start dropbox.serviceCheck service status:
systemctl --user status dropbox.serviceIf you don’t use systemd, add Dropbox to autostart:
mkdir -p ~/.config/autostart
nano ~/.config/autostart/dropbox.desktopPaste this:
[Desktop Entry]
Type=Application
Name=Dropbox
Exec=/home/$USER/.dropbox-dist/dropboxd
StartupNotify=false
Terminal=falseSave and exit (CTRL + X, Y, ENTER).
Restart your system:
rebootAfter rebooting, check if Dropbox is running:
dropbox statusNow, Dropbox should start automatically and show up as an applet in your system tray Hope you found this helpful