[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
howtos:network_services:dropbox [2013/06/12 09:32 (UTC)] – created cmysterhowtos:network_services:dropbox [2015/06/24 10:21 (UTC)] (current) – [Sources] Make "Orginally wrtten.." a list item didierspaier
Line 10: Line 10:
 ===SlackBuild=== ===SlackBuild===
 This option is easy and more preferred as it creates a package that can be later managed by the Slackware package tools and can be installed system wide. This option is easy and more preferred as it creates a package that can be later managed by the Slackware package tools and can be installed system wide.
-The newer versions of the Dropbox client also self upgrades, so there is no need to get the most recent client.+The newer versions of the Dropbox client also self upgrades within the minor versions (2.X.Y will update patch versions Y but not update to a newer minor version X), so there is no need to get the most recent client.
  
 The SlackBuild link is at: [[http://slackbuilds.org/result/?search=dropbox]] The SlackBuild link is at: [[http://slackbuilds.org/result/?search=dropbox]]
  
 ===Manual Installation=== ===Manual Installation===
-To install manually, you can either convert a pre-compiled DEB or RPM or compile from source a client called nautilus-dropbox. This is a wrapper for a few python scripts and services which will in turn download a working client for you. This client is installed locally per user.+To install manually, you can either convert a pre-compiled DEB or RPM or compile from source a client called nautilus-dropbox. This is a wrapper for a few scripts and a framework which will in turn download a working client for you. This client is installed locally per user.
  
 The download page is here: [[https://www.dropbox.com/install?os=lnx]] The download page is here: [[https://www.dropbox.com/install?os=lnx]]
Line 21: Line 21:
 ===dropbox.py=== ===dropbox.py===
 Another option to control the Dropbox client via CLI is using the dropbox.py script form this link: [[https://www.dropbox.com/download?dl=packages/dropbox.py]]. After downloading you can either "run" it or even "install" it like so: Another option to control the Dropbox client via CLI is using the dropbox.py script form this link: [[https://www.dropbox.com/download?dl=packages/dropbox.py]]. After downloading you can either "run" it or even "install" it like so:
-<code># install -D -m 755 path_to_dropbox.py /usr/bin/dropbox</code>+<code>~# install -D -m 755 path_to_dropbox.py /usr/bin/dropbox</code>
 To see the script's options, please type: To see the script's options, please type:
-<code># dropbox --help</code>+<code>~./dropbox.py --help</code>
 Starting the service for the first time is done like so: Starting the service for the first time is done like so:
-<code># dropbox start -i</code>+<code>~./dropbox.py start -i</code>
 This will download a local client for the current user. This will download a local client for the current user.
  
 ====Linking==== ====Linking====
-In order to link a computer to the online service, the client will need to be registered with the user'Dropbox account+In order to link a computer to the online service, the client will need to be registered with the online service using the user's account.
-When starting the service for the first time, the client will try to start in X, and if it succeeds, the user will be prompt with a GUI dialog that will ask for a username and password.+
  
 When the client links successfully, it will create a Dropbox folder in the user's home directory and will start downloading the current online view. When the client links successfully, it will create a Dropbox folder in the user's home directory and will start downloading the current online view.
  
-On X desktop environments, the client will also create an auto-start link and will supply a system-tray item that can show the current status (online/offline/synchronizing etc').+===GUI=== 
 +When starting the service for the first time, the client will try to start in X, and if it succeeds, the user will be prompt with a GUI dialog that will ask for a username and password. 
 + 
 +On X desktop environments, the client will also create an auto-start link and will supply a system-tray icon that can indicate the current status (online/offline/synchronizing etc').
 If it does not, simply link the dropbox.desktop file from /usr/share/applications to the appropriate place for the desktop environment, or create a link to run the service when the environment loads. If it does not, simply link the dropbox.desktop file from /usr/share/applications to the appropriate place for the desktop environment, or create a link to run the service when the environment loads.
  
 +===CLI===
 If the system has no X, it is still possible to link the client. Just run the service and wait for an output: If the system has no X, it is still possible to link the client. Just run the service and wait for an output:
-<code># /home/user/.dropbox-dist/dropboxd</code> +<code>~/.dropbox-dist/# ./dropboxd</code> 
-The service will start a login loop and on each link failure (every few seconds) will ask to open a URL. Copy that URL and __while__ the service is still trying to login, and open the link with any browser (the browser does not even have to be on the same PC). Example: +The service will start a login loop and on each linking failure (every few seconds) will ask to open a URL. Copy that URL and __while__ the service is still trying to login, open the link with any browser (the browser does not even have to be on the same PC). Example: 
-<code># lynx https://www.dropbox.com/cli_link?host_id=123XXXXXXXXXXXXXXXXXXXXX321</code>+<code>~# lynx https://www.dropbox.com/cli_link?host_id=123XXXXXXXXXXXXXXXXXXXXX321</code>
 After registering on the page, the running service will become linked and will go back to the background. After registering on the page, the running service will become linked and will go back to the background.
    
- 
- 
  
 ====== Sources ====== ====== Sources ======
Line 50: Line 51:
 <!-- * Original source: [[http://some.website.org/some/page.html]] --> <!-- * Original source: [[http://some.website.org/some/page.html]] -->
 <!-- Authors are allowed to give credit to themselves! --> <!-- Authors are allowed to give credit to themselves! -->
- * Originally written by [[wiki:user:cmyster | Amit Ugol]] +  * Originally written by [[wiki:user:cmyster | Amit Ugol]] 
 <!-- * Contributions by [[wiki:user:yyy | User Y]] --> <!-- * Contributions by [[wiki:user:yyy | User Y]] -->
  
 howtos:network_services:dropbox ()