We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

jonas11's avatar
jonas11
Helpful | Level 6
3 years ago

autostart doesn't work on kubuntu 22.04

I'm using dropbox on kubuntu 22.04, and recently autostart stopped working. I've been using it without much trouble for years before, on prior versions of kubuntu. I think the autostart function also worked initially after the latest upgrade, but now it doesn't anymore.

 

I've tried removing the `.dropbox` and `.dropbox-dist` directories, and when logging in after doing that the program seems to start and gives me a dialogue box informing me that it has to download the proprietary daemon. After confirming that it lets me log in and the program works as intended, but when I log out and in again, the dropbox doesn't start anymore.

 

I came across [this](https://www.dropboxforum.com/t5/Create-upload-and-share/Autostart-not-working-correctly-Kubuntu-Ubuntu-18-04-5-LTS/td-p/535641) thread which recommends trying an "advanced reinstall", but the linked website seems to malfunction both on chrome and on firefox, and I can't expand the "Linux" section (and neither whe "Windows" or "Mac" sections).

 

What can I do to get dropbox to autostart again? Without this functionality it's pretty much useless for me, and I have already gotten in a bad situation once where I couldn't access interview documents remotely that I assumed had synced.

 

Edit: why is "autostart" not a valid label?

  • jonas11's avatar
    jonas11
    3 years ago

    Thanks again for your reply! I now ended up calling `dropboxd` directly, via this desktop file:

     

    ❯ cat .config/autostart/dropboxd.desktop  
    [Desktop Entry]
    Exec=/home/jonas/.dropbox-dist/dropboxd
    Icon=
    Name=dropboxd
    Path=
    Terminal=False
    Type=Application

    That seems to work! I hope nothing bad can happen when I call dropboxd direclty, and not via /usr/bin/dropbox!

     

  • Здравко's avatar
    Здравко
    Legendary | Level 20

    jonas11 wrote:

    ...

    I came across [this](https://www.dropboxforum.com/t5/Create-upload-and-share/Autostart-not-working-correctly-Kubuntu-Ubuntu-18-04-5-LTS/td-p/535641) thread which recommends trying an "advanced reinstall", but the linked website seems to malfunction both on chrome and on firefox, and I can't expand the "Linux" section (and neither whe "Windows" or "Mac" sections).

    ...


    Hi jonas11,

    Hmm... Yes, seems there is some issue. As a temporary workaround (till a fix) you can expand everyone section as click on the right arrow (pointing down) and after that push space key. 😉

    About autostart: Do you have any issues running Dropbox by hands? 🧐 Or when you run it using either command or through the menu everything goes well. What happens if you run following command in a terminal window:

    cp /usr/share/applications/dropbox.desktop ~/.config/autostart/dropboxauto.desktop

    Does now (after restart) the application appear working? If not yet, can you post result of following command (executed in a terminal window again):

    dropbox status

     

    What do you mean with:


    jonas11 wrote:

    ...

    Edit: why is "autostart" not a valid label?


    What kind of "label" are you talking about? 🤔 Can you post a screenshot?

    • jonas11's avatar
      jonas11
      Helpful | Level 6

      Hi Здравко, thanks for your quick reply!

       

      * With your trick with the space key I could read the advanced reinstall instructions and I tried them, but it didn't help.

       

      * The command `cp /usr/share/applications/dropbox.desktop ~/.config/autostart/dropboxauto.desktop` didn't help either.

       

      * the command `dropbox status` in the terminal after logging in gives "Dropbox isn't running!"

       

      * I can start the program manually e.g. through the menu, that works. Only the autostart doesn't work. After starting through the menu and, the command `dropbox status` in the terminal gives:

      /usr/bin/dropbox:614: DeprecationWarning: isSet() is deprecated, use is_set() instead
      >  if self.stop_event.isSet(): break
      > Up to date

      * Regarding your last question, if I ask a question on the forum I have to choose a "label" from a list in order to post it, see screenshot. But it's no big deal, I think I chose something at random.

        

    • jonas11's avatar
      jonas11
      Helpful | Level 6

      I thought I had replied to this, but the reply seems to have disappeared. So here we go again:

       

      * I was able to do the "advanced reinstall using your trick with the space bar to read the help page. But it din't help.

       

      * Copying the desktop file didn't help either.

       

      * `dropbox status` gives "Dropbox isn't running!"

       

      * I can start dropbox eg from the menu, that works. After that, `dropbox status` gives

      > /usr/bin/dropbox:614: DeprecationWarning: isSet() is deprecated, use is_set() instead
      > if self.stop_event.isSet(): break
      > Up to date

       

      * the "label" i'm talking about is when you compose a new question, you have to give it a "label" for you to be able to post. For this question I eventually chose "Setting up the apps" after "austostart" wasn't allowed. I'm not attaching a screenshot since my answer disappeared when I posted it with a screenshot yesterday.

      • Здравко's avatar
        Здравко
        Legendary | Level 20

        jonas11 wrote:

        ...

        * Copying the desktop file didn't help either.

        ...


        Are you sure have used the same command above and not just drag and drop (or similar)? 🤔

About Apps and Installations

Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!