{"id":265,"date":"2017-12-26T16:37:19","date_gmt":"2017-12-26T14:37:19","guid":{"rendered":"https:\/\/blog.dj6dp.de\/?p=265"},"modified":"2017-12-26T16:37:19","modified_gmt":"2017-12-26T14:37:19","slug":"an-unorthodox-method-to-keep-dropbox-from-autostarting","status":"publish","type":"post","link":"https:\/\/blog.dj6dp.de\/?p=265","title":{"rendered":"An unorthodox method to keep Dropbox from autostarting"},"content":{"rendered":"<p>Whether you like them or not, cloud storage solutions are a useful thing. Despite having a self-hosted ownCloud, I also still use Dropbox for various reasons.<\/p>\n<p>Now on my desktop computer the Dropbox client is running all the time, so the default setting for an automatic startup is perfectly fine with me. On my notebook however I don&#8217;t want anything data-hungry to start automatically when I log in, because I don&#8217;t always have a good wireless connection &#8211; sometimes I need to tether using my phone, or I might just have a poor connection to some public network.<\/p>\n<p>No problem you&#8217;d think, just disable the automated startup in the client settings and you&#8217;re fine. In the past this worked for me too, but on my current installation (running Linux Mint Cinnamon 18.2 at the moment) it didn&#8217;t. No matter how I configured it, the client would always start at login. Even when I deleted the autostart file, which is located in ~\/.config\/autostart, it was simply rewritten every time I manually started the client.<\/p>\n<p>I figured that it might just look whether the autostart file exists, not check its contents, so instead of the command starting the Dropbox client I entered something that wouldn&#8217;t do anything meaningful at all (a blank file might work as well, but I didn&#8217;t try that). I used <em>echo<\/em>, but something like <em>pwd<\/em> or <em>ping -c 1 127.0.0.1<\/em> would be just as fine. However, the client still overwrote that file every time, so I decided to get brutal to set the access rights to 444, making it read only for everybody. That finally worked!<\/p>\n<p>I have no clue why the setting doesn&#8217;t work as it should and, to be honest, didn&#8217;t bother debugging it. My solution (or rather: workaround) works well enough for me.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-266\" src=\"https:\/\/blog.dj6dp.de\/wp-content\/uploads\/2017\/12\/dropbox_autostart.png\" alt=\"\" width=\"575\" height=\"394\" srcset=\"https:\/\/blog.dj6dp.de\/wp-content\/uploads\/2017\/12\/dropbox_autostart.png 575w, https:\/\/blog.dj6dp.de\/wp-content\/uploads\/2017\/12\/dropbox_autostart-300x206.png 300w, https:\/\/blog.dj6dp.de\/wp-content\/uploads\/2017\/12\/dropbox_autostart-438x300.png 438w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Whether you like them or not, cloud storage solutions are a useful thing. Despite having a self-hosted ownCloud, I also still use Dropbox for various reasons. Now on my desktop computer the Dropbox client is running all the time, so &hellip; <a href=\"https:\/\/blog.dj6dp.de\/?p=265\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,5],"tags":[],"class_list":["post-265","post","type-post","status-publish","format-standard","hentry","category-english-articles","category-sonstiges"],"_links":{"self":[{"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=\/wp\/v2\/posts\/265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=265"}],"version-history":[{"count":1,"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=\/wp\/v2\/posts\/265\/revisions"}],"predecessor-version":[{"id":267,"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=\/wp\/v2\/posts\/265\/revisions\/267"}],"wp:attachment":[{"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.dj6dp.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}