How to fix missing dropbox panel icon with a startup script?
8,052
Timing issue
I am pretty sure it is because of the timing. The command most likely runs before its target is "in the field".
Changing the command into:
/bin/bash -c "sleep 15 && dropbox stop && env DBUS_SESSION_BUS_ADDRESS="" dropbox start -i"
...will probably do the job.
Related videos on Youtube
Comments
-
Woeitg over 1 year
I use Xubuntu 16.10 and I want to run following command (this is the code for fixing dropbox icon) every time Linux session starts:
dropbox stop && env DBUS_SESSION_BUS_ADDRESS="" dropbox start -i
How can I do it?
I copied the code as a new command in session and start up -> Application autostart but it doesn't work.
-
Jacob Vlijm almost 8 yearsHi Woeitg, posted. Please mention if it works, will delete if not.
-
Woeitg almost 8 yearsnow it works. sorry I was very busy today. tnx
-
jarno over 7 yearsPossible duplicate of Xubuntu Dropbox Icon Fail
-
-
Woeitg almost 8 yearsUnfortunately it doesn't work. There is a question mark icon instead of dropbox icon without any pop up menu: i.imgur.com/UcU8y1y.png . If I run the command in terminal, then everything is fixed as expected
-
Jacob Vlijm almost 8 years@Woeitg please try to increase the time to 45, if it works (I am pretty sure it should) , try to find the edge.
-
dez93_2000 over 6 yearsJacob's code updated to new implementation: /bin/bash -c "sleep 15 && dropbox stop && dbus-launch dropbox start"
-
Arman Ortega over 6 yearsI also having an issue in my xubuntu 16.04 lts ..so I run the above command /bin/bash -c "sleep 15 && dropbox stop && env DBUS_SESSION_BUS_ADDRESS="" dropbox start -i" and it finally works. thanks!