KevinTsui1234 / tint2

Automatically exported from code.google.com/p/tint2
GNU General Public License v2.0
1 stars 0 forks source link

No systray icons when another systray running in gnome-shell #379

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Launch tint2
2.Launch Application with systray icon (checkgmail, spideroak, dropbox)
3.

What is the expected output? What do you see instead?
Expect - Icon in tint2 systray
Get Icon - in gnome-shell systray

What version of the product are you using? On what operating system?
Version 0.11-4 on Fedora16 running gnome-shell 3.2

Please provide any additional information below.
Whilst tint2 runs perfectly well with Fedora16 and gnome-shell it does not 
display any systray icons, they will only appear in the gnome-shell systray. 
Perhaps tint2 isn't meant to be run on gnome-shell, but I can't find any 
information about that or any forum to ask the question on, so reporting it 
here seems to be my only way to communicate the problem. Of course it would 
probably help if I could disable the gnome-shell systray, but I don't know how 
to do that. Can anybody here tell me how it is done? Tint2rc has been edited to 
include: 
# Panel
panel_items = TSC 

The T and the C work perfectly but the S doesn't.

Original issue reported on code.google.com by graham...@gmail.com on 21 Dec 2011 at 3:21

GoogleCodeExporter commented 8 years ago
You can't have 2 systray in the system.
If you run tint2 in the terminal, you will receive the message "another systray 
is running". Witch mean tint2 can't load it's own systray.

So first disable gnome-shell systray and then restart tint2.

Original comment by thilo...@gmail.com on 21 Dec 2011 at 4:35

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
"So first disable gnome-shell systray"

How? Please tell me how to do this? 

I know the problem, I told you what it was in the opening post, but I don't 
know the solution, that is what I need to know. 

Now I am not going to get an answer from the people at gnome.org because they 
don't believe in systrays and status icons any more, so as far as they are 
concerned everything that puts an icon is the systray is 'deprecated' - very 
helpful!

But I was hoping that I could get an answer here because the continued success 
of tint2 is going to depend on its ability to overcome the ignorance and 
arrogance of the gnome developers.

Original comment by graham...@gmail.com on 21 Dec 2011 at 5:03

GoogleCodeExporter commented 8 years ago
Almost as soon as I posted the comment above I had another look at the terminal 
output and I noticed that it told me the pid of the gnome systray. On killing 
this the icons instantly appeared in tint2, which is wonderful - I could kiss 
the ground you walk on!

Sadly pid's are not consistent over a reboot so how can I kill this process 
every time gnome-shell starts up without doing it manually?

Original comment by graham...@gmail.com on 21 Dec 2011 at 5:11

GoogleCodeExporter commented 8 years ago
Another discovery. The pid that tint2 told me to kill was not a discrete pid 
for gnome-shell systray, it was the pid gnome-shell itself. Therefore in order 
to achieve what I want to achieve (manually) on gnome-shell all I have to do is 
wait for everything to start up and them restart gnome-shell (Alt/F2 r). Whilst 
gnome-shell is restarting tint2 claims the icons and they remain there (with 
the exception of checkgmail but that doesn't bother me too much). As yet I 
haven't found a way to automate this. I did consider introducing a delay into 
the start up of gnome-shell, but I don't know if tint2 will start up when it 
doesn't have a desktop to load into - I guess it might not.

Original comment by graham...@gmail.com on 21 Dec 2011 at 6:45

GoogleCodeExporter commented 8 years ago
Now you need to found how to disable Gnome systray.

Did you try the following advice (from our FAQ)
> In gnome, remove the systray/notification with a right clic on the separator 
before your systray/notification -> remove 

I'm not sure this advice is uptodate with current gnome shell.
Tell me if it dooesn't work.

Original comment by thilo...@gmail.com on 21 Dec 2011 at 6:46

GoogleCodeExporter commented 8 years ago
Thanks for the reply but I don't think this is possible in gnome-shell as it is 
impossible to find any separator.

Original comment by graham...@gmail.com on 21 Dec 2011 at 6:54

GoogleCodeExporter commented 8 years ago
Accepted -> New since this is not something to fix in tint2

Original comment by mrovi9...@gmail.com on 22 Jan 2015 at 1:14

GoogleCodeExporter commented 8 years ago

Original comment by mrovi9...@gmail.com on 1 Feb 2015 at 6:03