You are not logged in.

#1 2014-09-20 11:39:26

tnmrn
Member
Registered: 2014-08-09
Posts: 2

Dropbox icon refuses to go in the system tray, Tint2 + openbox

Hello,

Since a few months or so after a Dropbox upgrade, its system tray icon just sits there at the top left corner of my screen. It overlaps everything else and has a square grey background. It doesn't go in the normal system tray area anymore, even though other apps still use that as normal.

Does someone have an idea about how I can fix this? It annoys me a lot, mostly because it doesn't seem to make any sense.

Greetings

screenshot

Moderator edit [ewaller] Changed over sized image from img tags to url tags

Last edited by tnmrn (2014-09-27 07:18:33)

Offline

#2 2014-09-20 15:59:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,721

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

Welcome to Arch Linux.  With Dropbox in the upper left corner, it almost looks like you have an instance of stalonetray running.
It behaves okay here with i3wm and i3bar.
Verify you are not running that environment as root.
How are you starting dropboxd?  If you start it from the console, does it spew any messages that might provide a hint?

Last edited by ewaller (2014-09-20 15:59:32)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2014-09-27 07:17:39

tnmrn
Member
Registered: 2014-08-09
Posts: 2

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

Thank you smile I've been a very happy user for a while already.

Hm, i don't run stalonetray. Actually I use Tint2 for the tray. I'm running all the programs as my own user (dropboxd, openbox, tint2). There seem to be no relevant messages in the xorg log.

Offline

#4 2015-01-27 15:23:43

sonnenschein
Member
Registered: 2015-01-12
Posts: 20

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

I have the same issue with ropbox since a few months. Openbox + tint2 here, too.
Sometimes it all ok sometimes I have to kill and restart my X up to 20 times until it is correctly with the other icons.
No solution or log to present anywhere. sad

Its the same with the AUR and the antergos repo built and since more than the latest version.

A small workaround is to restart tint2.

Last edited by sonnenschein (2015-02-04 07:27:37)


Thinkpad X200 / Open Box

Offline

#5 2015-02-28 20:14:25

robertoaall
Member
Registered: 2014-09-26
Posts: 7

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

I know I'm not supposed to bump a month old thread, but did anyone find any actual solution to this problem?

I just installed openbox + tint2 after almost a year using gnome 3 and everything went just fine, except for that dropbox icon that appears on the top left corner of my screen when it's loaded from .xinit or ~/.conf/openbox/autostart.
It behaves normally when starter from terminal, though.

Offline

#6 2015-02-28 20:16:05

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

robertoaall wrote:

I know I'm not supposed to bump a month old thread, but did anyone find any actual solution to this problem?

I just installed openbox + tint2 after almost a year using gnome 3 and everything went just fine, except for that dropbox icon that appears on the top left corner of my screen when it's loaded from .xinit or ~/.conf/openbox/autostart.
It behaves normally when starter from terminal, though.

Post your .xinitrc and openbox autostart file.

You should probably have started a new thread and linked back to this one.


Jin, Jîyan, Azadî

Offline

#7 2015-02-28 20:20:03

robertoaall
Member
Registered: 2014-09-26
Posts: 7

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

Head_on_a_Stick wrote:
robertoaall wrote:

I know I'm not supposed to bump a month old thread, but did anyone find any actual solution to this problem?

I just installed openbox + tint2 after almost a year using gnome 3 and everything went just fine, except for that dropbox icon that appears on the top left corner of my screen when it's loaded from .xinit or ~/.conf/openbox/autostart.
It behaves normally when starter from terminal, though.

Post your .xinitrc and openbox autostart file.

You should probably have started a new thread and linked back to this one.

sorry, I figured that as the problem is exactly the same, it would be better to bump this one.

my .xinitrc is just set to open openbox-session

exec openbox-session

and my autostart file is like that

## GNOME PolicyKit and Keyring
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &

## Set root window colour
hsetroot -solid "#2E3436" &

(\
nitrogen --restore && \
xcompmgr -cfF -I-.016 -O-.03 -D2 -t-1 -l-1 -r4.2 -o.5 & \
tint2 \
) &

## Volume control for systray
(sleep 10s && pnmixer) &

synapse -s &

## Detect and configure touchpad. See 'man synclient' for more info.
(sleep 5s && syndaemon -t -k -i 2) &

xset r rate 250 25 &

## Turn on/off system beep
xset b off &

# Autostart the Dropbox deamon
(sleep 20s && dropbox) &
(sleep 20s && megasync) &

Last edited by robertoaall (2015-02-28 20:20:40)

