LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems starting Dropbox automatically (https://www.linuxquestions.org/questions/linux-software-2/problems-starting-dropbox-automatically-4175684785/)

Leonard_Linux 11-06-2020 01:53 AM

Problems starting Dropbox automatically
 
Hello,

I put a dropbox.desktop file in my ~/.config/autostart folder. The Exec-command is
Code:

Exec=sh -c "/home/leonard/.dropbox-dist/dropboxd"
This actually works when entered in a terminal but when I double-click the .desktop file in Thunar, it says it couldn't find the file.

My operating system is Slackware 14.2 and I compiled Dropbox from source. Here's my full dropbox.desktop file:
Code:

[Desktop Entry]
Name=Dropbox
GenericName=File Synchronizer
Comment=Sync your files across computers and to the web
Exec="sh -c /home/leonard/.dropbox-dist/dropboxd"
Terminal=false
Type=Application
Categories=Network;FileTransfer;
Keywords=file;synchronization;sharing;collaboration;cloud;storage;backup;
StartupNotify=false

The permissions are
Code:

ls -l
-rwxr-xr-x 1 leonard users      324 Nov  5 20:11 dropbox.desktop

Could you guys help me with this?

sgosnell 11-06-2020 09:16 AM

You have the quotation marks in different places in the two examples.
Quote:

Exec=sh -c "/home/leonard/.dropbox-dist/dropboxd"
Exec="sh -c /home/leonard/.dropbox-dist/dropboxd"

Leonard_Linux 11-06-2020 11:47 AM

Oh, damn. The last one is the original :-/ Thank you, I somehow oversaw that :^) I just removed the outer quotation marks and now it works perfectly fine!

sgosnell 11-06-2020 05:17 PM

Little things like that can be easily overlooked. Glad it works. Can you please mark the thread as solved?

Leonard_Linux 11-07-2020 11:35 AM

Quote:

Originally Posted by sgosnell (Post 6182638)
Little things like that can be easily overlooked. Glad it works. Can you please mark the thread as solved?

Hmm, I alread marked it as solved. (?)

sgosnell 11-07-2020 02:25 PM

Thanks. I don't remember seeing the [Solved] tag yesterday afternoon, but perhaps it hadn't taken effect when I posted, or perhaps I just overlooked it.


All times are GMT -5. The time now is 10:59 PM.