{"id":1686,"date":"2018-07-16T12:23:10","date_gmt":"2018-07-16T11:23:10","guid":{"rendered":"http:\/\/anterotesis.com\/wordpress\/?p=1686"},"modified":"2018-09-17T14:47:55","modified_gmt":"2018-09-17T13:47:55","slug":"dropbox-on-lubuntu-18-04","status":"publish","type":"post","link":"https:\/\/anterotesis.com\/wordpress\/2018\/07\/dropbox-on-lubuntu-18-04\/","title":{"rendered":"Dropbox on Lubuntu 18.04"},"content":{"rendered":"<p>My prefered Linux distribution these days is the lightweight Ubuntu variant <a href=\"https:\/\/lubuntu.me\">Lubuntu<\/a>. As I mainly use my linux laptop for writing and running fairly intensive text-processing scripts, I need something that doesn&#8217;t have extra bells and whistles and their corresponding overheads. It&#8217;s generally a very smooth, intuitive experience and does what I want, but there are a few rough edges requiring attention. One of these is installing the popular file back up and sharing app <a href=\"https:\/\/www.dropbox.com\/\">Dropbox<\/a>, which isn&#8217;t quite as easy as it should be. For starters, there are a number of dropbox apps in Ubuntu&#8217;s repositories and it is not clear which should be used. Another is that after installing, the toolbar icon is broken. So here are clear, step-by-step instructions for getting it working.<\/p>\n<p>1: Install the package &#8216;nautilus-dropbox&#8217; via your prefered package manager (Lubuntu comes with Synaptic and Software Updater, both under &#8216;System Tools&#8217; in the menu), or through the command line via:<\/p>\n<blockquote>\n<pre>sudo apt-get install nautilus-dropbox<\/pre>\n<\/blockquote>\n<p>This will also install various dependencies, mainly Python 2.7 packages. Note that it is the nautilus package, even though Lubuntu uses a different file manager, PCManFm. And note that it is not the actual Dropbox app but a helper program.<\/p>\n<p>2: Once installed, go to &#8216;Internet&#8217; on the Lubuntu application menu in the bottom left hand corner of the screen. Then click on the Dropbox icon in the submenu. This will bring up a &#8216;Download Dropbox&#8217; dialogue; follow the instructions to download and install the proprietary app, and then sign in to your account. Hereon, whenever there&#8217;s an update, Dropbox should upgrade automatically.<\/p>\n<p>3: So far so good, but there&#8217;s a problem with the icon. In the system tray on the bottom right hand side there&#8217;s a white squre as a placeholder, and no menu appears when you click it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1692\" src=\"http:\/\/anterotesis.com\/wordpress\/wp-content\/uploads\/2018\/07\/dropbox-1.jpg\" alt=\"\" width=\"257\" height=\"43\" srcset=\"https:\/\/anterotesis.com\/wordpress\/wp-content\/uploads\/2018\/07\/dropbox-1.jpg 257w, https:\/\/anterotesis.com\/wordpress\/wp-content\/uploads\/2018\/07\/dropbox-1-150x25.jpg 150w\" sizes=\"auto, (max-width: 257px) 100vw, 257px\" \/><\/p>\n<p>4: To fix the icon,open the terminal and run:<\/p>\n<blockquote>\n<pre>sudo lxshortcut -i \/usr\/share\/applications\/dropbox.desktop<\/pre>\n<\/blockquote>\n<p>You&#8217;ll be asked for your password, then a window will open up. Click on the tab labelled &#8216;Desktop Entry&#8217; and replace the text in the box labelled &#8216;Command:&#8217; from &#8216;dropbox start -i&#8217; to &#8216;dbus-launch dropbox start&#8217;.<\/p>\n<p>5: Open a terminal and run:<\/p>\n<blockquote>\n<pre>dropbox stop<\/pre>\n<\/blockquote>\n<p>This stops Dropbox; although you could restart dropbox through the command line, using the command just entered into the dropbox.desktop file, just to check everything is working go to the applications menu &gt; Internet &gt; and click on Dropbox. It should start with icon and menu working. Similarly, after rebooting, Dropbox should start automatically with icon and all.<\/p>\n<p>Updated 17 September, to add sudo to the first instruction. Thanks to Jon Cat in the comments.<\/p>\n<p>This article is licensed <a href=\"https:\/\/creativecommons.org\/licenses\/by-sa\/3.0\/\">CC-BY-SA 3.0<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My prefered Linux distribution these days is the lightweight Ubuntu variant Lubuntu. As I mainly use my linux laptop for writing and running fairly intensive text-processing scripts, I need something that doesn&#8217;t have extra bells and whistles and their corresponding &hellip; <a href=\"https:\/\/anterotesis.com\/wordpress\/2018\/07\/dropbox-on-lubuntu-18-04\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[15],"tags":[160,17,159,102],"class_list":["post-1686","post","type-post","status-publish","format-standard","hentry","category-geekery","tag-dropbox","tag-linux","tag-lubuntu","tag-ubuntu"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/anterotesis.com\/wordpress\/wp-json\/wp\/v2\/posts\/1686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anterotesis.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anterotesis.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anterotesis.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anterotesis.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1686"}],"version-history":[{"count":8,"href":"https:\/\/anterotesis.com\/wordpress\/wp-json\/wp\/v2\/posts\/1686\/revisions"}],"predecessor-version":[{"id":1723,"href":"https:\/\/anterotesis.com\/wordpress\/wp-json\/wp\/v2\/posts\/1686\/revisions\/1723"}],"wp:attachment":[{"href":"https:\/\/anterotesis.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anterotesis.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anterotesis.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}