Offline

#8 2015-02-28 20:28:48

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

I recognise a CrunchBang autostart file when I see one...
tongue

I was going to suggest some `sleep`s to give tint2 a chance to get settled but I see you've already done that.

I don't actually use Dropbox so I'm going to have to leave this to someone else, sorry.


Jin, Jîyan, Azadî

Offline

#9 2015-02-28 20:32:12

robertoaall
Member
Registered: 2014-09-26
Posts: 7

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

Head_on_a_Stick wrote:

I recognise a CrunchBang autostart file when I see one...
tongue

I was going to suggest some `sleep`s to give tint2 a chance to get settled but I see you've already done that.

I don't actually use Dropbox so I'm going to have to leave this to someone else, sorry.

I took a #! autostart cuz it was quite complete and just edited to my needs.
but thanks anyway, lets hope that someone else sees this and is able to help smile

Offline

#10 2015-02-28 20:58:05

robertoaall
Member
Registered: 2014-09-26
Posts: 7

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

came up with a workaround for now.
I changed the end of my autostart file to be

(sleep 10s && dropbox) &
(sleep 10s && megasync) &
(sleep 11s && killall -SIGUSR1 tint2)

the killall -SIGUSR1 tint2 restarts the panel and fixes the problem, but as I said, its just an workaround that does not actually fixes the bug

Offline

#11 2015-02-28 21:02:23

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

robertoaall wrote:

came up with a workaround for now.
I changed the end of my autostart file to be

(sleep 10s && dropbox) &
(sleep 10s && megasync) &
(sleep 11s && killall -SIGUSR1 tint2)

the killall -SIGUSR1 tint2 restarts the panel and fixes the problem, but as I said, its just an workaround that does not actually fixes the bug

If that works why not take tint2 out of the block it's in with nitrogen & xcompmgr and put it at the end of the autostart file instead?


Jin, Jîyan, Azadî

Offline

#12 2015-02-28 21:17:19

robertoaall
Member
Registered: 2014-09-26
Posts: 7

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

I actually did that first, but it did not solve the problem, which is odd.

Offline

#13 2015-03-01 00:09:18

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

Starting tint2 later likely doesn't help as the dropbox client has to wait for a tray application to take ownership of the system tray property - in other words, starting dropbox early, then tint2 after a delay, dropbox will just wait for tint2 to start before it does anything.

But if tint2 is started, then dropbox starts afterwards, dropbox will see that there is a tray running and it will start up.  Then tint2 can be restarted and it will reparent any tray clients.

This sounds very much like the dropbox client isn't properly following the systemtray specification in order to request to be embeded in the tray - at least not until it sees a 'new' program takes over the system-tray property.  What dropbox client is this?  Does it happen to be open-source?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#14 2015-03-01 01:59:00

robertoaall
Member
Registered: 2014-09-26
Posts: 7

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

Trilby wrote:

Starting tint2 later likely doesn't help as the dropbox client has to wait for a tray application to take ownership of the system tray property - in other words, starting dropbox early, then tint2 after a delay, dropbox will just wait for tint2 to start before it does anything.

But if tint2 is started, then dropbox starts afterwards, dropbox will see that there is a tray running and it will start up.  Then tint2 can be restarted and it will reparent any tray clients.

This sounds very much like the dropbox client isn't properly following the systemtray specification in order to request to be embeded in the tray - at least not until it sees a 'new' program takes over the system-tray property.  What dropbox client is this?  Does it happen to be open-source?

I installed this dropbox client from the AUR via yaourt
yaourt -Qe | grep drop yelds:

.-(~)----------------------------------------------------------(roberto@Kasama)-
`--> yaourt -Qe | grep drop
local/dropbox 3.2.6-2
local/nautilus-dropbox 2.10.0-1

which would be this one

Offline

#15 2015-05-28 22:10:03

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 430

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

Having the same issue here: Openbox with tint2. Dropbox isn't in autostart, I use it unfrequently. If, however, I start it by dmenu_run and in 9 of 10 times the icon sits in the top left corner.

Just killed it and started it from console et voila: it's in its proper place. Weird one!

//edit: It seems this is a tint2 problem which might be solved in the svn-version: https://code.google.com/p/tint2/issues/detail?id=476

Last edited by jakob (2015-05-28 22:12:01)

Offline

#16 2015-06-02 15:42:59

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 430

Re: Dropbox icon refuses to go in the system tray, Tint2 + openbox

Actually, this problem is solved in tint2-git. Yay!

Offline

Board footer

Powered by FluxBB