Made a workaround to change Dropbox path and have funcional dropbox-cli commands, inspiration and information about startup script etc from here:
https://wiki.archlinux.org/index.php/Dropbox#Multiple_Dropbox_Instances
Basicly the alias "dropbox" just temporarily changes your $HOME before running a dropbox-cli command to make it adopt that home aswell. The way I did it ofc depends on dropbox-cli which is linked to above. Btw, when you install notice the recent PKGBUILD update by bruce!
I think it's possible to start the daemon etc without cli in the same manner as long as your $HOME is set right. And also this can be extented upon to make working for multiple dropbox instances. But that's for you to figure out if you want.
Anyways the difference from normal dropbox-cli command execution compared to the new way will be:
old way: /usr/bin/dropbox start <enter>
new way: dropbox <enter> start <enter>
So just add this below to your .bashrc and set your own dropbox_path (if on other partition make sure it's mounted with the right permissions). The only thing that i've found does NOT work is the "autostart" option which also can be worked around in many ways (link above)
#********************************
# Redirect dropbox-cli commands
# to change Dropbox's home path
#********************************
dropbox_path="/mnt/data"
user_path="/home/`logname`"
dropbox_cli='/usr/bin/dropbox'
set_home_dropbox="HOME=$dropbox_path"
set_home_home="HOME=$user_path"
alias dropbox="read -p '[Dropbox@'"$dropbox_path"']> ' input;\
$set_home_dropbox; $dropbox_cli \$input; $set_home_home;"
Search Criteria
Package Details: dropbox 211.4.6008-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/dropbox.git (read-only, click to copy) |
---|---|
Package Base: | dropbox |
Description: | A free service that lets you bring your photos, docs, and videos anywhere and share them easily. |
Upstream URL: | https://www.dropbox.com |
Licenses: | custom |
Submitter: | mtorromeo |
Maintainer: | mtorromeo |
Last Packager: | mtorromeo |
Votes: | 2375 |
Popularity: | 2.30 |
First Submitted: | 2009-01-22 14:21 (UTC) |
Last Updated: | 2024-10-30 08:51 (UTC) |
Dependencies (14)
- dbus (dbus-gitAUR, dbus-selinuxAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- libsm
- libxcomposite
- libxdamage
- libxmu
- libxrender
- libxslt (libxslt-gitAUR)
- libxxf86vm
- gendesk (make)
- libappindicator-gtk3 (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 (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, xdg-utils-mimeoAUR, mimejs-gitAUR) (optional) – for "Launch Dropbox Website" and file manager integration
Required by (9)
Sources (8)
- dropbox.service
- dropbox@.service
- DropboxGlyph_Blue.svg
- https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-205.4.5765.tar.gz
- https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-205.4.5765.tar.gz.asc
- https://edge.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-211.4.6008.tar.gz
- https://edge.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-211.4.6008.tar.gz.asc
- terms.txt
Latest Comments
« First ‹ Previous 1 .. 74 75 76 77 78 79 80 81 82 83 84 .. 96 Next › Last »
<deleted-account> commented on 2012-10-06 11:30 (UTC)
dhaines commented on 2012-09-27 14:56 (UTC)
I just disowned the dropbox-daemon AUR package as I have moved to systemd, and it's really easy to set up dropbox as a daemon with it. If anyone's on initscripts and wants to adopt the package, now's your time. Also, if you do want to run dropbox as a daemon under systemd, just make a service file with the following contents:
[Unit]
Description=Dropbox
[Service]
Type=simple
ExecStart=/usr/bin/dropboxd
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
User=<desired username>
[Install]
WantedBy=multi-user.target
canuckkat commented on 2012-09-24 14:13 (UTC)
I can't change the Dropbox location either in 1.4.11
luolimao commented on 2012-09-21 03:30 (UTC)
@twa022 Couple of typos fixed: http://pastebin.com/e0xCL5dr
twa022 commented on 2012-09-21 03:17 (UTC)
possible to include something like this at /opt/dropbox/nautilus for different file managers?
http://pastebin.com/k0qSifVL
<deleted-account> commented on 2012-09-19 21:46 (UTC)
Like Nerga I also couldnt change the Dropbox location in 1.4.17, however I went on to build 1.4.12 and it still doesn't work!
mkdir /tmp/dropbox && cd /tmp/dropbox
wget --quiet -O - 'http://pkgbuild.com/git/aur-mirror.git/tree/dropbox?id=b19a54c808554c796f310747725ad2ff4291e44a' | grep -o "/git/aur-mirror.git/plain/[^']*" | sed -e 's/^/http:\/\/pkgbuild.com/' > files
wget -qi files
ls | sed -n 's/\([^?]*\)\(.*\)/mv "\1\2" "\1"/p' | sh
makepkg -s
pacman -U dropbox*.pkg.tar.xz
ottoshmidt commented on 2012-09-15 10:53 (UTC)
does anyone experience a segfault?
Narga commented on 2012-09-08 00:37 (UTC)
I don't know why but since Dropbox 1.4.17, it's can't change Dropbox location
mtorromeo commented on 2012-09-03 12:12 (UTC)
Sorry for the delay, I updated the package.
siliconmeadow commented on 2012-09-03 12:01 (UTC)
I couldn't find anywhere on the dropbox site where they published md5sums of their downloads so I did my own checksum. Is that what you normally do when maintaining this package?
Here is a git diff of PKGBUILD which worked for me using the md5sum I generated locally after downloading it manually. It works for me, but I've only tested on one machine and only on x86_64. I'm knew to trying to help with AUR packages, so I hope this helps.
diff --git a/PKGBUILD b/PKGBUILD
index f6b1f81..93c581d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Tom < tomgparchaur at gmail dot com >
pkgname=dropbox
-pkgver=1.4.12
+pkgver=1.4.17
pkgrel=1
pkgdesc="A free service that lets you bring your photos, docs, and videos anywhere and share them easily."
arch=("i686" "x86_64")
@@ -16,7 +16,7 @@ _source_arch="x86"
[ "$CARCH" = "x86_64" ] && _source_arch="x86_64"
md5sums=('3488299b1d91591d3a5ba7e2c02ec220' '9ec50da2ce59ed8c17606394b9c5e1c0' '20c97082211cf02af494043b93d5feb8' '5331288d5f5972dc2e9311d0f28dac76')
-[ "$CARCH" = "x86_64" ] && md5sums[0]='a54dd81749c02157f1691ef4ac570305'
+[ "$CARCH" = "x86_64" ] && md5sums[0]='7a15923bae36f27387b6865c75701c2a'
source=("https://dl-web.dropbox.com/u/17/${pkgname}-lnx.${_source_arch}-${pkgver}.tar.gz" "dropbox.png" "dropbox.desktop" "terms.txt")
Pinned Comments
yan12125 commented on 2019-01-05 16:39 (UTC) (edited on 2019-02-27 08:11 (UTC) by yan12125)
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 (UTC) (edited on 2020-01-24 15:13 (UTC) by yan12125)
If you can't run the dropbox@ service normally, try to create a read-only directory ~/.dropbox-dist and run again.
yan12125 commented on 2017-11-06 15:13 (UTC) (edited on 2019-03-18 03:50 (UTC) by yan12125)
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