Package Details: dropbox 121.4.4267-1
Nov 06, 2017 Dropbox Uploader is a bash script that simplifies the complex Dropbox-cli down to something much easier to understand.With it, uploading and downloading files to Dropbox from the Linux terminal is much easier.
- View PKGBUILD / View Changes
- Sudo mv dropbox dropbox1 Then create a new file called dropbox using command: sudo gedit dropbox Then write this: #!/bin/bash /.dropbox-dist/dropboxd Save and exit, change premission: sudo chmod 0755 dropbox then restart the computer. Create a startup application with name say 'Dropbox2' and write this line in it. Sh -c /.dropbox-dist.
- Apr 28, 2021 I see the same behavior on several machines, all running Fedora linux. So I contacted dropbox support, and they asked me to do the usual things, uninstall, reinstall, try with a fresh account on the linux machine, etc. None of that helped. It still keeps stopping unpredictably.
- Dropbox – Send to – Context Menu. There are more options on the context menu of a already synced file in Dropbox directory e.g. Copy Dropbox link, version history and comments of a file/folder. Dropbox Context menu for Synced Files. This is how you can integrate and use Dropbox storage in Linux systems.
|Git Clone URL:||https://aur.archlinux.org/dropbox.git (read-only, click to copy)|
|Description:||A free service that lets you bring your photos, docs, and videos anywhere and share them easily.|
|First Submitted:||2009-01-22 14:21|
|Last Updated:||2021-05-04 19:04|
- dbus(dbus-elogind, dbus-git, dbus-x11, dbus-nosystemd-minimal-git, dbus-selinux, dbus-nosystemd)
- fontconfig(fontconfig-srb, fontconfig-infinality-ultimate, fontconfig-infinality, fontconfig-infinality-remix, fontconfig-ubuntu, fontconfig-git, fontconfig-minimal-git)
- libappindicator-gtk3(libappindicator-gtk3-ubuntu, libappindicator-bzr)(optional) – make tray icons themed under some desktop environments like KDE plasma
- perl-file-mimeinfo(optional) – opening dropbox folder on some desktop environments
- ufw-extras(optional) – ufw rules for dropbox
- xdg-utils(mimi-git, sx-open, busking-git, xdg-utils-git, linopen, xdg-utils-terminal-true-git, xdg-utils-mimeo, xdg-utils-handlr, xdg-utils-slock, mimi-bachoseven-git, mimejs-git)(optional) – for 'Launch Dropbox Website' and file manager integration
Required by (21)
yan12125 commented on 2019-01-05 16:39
Run the following command in case you got errors during 'Verifying source file signatures with gpg...'
Alternatively, you can download Dropbox's public key from https://linux.dropbox.com/fedora/rpm-public-key.asc and import it with:
You can check whether keys are successfully imported or not using the output of
gpg -k. You should find something like this:
yan12125 commented on 2018-08-01 11:41
If you can't run the [email protected] service normally, try to create a read-only directory ~/.dropbox-dist and run again.
yan12125 commented on 2017-11-06 15:13
Some useful places for issues about Dropbox itself (not the package):
https://www.dropboxforum.com/t5/Desktop-client-builds/bd-p/101003016 Official Dropbox user feedback forum
Arch Linux discussion places: https://bbs.archlinux.org/, #archlinux on freenode.net, https://lists.archlinux.org/listinfo/aur-general
StormEngineer commented on 2021-05-10 00:39
This is still an issue today: https://aur.archlinux.org/packages/dropbox/?O=20&PP=10#comment-754071
xavierbaez commented on 2021-05-03 21:08
I think this package needs to be upgraded to version
xavierbaez commented on 2021-05-03 20:44
My dropbox says it's not the latest versionI have package dropbox 120.4.4598-1Dropbox Linux version 96.4.172
ghen commented on 2021-05-03 14:22
The dropbox client is auto-updating in your homedir, see https://wiki.archlinux.org/title/Dropbox#Prevent_automatic_updates
hosibach commented on 2021-05-03 14:06
The pkgver 120.4.4598 and my dropbox version don't seem to be the same (my dropbox client says v121.4.4267). Maybe the PKGBUILD needs to be updated?
pedrorafael commented on 2021-04-23 13:58
pedrorafael commented on 2021-04-23 13:58
xuanruiqi commented on 2020-12-02 15:22
wooque commented on 2020-10-06 09:05
Same here, had to download and import key manually
pitlochry commented on 2020-10-06 08:51
I can confirm, that (using yay without sudo)
does not work. Only downloading directly from https://linux.dropbox.com/fedora/rpm-public-key.asc and adding with
works. Can the PKGBUILD be updated with this?
Dropbox is a file sharing system with a GNU/Linux client. Use it to transparently sync files across computers and architectures. Simply drop files into your
~/Dropbox folder, and they will automatically sync to your centralized repository.
dropboxAUR can be installed. As a last resort, the Dropbox website has instructions for a headless install via command line.
- After installing the package, you can start Dropbox from your application menu or run
dropboxfrom the command-line. The client icon will appear in the system tray.
- A pop-up will notify you that Dropbox is running from an unsupported location. Click on Don't ask again since you know that you have installed it from AUR rather than from the official homepage.
- Eventually a pop-up will ask you to log in to your Dropbox account or create a new account. Enter your credentials.
- After some time you will see a 'Welcome to Dropbox' pop-up, which will give you the opportunity to view a short tour of Dropbox.
- Press the 'Finish and go to My Dropbox'.
Before launching dropboxAUR for the first time, it is mandatory to have python-gpgme installed. Otherwise, the program is unable to sign the binaries and verify the signatures, when it's started the next time. For some reason, dropboxAUR has not marked this package as a required dependency but it is still such.
Note that in order to access the GUI and the settings, the only way is via a tray icon. You need an X panel with a system tray or a standalone system tray application for that.
Prevent automatic updates
Since at least version 2.4.6 (see comments around 2013-11-06 on AUR), Dropbox has had an auto-update capability which downloads a new binary to the
~/.dropbox-dist/ folder. The service then attempts to hand over control to this binary and dies, causing systemd to re-start the service, generating a conflict and an endless loop of log-filling, CPU-eating misery.
A workaround is to prevent Dropbox from downloading the automatic update by creating the
~/.dropbox-dist/ folder and making it read-only:
This appears to be necessary for modern Dropbox clients to operate successfully from systemd on arch.
Also see the relevant Dropbox forum post.
In the Dropbox preferences, under the 'General' tab there should be a 'Start Dropbox on system startup' checkbox. Try checking this box and seeing if Dropbox starts automatically.
If that does not work, uncheck the box and use one of the following methods instead:
Autostart with your WM/DE
For KDE users, no further steps are required, as KDE saves running applications when logging out and restarts them automatically. Similarly for Xfce users, Dropbox will be restarted automatically next time you login since the
dropbox.desktop file has been placed in
For Cinnamon users, it's recommended to start Dropbox client by configuring Startup Applications with a little delay (Cinnamon issue #4396). Starting Dropbox with systemd works, running in background, but there's is no icon on systray due to some Cinnamon bugs (#481, #2846).
If that does not work, you can start the Dropbox sync client along with your window manager by adding
/usr/bin/dropbox & to your xinitrc (or
~/.config/openbox/autostart, depending on your setup).
Autostart on boot with systemd
To have Dropbox automatically start when your system boots, simply enable the systemd service, passing your username as the instance identifier. The service unit to be enabled takes the format
By default, running the service does not give you an icon in the system tray because it does not know which X display to use. If you want to have tray support, you must edit the provided service:
Note that with the above edit Dropbox will fail to start unless an X session is launched.
Autostart on login with systemd
To have Dropbox automatically start when you log in, simply enable the user service.
If you want Dropbox to appear in your system tray, you will need to edit the service unit so that it knows which X display the system tray is in:
Note that with the above edit Dropbox will fail to start unless an X session is launched.
Accessing the files without installing a sync client
If all you need is basic access to the files in your Dropbox, you can use the web interface at https://www.dropbox.com/ to upload and download files to your Dropbox. This can be a viable alternative to running a Dropbox daemon and mirroring all the files on your own machine.
The rclone package provides a command-line interface to many cloud storage services including Dropbox. The AUR package droxiAUR provides another command-line interface to Dropbox, similar to the GNU
Encrypting your Dropbox files
If you want to store sensitive data in your Dropbox, you should encrypt it before doing so. Syncing to Dropbox is encrypted, but all files are (for the time being) stored on the server unencrypted just as you put them in your Dropbox.
- Dropbox works with TrueCrypt, and after you initially uploaded the TrueCrypt volume to Dropbox, performance is quite okay, because Dropbox has a working binary diff.
- Another possibility is to use EncFS, which has the advantage that all files are encrypted separately, i.e. you do not have to determine in advance the size of the content you want to encrypt and your encrypted directory grows and shrinks while you add/delete/modify files in it. You can also mount an encrypted volume at startup using the
encfsto avoid having to input the passphrase, but note that your encrypted files are not secure from someone who has direct access to your computer.
- A third option is to use gocryptfs. It is similar to EncFS, except that gocryptfs uses authenticated encryption, for protecting both confidentiality and integrity (tamper-resistance) of the data.
Setup EncFS with Dropbox
Follow the Wiki instructions to install EncFS.
Assuming you have set your Dropbox directory as
Create a folder. Files you want synced to Dropbox will go in here.
Run the following and enter a password when asked:
Your secure folder is ready for use; creating any file inside
~/Private will automatically encrypt it into
~/Dropbox/Encrypted, which will then be synced to your cloud storage.
To mount your EncFS folder on every boot, follow the instructions in the EncFS wiki page.
ENCFS6_CONFIGvariable and moving the
.encfs6.xmlfile to another location (like a USB stick), to help ensure that your encrypted data and the means to realistically decrypt it do not exist together online.
Multiple Dropbox instances
If you need to separate or distinguish your data, personal and work usage for example, you can subscribe to Dropbox with different email addresses and have their directories synced by different Dropbox instances running on a single machine.
The basic principle and general how-to are described in the Dropbox Wiki.
To summarize, you can setup new or additional instances with:
Once that is done, stop any Dropbox instance still running and start them like this:
Pay attention to use different
.../.dropbox-dist/dropboxd binaries. Even when setting a custom HOME value, the
/opt/dropbox/dropboxd wrappers allow only one instance and when started they will kill the one already running.
Dropbox on laptops
Dropbox itself is pretty good at dealing with connectivity problems. If you have a laptop and roam between different network environments, Dropbox will have problems reconnecting if you do not restart it. Try one of the methods described below first, if for some reason the problem remains, you may try one of these hackish solutions: , .
~/.config/autostart/dropbox.desktopfile and thus from starting twice.
For netctl, use
ExecDownPre respectively in every network profile you use, or for example in
/etc/netctl/interfaces/wlan0 to start Dropbox automatically whenever profile on
wlan0 is active. Add ' true' to your command to make sure netctl will bring up your profile, although Dropbox fails to start.
your_user has to be edited and
any other code; can be omitted if you do not have any. The above will make sure that Dropbox is running only if there is a network profile active.
For NetworkManager, use its dispatcher feature.
Create the following file:
or, for the systemd alternative:
Do not forget to change scripts to be owned by root and to make them executable.
or, if you use Dropbox with systemd:
or, if you use Dropbox with systemd:
Do not forget to make the above scripts executable.
Using Dropbox with non-ext4 filesystems
Workarounds have been created, see for example dropbox-fix2AUR. These workarounds are based on substituting the filesystem detection functions by the use of LD_PRELOAD.
It is also possible to create an ext4 formatted sparse file within a non-ext4 filesystem. It can then be mounted to the desired location for the Dropbox folder. On btrfs systems, it's recommended to disable copy-on-write.
Dropbox keeps saying Downloading files
But in fact now files are synced with your box. This problem is likely to appear when your Dropbox folder is located on a NTFS partition whose mount path contains spaces, or permissions are not set for that partition. See more in the forums. To resolve the problem pay attention to your entry in
/etc/fstab. Avoid spaces in the mount path and set write permissions with the 'default_permissions' option:
Change the Dropbox location from the installation wizard
Some users experience the problem during setting-up Dropbox that they cannot select a Dropbox folder other than
/home/username/Dropbox. In this case when the window for changing the path is shown , hit
Ctrl+l, enter the location (e.g. /mnt/data/Dropbox) and click on the Choose or Open button.
Context menu entries in file manager do not work
Several file managers such as Thunar, GNOME Files or its fork Nemo come with extensions that provide context menu entries for files and folders inside your Dropbox. Most of them will result in a browser action such as opening the file or folder in dropbox.com or sharing the link. If you experience these entries not working, then it is likely you have not set the
$BROWSER variable which Dropbox requires. See Environment variables for details.
It may happen that Dropbox cannot connect successfully because it was loaded before an internet connection was established. This can happen on wireless connections, or fast loading machines on wired networks. The best solution to this problem, for wired and wireless connections, is #Dropbox on laptops which will ensure that Dropbox is started only after the connection is established.
An alternative solution, for those not using netctl or NetworkManager, is to delay the startup of Dropbox:
cp ~/.config/autostart/dropbox.desktop ~/.config/autostart/dropbox-delayed.desktop
- Prevent Dropbox from doing a standard autostart by unchecking Dropbox - Preferences - General - Start Dropbox on system startup. This removes
Exec=bash -c 'sleep timeout && dropbox'. Tweak the timeout parameter, the value of
3is a good start.
Dropbox does not start - 'This is usually because of a permission error'
Make sure that you own Dropbox's directories before running the application. This includes
~/.dropbox- Dropbox's configuration directory
~/Dropbox- Dropbox's download directory (default)
You can ensure this by changing their owner with
This error could also be caused by
/var being full.
Re-linking your account
Dropbox's FAQ suggests that this error may be caused by misconfiguration and is fixed by (re)moving the current configuration folder
and restarting Dropbox.
Errors caused by running out of space
A common error that might happen is that there is no more available space on your
/var partitions. If this happens, Dropbox will crash on startup with the following error in its log:
A detailed story of such an occurrence can be found in the forums. Make sure there is enough space available before launching Dropbox.
Another case is when the root partition is full:
Check to see the available space on partitions with
Filesystem monitoring problem
If you have a lot of files to sync in your Dropbox folder, you might get the following error:
This can be fixed easily by adding
/etc/sysctl.d/99-sysctl.conf and then reload the kernel parameters
The easiest way to set Dropbox's proxy settings is by defining them manually in the Proxies tab of the Preferences window. Alternatively, you can also set it to 'Auto-detect' and then export your proxy server to the http_proxy env variable prior to starting Dropbox (HTTP_PROXY is also usable)
your.proxy.here:portas some other applications do.
Missing tray icon in GNOME
GNOME 3.26 removed support for tray icons in bug 785956 which will prevent the Dropbox icon from showing. To restore tray icons an appropriate extension such as App Indicator needs to be installed.
Dropbox Linux Arm
Missing tray icon in Cinnamon
Dropbox Linux Mint
Since Cinnamon is using XApp.StatusIcon (replacing the deprecated Gtk.StatusIcon in GNOME, see above) to pass information through dbus in multiple desktop environments, make sure you have the XApp Status Applet (xapp-status) installed and added to the panel, otherwise the Dropbox status icon might not display at all.
Unable to open the Sign In dialog
If attempting to open the system tray Sign In option fails, especially in i3-wm, it may be because the qt5 dependency is missing. Install qt5-base.