limansky / tinymount

simple GUI tool for disks mounting
GNU General Public License v2.0
18 stars 3 forks source link

Tray icon is not created when starting from ~/.fluxbox/startup #2

Open vdudouyt opened 12 years ago

vdudouyt commented 12 years ago

Actually, sometimes it works fine.

Here is the stderr: "sni-qt/23769" WARN 15:27:11.881 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE No system tray available Creating UI Adding device to cache: "/org/freedesktop/UDisks/devices/sda1" No systemtrayicon available

As you see, I'm using the notraycheck branch, otherwise it should exit right after the line2. I also tried to grep, and it doesn't seems that the last error is produced directly by your code.

limansky commented 12 years ago

Is my understanding correct that the issue is reproducible only if tinymount is started from fluxbox startup?

Actually I unable to found which component is responsible for the message. As I see it's not inside Qt.

vdudouyt commented 12 years ago

Actually, I didn't try to do it from another place. It works fine when X11 boots for the first time. But it reproduces if I restart it with service gdm restart. That's very strange.

limansky commented 12 years ago

Could you try to reproduce it when you start it from console? May be it will lead us to some more clear scenario?

vdudouyt commented 12 years ago

That's easy. 1) Run X with the plain xterm (I do it by selecting 'Recovery console' in gdm) 2) Run tinymount - actually, it not exits, but the warning I explained is spawned 3) Now start fluxbox - tinymount will not appear in systemtray.