[xubuntu-users] DropBox and its Icon
Rob Ward
rl.ward at bigpond.com
Fri Apr 15 03:11:21 UTC 2016
I have got my Dropbox icon back and fully functional, automatically on a
startup. I began by removing the "Indicator Plugin" seeing Dropbox was
not working in it and leaving only the "Notification Area" seeing I
could get use command line actions to get it working in that area
manually. I did a total removal of Dropbox and re-installed it. this
still did not give auto startup. However when manually starting dropbox
I was also getting a thunar error with fonts and followed this www
site's advice http://crunchbang.org/forums/viewtopic.php?pid=321008, in
particular "ew"'s advice to comment out last two lines in
/etc/fonts/conf.d/50-user.conf
Dropbox now appears to be working as expected. I am not clear at all
how this has all worked, but it would appear to my limited understanding
that Dropbox was requiring some sort of font access while interacting
with thunar and was crashing before it could properly initialise (hence
red-slashed-circle icon). If anyone can offer an explanation, or
improve this "fix" I would appreciate it.
Cheers, Rob
On 14/04/16 11:51, Rob Ward wrote:
> Hi Folks, thanks, so far..
>
> @David I checked the Notification service and found it was greyed
> out, so I assume it was was already running? I also looked it up in
> "Sessions and Startup" in Settings and the Notification was ticked so
> I presume it is initialised. However I can it hiding down the far
> right hand end of Panel about 1 pixel wide. I put some stuff in it
> successfully eg CPU speed. But when I restarted the computer the
> red-circle-slash-icon appeared only in the Indicator part of the Panel.
>
> However it would seem I should only need one and not both, so have I
> got my Distro's mixed and installed something that was not 100%
> designed to work on Xubuntu??
>
> @Robert
>
> I changed my ~/.dropbox-dist/dropboxd script to the below (I have a
> different version it would seem so I only added the second line).
>
> #!/bin/sh
> export DBUS_SESSION_BUS_ADDRESS=""
> PAR=$(dirname "$(readlink -f "$0")")
> exec "$PAR/dropbox-lnx.x86-3.16.1/dropboxd" "$@"
>
> On a restart the line stayed there, but I can see you suggest erasing
> the session info? Can I just erase the folder contents at
> /home/rob/.cache/sessions/ ?? and then do a restart??
>
> I don't understand what you are saying after "Update:" below but I
> feel I know why you are suggesting it. If I have got the Dropbox
> thing in a knot by my previous experiments, they may not untangle
> unless the history is cleared, and force a total clean Dropbox start?
>
> On one reboot I was asked for the "sudo" password to enable access to
> the Dropbox folder. I thought I had made a break through, but the
> same problem as originally outlined has continued.
>
> Rob
>
> On 13/04/16 21:33, Robert Streeter wrote:
>>
>> I modified the ~/.dropbox-dist/dropboxd script as follows and
>> rebooted and got the icon back. Since this file gets overwritten by
>> updates I think I won't have to undo anything if they fix the problem
>> on the next update.
>>
>> #!/bin/sh
>> export DBUS_SESSION_BUS_ADDRESS=""
>> PAR=$(dirname "$(readlink -f "$0")")
>> exec "$PAR/dropbox-lnx.x86-3.14.7/dropboxd" "$@"
>>
>> Update: When I tried this on my laptop it didn't work at first. I
>> realized I was having the same problem I had with 'Copy' where the
>> XFCE4 session saving was starting dropbox before the official startup
>> file was executed. I modified my ~/.profile file to erase any *.state
>> and *session* files in ~./cache/sessions. This is the solution that
>> worked for me.
>>
>> On Wed, Apr 13, 2016 at 5:06 AM, Rob Ward <rl.ward at bigpond.com
>> <mailto:rl.ward at bigpond.com>> wrote:
>>
>> Hi Folks,
>>
>> After having scouted around on the www for some hints as to how I
>> can get my Dropbox to run properly I have been unable to get it
>> to return to its original installed operation.
>> I am running (X)Ubuntu 14.04.4 LTS, have found the Dropbox Icon
>> has disappeared and I can no longer use it to inspect the Dropbox
>> folder with the Dropbox options available eg right click and copy
>> a Dropbox share URL.
>>
>> At the moment this is the icon that comes and goes as I stop and
>> start Dropbox from the command line (the red circle with a slash
>> through it). I am running the Indicator Plugin and it has a
>> couple of functions showing OK (Network, System, Audio all work
>> OK), however there is no Dropbox listed in the "Indicator apps".
>> Clicking on the red circle icon only makes a little single line
>> shadow under it and nothing else.
>>
>> I have completely un-installed Dropbox and then reinstalled, to
>> no avail, and also the same with remove/reinstall Indicator. I
>> have disconnected this machine from Dropbox via their website on
>> another machine, and then re-linked it again and no improvement.
>>
>> I have tried various command line statements eg /dropbox stop/
>> and then /dropbox start/ as well as /sudo dropbox stop &&
>> DBUS_SESSION_BUS_ADDRESS="" dropbox start/ which did a restart
>> and removed the red circle but did not replace it with the proper
>> Drop box icon. When I ran the Dropbox application from the
>> Applications Menu the red circle icon returned.
>>
>> As I am not a high level 'Nix user I have quickly hit a brick
>> wall. If anyone could help me debug my set up, or offer
>> suggestions as to what I could try, I would be very grateful.
>>
>> Rob
>>
>> --
>>
>> *Rob Ward*
>>
>> Command line History:
>>
>> /rob at DesktopUbuntu:~$ sudo dropbox stop &&
>> DBUS_SESSION_BUS_ADDRESS="" dropbox start//
>> //sudo: unable to resolve host DesktopUbuntu.WORKGROUP//
>> //[sudo] password for rob: //
>> //Dropbox isn't responding!//
>> //Dropbox isn't responding!//
>> //Dropbox is already running!//
>> //rob at DesktopUbuntu:~$ sudo dropbox stop &&
>> DBUS_SESSION_BUS_ADDRESS="" dropbox start//
>> //sudo: unable to resolve host DesktopUbuntu.WORKGROUP//
>> //Dropbox daemon stopped.//
>> //Starting Dropbox...Dropbox isn't running!//
>> //Done!//
>> //rob at DesktopUbuntu:~$ dropbox startDropbox is already running!//
>> //rob at DesktopUbuntu:~$ //
>> /
>>
>>
>>
>> --
>> xubuntu-users mailing list
>> xubuntu-users at lists.ubuntu.com
>> <mailto:xubuntu-users at lists.ubuntu.com>
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>>
>>
>> I've had success running the commands separately -
>>
>> ~$ dropbox stop
>>
>> (wait for dropbox to stop, icon should disappear altogether)
>>
>> ~$ DBUS_SESSION_BUS_ADDRESS="" dropbox start
>>
>> Dave
>>
>>
>> --
>> xubuntu-users mailing list
>> xubuntu-users at lists.ubuntu.com <mailto:xubuntu-users at lists.ubuntu.com>
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>>
>>
>>
>
>
>
--
*Rob Ward*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/xubuntu-users/attachments/20160415/f8fc0e13/attachment.html>
More information about the xubuntu-users
mailing list