Skip navigation
15732 Views 50 Replies Latest reply: Jan 7, 2009 9:08 PM by tuanta RSS
Calculating status... 22 posts since
Apr 26, 2006
Currently Being Moderated

Jun 27, 2007 3:17 PM

No Tray Icon in Linux

Hi All,

 

I''ve searched far and wide through this forum, but cannot seem to find a solution for this problem:

 

I''m currently using Spark 2.5.4/2.5.2 on linux, and am unable to the tray icon to appear.  I''ve tried on two different distributions, using both JDK1.6 and JDK1.5:

 

- Kubuntu 7.04 32bit

- Suse 10 32bit

 

The problem is that I start Spark using the standard startup/Spark script.  Spark opens up and I can login successfully, but no tray icon appears.  I''ve updated the JDIC components in ~/Spark/lib/linux, but it still refuses to show me a tray icon.  If, however, I close the window, the process stays running, but there is no icon in the system tray to double click on to open it up again.  The only way to bring it back it to kill the process and start the app again.

 

The only errors I receive on both linux distributions when I startup is:

ls: /opt/Spark/lib/windows: No such file or directory

 

I also have the following error in the ~Spark/log/error.log:

Exception on commit = java.io.IOException: Can''t find registry file

 

I''m absolutely stumped as to why this is happening since in the previous 1.x.x Spark versions, it worked like a charm.

 

Essentially all I''m doing is untarring the Spark download, and modifying the Spark startup script to point towards my local JDK:

e.g. ~/Spark/Spark:  INSTALL4J_JAVA_HOME_OVERRIDE=/opt/java

 

What am I missing? Thanks in advance.

  • Marc Seeger Bronze 48 posts since
    Feb 26, 2007
    Currently Being Moderated
    Jun 27, 2007 3:24 PM (in response to Gene Tang)
    Re: No Tray Icon in Linux

    same for me on osx... but I thought I was alone (had a thread about it)

  • Calculating status... 3 posts since
    Jun 29, 2007
    Currently Being Moderated
    Jun 29, 2007 5:40 AM (in response to Gene Tang)
    Re: No Tray Icon in Linux

    and me on FreeBSD/KDE

  • Walter Ebeling Silver 142 posts since
    Oct 25, 2006
    Currently Being Moderated
    Jul 7, 2007 12:47 AM (in response to Gene Tang)
    Re: No Tray Icon in Linux

    Hello,

     

    I can confirm this issue on Windows 2000. The Spark process is running an chat is possible. However, the icon in the taskbar is missing.

     

    Walter

  • Calculating status... 2 posts since
    Jul 11, 2007
    Currently Being Moderated
    Jul 11, 2007 12:22 AM (in response to Gene Tang)
    Re: No Tray Icon in Linux

    +1 here.

    Same problem with Spark 2.5.4/KDE-3.5.6 JDK1.6

  • Calculating status... 1 posts since
    Jul 11, 2007
    Currently Being Moderated
    Jul 11, 2007 4:22 AM (in response to Gene Tang)
    Re: No Tray Icon in Linux

    +1 Same problem, KDE 3.6 on Debian Testing. This error is critical, Spark is unusable. We''ve payed for Fastpath and we need Spark operating. Please correct the problem ASAP.

  • Calculating status... 1 posts since
    Jul 16, 2007
    Currently Being Moderated
    Jul 16, 2007 12:44 PM (in response to Gene Tang)
    Re: No Tray Icon in Linux

    Same here. Win32 XP.  Was working on 2_5_3

    • Calculating status... 2 posts since
      Aug 7, 2007
      Currently Being Moderated
      Aug 7, 2007 12:01 PM (in response to Trent Peters)
      Re: No Tray Icon in Linux

      For those with Win32 try changing the permissions. After upgrading limited users could not see the icon in the system tray. So I changed the permissions to allow everyone to have full control, now limited users can see icon in system tray. Changing the permissions may work in Linux too, but I haven''t tried yet.

      • Calculating status... 2 posts since
        Aug 7, 2007
        Currently Being Moderated
        Aug 7, 2007 12:21 PM (in response to bumz714)
        Re: No Tray Icon in Linux

        Which permissions should be changed?  My user role on this computer is Administrator with full control.  I changed permissions on the Spark folder to Full Control, and added Everyone with Full Control.  Still no icon in the systray.  Is there somewhere else that permissions should be checked?

  • Calculating status... 1 posts since
    Jul 18, 2007
    Currently Being Moderated
    Jul 18, 2007 7:25 AM (in response to Gene Tang)
    Re: No Tray Icon in Linux

    The same problem on Debian Etch 4.0/GNOME 2.14.3/Spark 2.5.4 and Fedora Core 7/GNOME 2.18.2/Spark 2.5.4

    Without tray icon it''s really unusable.

    • Jiver 1,018 posts since
      Jan 17, 2004
      Currently Being Moderated
      Jul 18, 2007 10:41 PM (in response to maxym)
      Re: No Tray Icon in Linux

      This is fixed in the upcoming Spark 2.5.5.

       

      Cheers,

      Derek

      • Calculating status... 13 posts since
        Jul 12, 2007
        Currently Being Moderated
        Jul 19, 2007 12:39 AM (in response to Derek DeMoro)
        Re: No Tray Icon in Linux

        http://www.igniterealtime.org/issues/browse/ SPARK-782 is still open.

        Can you point me to relevant SVN commit? - I''d like to merge it to 2.5.4. This bug is show-stopper for me and I do not want to wait for 2.5.5 (providing that there is no planned release date yet).

         

        Thanks.

        • eurojeff Calculating status... 1 posts since
          Aug 6, 2007
          Currently Being Moderated
          Aug 6, 2007 2:01 PM (in response to Hai Zaar)
          Re: No Tray Icon in Linux

          The problem is not fixed in Spark 2.5.5

           

          I am running openfire 3.2.2 on a openSuSE 10.2 server

          client: openSuSE 10.2/KDE 3.5.5 /Spark 2.5.5

          • Jiver 1,018 posts since
            Jan 17, 2004
            Currently Being Moderated
            Aug 6, 2007 2:13 PM (in response to eurojeff)
            Re: No Tray Icon in Linux

            On Linux, make sure you are running JRE 1.6+. You should have tray support with it.

             

            Cheers,

            Derek

            • Bronze 5 posts since
              Aug 6, 2007
              Currently Being Moderated
              Aug 6, 2007 4:04 PM (in response to Derek DeMoro)
              Re: No Tray Icon in Linux

              It still isn''t working for me with Spark 2.5.5 either.

              The tray icon just doesn''t show at all, although when I tick the Start In System Tray it doesn''t crash like it used to.

               

              Is it something to do with KDE? Because I''m running the latest Sabayon with the latest KDE etc. And I just installed a new version of the laster Java to use with it, but still, nothing. I even tried replacing the libtray.so with one I stole from somewhere else, but still nothing.

               

              Is there anyone else with this problem?

               

              Thanks,

              Sam.

              • Bronze 7 posts since
                Jan 3, 2007
                Currently Being Moderated
                Aug 7, 2007 4:37 AM (in response to Sam Melrose)
                Re: No Tray Icon in Linux

                I have the same problem here.

                 

                System information:  (Running Ubuntu 7.04 - x86)

                 

                uname -a

                Linux  2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

                 

                /usr/bin/java -version

                java version "1.6.0"

                Java(TM) SE Runtime Environment (build 1.6.0-b105)

                Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

                 

                Running under the default Gnome desktop.

                 

                Just tried 2.5.5 and the tray icon is broken just like in 2.5.4.  Dropped back to 2.53. and it''s working just fine again.  (Well, with the updated jdic anyway)

                • Bronze 5 posts since
                  Aug 6, 2007
                  Currently Being Moderated
                  Aug 7, 2007 6:40 AM (in response to jidol)
                  Re: No Tray Icon in Linux

                  Hey,

                  Is the error of "ls: cannot access /home/sam/Desktop/Spark/lib/windows: No such file or directory" any use?

                   

                  Is Spark trying to look for the windows libraries instead of the Linux ones? Or does it check for the windows ones first?

                   

                  Thanks,

                  Sam.

                  • Jiver 1,018 posts since
                    Jan 17, 2004
                    Currently Being Moderated
                    Aug 7, 2007 8:52 AM (in response to Sam Melrose)
                    Re: No Tray Icon in Linux

                    Hmmm. This is very strange. Can you check your plugins directory and make sure the jniwrapper.jar is there. That contains the code for the tray.

                     

                    Thanks,

                    Derek

                    • Bronze 5 posts since
                      Aug 6, 2007
                      Currently Being Moderated
                      Aug 7, 2007 9:38 AM (in response to Derek DeMoro)
                      Re: No Tray Icon in Linux

                      No, there is not jniwrapper.jar packaged with the Linux version. I tried copying it from the windows version, but this did not work....

                       

                       

                      Is there any solution or anywhere we can download this file from please?

                      • Bronze 5 posts since
                        Aug 6, 2007
                        Currently Being Moderated
                        Aug 7, 2007 11:10 AM (in response to Sam Melrose)
                        Re: No Tray Icon in Linux

                        Heyyyy, ok, I download a copy of jniwrapper.jar from the SVN.

                        Still no tray icon, you did mean to put it in the plugins directory, right?

                         

                        Anyways, hope you can see some more insight into this...

                         

                        Thanks,

                        Sam.

                         

                        Edit:

                        Directory listing of Spark directory if this helps...

                         

                        ls -R Desktop/Spark :

                            Desktop/Spark:

                                bin  documentation  lib  logs  plugins  resources  Spark  Spark~  starter  xtra

                         

                            Desktop/Spark/bin:

                         

                            Desktop/Spark/documentation:

                                builder.jar     images        README.html               style.css

                                changelog.html  LICENSE.html  sparkplug_dev_guide.html

                         

                            Desktop/Spark/documentation/images:

                                banner-spark.gif   chat-room.png     login-dialog.png

                                banner-spring.gif  contact-list.png

                         

                            Desktop/Spark/lib:

                                activation.jar          linux             startup.jar             xpp.jar

                                asterisk-im-client.jar  smack.jar         swingx.jar              xstream.jar

                                base.jar                smackx-debug.jar  syntheticaBlueMoon.jar

                                dom4j.jar               smackx.jar        synthetica.jar

                                i4jruntime.jar          spark.jar         systeminfo.jar

                         

                            Desktop/Spark/lib/linux:

                                jdic.jar    libmozembed-linux-gtk1.2.so  mozembed-linux-gtk1.2

                                jmf.jar     libmozembed-linux-gtk2.so

                                libjdic.so  libtray.so

                         

                            Desktop/Spark/logs:

                                error.log

                         

                            Desktop/Spark/plugins:

                                fastpath.jar   jingle.jar      sparkphone.jar

                                idlelinux.jar  jniwrapper.jar  spelling-plugin.jar

                         

                            Desktop/Spark/resources:

                                Info.plist  jniwrap.dll  jniwrap.lic  sounds  startup.sh  systeminfo.dll

                         

                            Desktop/Spark/resources/sounds:

                                bell.wav  chat_request.wav  incoming.wav  outgoing.wav  presence_changed.wav

                         

                            Desktop/Spark/xtra:

                                emoticons

                         

                            Desktop/Spark/xtra/emoticons:

                                Default.adiumemoticonset.zip  POPO.adiumemoticonset.zip

                                GTalk.AdiumEmoticonset.zip    sparkEmoticonSet.zip

                • Jiver 1,018 posts since
                  Jan 17, 2004
                  Currently Being Moderated
                  Aug 14, 2007 9:00 AM (in response to jidol)
                  Re: No Tray Icon in Linux

                   

                  Can you fire me off the updated JDIC file you are talking about?

                   

                   

                  Thanks,

                  Derek

                   

                   

                   

                   

                   

  • Calculating status... 2 posts since
    Aug 7, 2007
    Currently Being Moderated
    Aug 7, 2007 11:10 AM (in response to Gene Tang)
    Re: No Tray Icon in Linux

    No tray icon in WinXP either after updating to 2.5.5.

     

    I checked to see if jniwrapper.jar existed in WinXP (C:\Program Files\Spark\plugins\jniwrapper\lib\dist) - it doesn''t, but jniwrap.jar does.  Which is the correct file that should be installed?

  • Jiver 1,018 posts since
    Jan 17, 2004
    Currently Being Moderated
    Aug 10, 2007 4:02 PM (in response to Gene Tang)
    Re: No Tray Icon in Linux

    Hi Guys,

     

    So attached you will find the linuxplugin.jar. Download and place inside the plugins dir of your spark installation. Also, make sure you have JDK 1.6 running with it.

     

     

     

    Cheers,

    Derek

    Attachments:
    • Bronze 17 posts since
      Apr 22, 2007
      Currently Being Moderated
      Aug 14, 2007 12:58 PM (in response to Derek DeMoro)
      Re: No Tray Icon in Linux

       

      I can confirm, running 64 bit linux (Ubuntu Gutsy), with Java 1.60, that after putting the linuxplugin.jar file in the plugins directory, that the icon tray is now showing correctly.

       

       

       

       

       

      Small critique though... the icon is really ugly now....

       

       

      • Bronze 66 posts since
        Jan 6, 2006
        Currently Being Moderated
        Aug 17, 2007 4:03 PM (in response to Matthew Monteleone)
        Re: No Tray Icon in Linux

        I've recently upgraded from 2.5.4 (with no tray icon) to 2.5.5 with still no tray icon.

         

        I am using Java 1.6:

         

        $ ps auxw | grep spark

        myuser  19937  3.1  2.4 212216 51216 ?        Sl   10:37   0:04 /usr/lib/jvm/sun-jdk-1.6/bin/java -client ...

         

        And here is my plugins directory:

        $ ls -ahsl /home/myuser/LocalApps/Spark/plugins/

        total 4.1M

           0 drwxr-xr-x  2 myuser myuser  248 2007-08-17 10:32 .

        512 drwxr-xr-x 11 myuser myuser  576 2007-08-17 08:49 ..

        316K -rw-rr  1 myuser myuser 315K 2007-08-06 06:41 fastpath.jar

        8.0K -rw-rr  1 myuser myuser 8.0K 2007-08-06 06:41 idlelinux.jar

        1.2M -rw-rr  1 myuser myuser 1.2M 2007-08-06 06:41 jingle.jar

        12K -rw-rr  1 myuser myuser 8.5K 2007-08-17 10:32 linuxplugin.jar

        1.9M -rw-rr  1 myuser myuser 1.9M 2007-08-06 06:41 sparkphone.jar

        669K -rw-rr  1 myuser myuser 665K 2007-08-06 06:41 spelling-plugin.jar

         

        Other system information of possible use:

        $ uname -a

        Linux hostname 2.6.19-gentoo-r5 #5 SMP PREEMPT Fri Apr 6 13:11:07 PDT 2007 i686 Intel(R) Pentium(R) D CPU 3.00GHz GenuineIntel GNU/Linux

         

        $ kded --version

        Qt: 3.3.8

        KDE: 3.5.7

         

        After putting the plugin in the plugins directory I restarted Spark. There is no tray icon and if I close the window (not exit) the window disappears but Spark stays running with no way to retrieve the window.

         

        Cheers,

         

        RioGD

        • Bronze 5 posts since
          Aug 6, 2007
          Currently Being Moderated
          Aug 18, 2007 3:45 AM (in response to riogd)
          Re: No Tray Icon in Linux

          Hey,

           

          Have you tried putting the jniwrapper.jar in your plugins directory? It seems to be what you are missing.. The link for it is somewhere in this thread....

           

          Hope that helps,

          Sam.

          • Bronze 66 posts since
            Jan 6, 2006
            Currently Being Moderated
            Aug 20, 2007 8:59 AM (in response to Sam Melrose)
            Re: No Tray Icon in Linux

            Thank you Sam. I have just tried that but it still doesn't work. My plugins directory now looks like this:

             

            $ ls -ahsl /home/myuser/LocalApps/Spark/plugins/

            total 4.8M

               0 drwxr-xr-x  2 myuser myuser  280 2007-08-20 08:42 .

            512 drwxr-xr-x 11 myuser myuser  576 2007-08-17 08:49 ..

            316K -rw-rr  1 myuser myuser 315K 2007-08-06 06:41 fastpath.jar

            8.0K -rw-rr  1 myuser myuser 8.0K 2007-08-06 06:41 idlelinux.jar

            1.2M -rw-rr  1 myuser myuser 1.2M 2007-08-06 06:41 jingle.jar

            721K -rw-rr  1 myuser myuser 718K 2007-08-20 08:41 jniwrapper.jar

            12K -rw-rr  1 myuser myuser 8.5K 2007-08-17 10:32 linuxplugin.jar

            1.9M -rw-rr  1 myuser myuser 1.9M 2007-08-06 06:41 sparkphone.jar

            669K -rw-rr  1 myuser myuser 665K 2007-08-06 06:41 spelling-plugin.jar

             

            Thanks for your help,

             

            RioGD

            • Bronze 1 posts since
              Aug 28, 2007
              Currently Being Moderated
              Aug 28, 2007 8:38 PM (in response to riogd)
              Re: No Tray Icon in Linux

              Same deal here...

              • meltingrobot Bronze 39 posts since
                Dec 19, 2005
                Currently Being Moderated
                Aug 30, 2007 6:19 AM (in response to Adam Michel)
                Re: No Tray Icon in Linux

                Just grabbed Spark 2.5.6.  Still no tray icon for me.    64-bit Ubuntu 7.04 Dual monitor Nvidia card.  No compiz or other fancy stuff.

                 

                 

                Output from error log.

                 

                 

                 

                 

                 

                java.lang.UnsatisfiedLinkError: /home/wperkins/.Spark/plugins/idlelinux/lib/libLinuxIdle.so: /home/wperkins/.Spark/plugins/idlelinux/lib/libLinuxIdle.so: wrong ELF class: ELFCLASS32

                        at java.lang.ClassLoader$NativeLibrary.load(Native Method)

                        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)

                        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)

                        at java.lang.Runtime.load0(Runtime.java:770)

                        at java.lang.Runtime.load(Runtime.java:758)

                        at com.jivesoftware.idlelinux.LinuxIdle.<clinit>(LinuxIdle.java:25)

                        at com.jivesoftware.idlelinux.CheckIdle$1.run(CheckIdle.java:53)

                        at java.util.TimerThread.mainLoop(Timer.java:512)

                        at java.util.TimerThread.run(Timer.java:462)

                Exception in thread "Timer-9" java.lang.UnsatisfiedLinkError: com.jivesoftware.idlelinux.LinuxIdle.idleTime()J

                        at com.jivesoftware.idlelinux.LinuxIdle.idleTime(Native Method)

                        at com.jivesoftware.idlelinux.LinuxIdle.getIdleTime(LinuxIdle.java:16)

                        at com.jivesoftware.idlelinux.CheckIdle$1.run(CheckIdle.java:53)

                        at java.util.TimerThread.mainLoop(Timer.java:512)

                        at java.util.TimerThread.run(Timer.java:462)

                • Bronze 7 posts since
                  Aug 30, 2007
                  Currently Being Moderated
                  Aug 30, 2007 6:39 AM (in response to meltingrobot)
                  Re: No Tray Icon in Linux

                  I am also not seeing a tray icon in 2.5.6. I'm running Gnome on Fedora Core 6.

                • Bronze 1 posts since
                  Aug 31, 2007
                  Currently Being Moderated
                  Aug 31, 2007 12:55 AM (in response to meltingrobot)
                  Re: No Tray Icon in Linux

                  I've downloaded 2.5.6 and I'm running 64bit Ubuntu 7.04.  I can only get the tray icon to work if I download the two jars pasted in the thread above: jniwrapper.jar and linuxplugin.jar.

                   

                  I also always get the libLinuxIdle.so error in the error.log, but it doesn't appear to be detrimental.

                   

                  btw the tray icon does look ugly...

                • Bronze 3 posts since
                  Sep 7, 2007
                  Currently Being Moderated
                  Sep 7, 2007 10:33 AM (in response to meltingrobot)
                  Re: No Tray Icon in Linux

                  I can get a tray icon ONLY after installing both files and ONLY under gnome-metacity. Tray icon does not work under Compiz-Fusion. All other programs (like skype, amsn, email notification) work fine with both of them.

                  • Bronze 15 posts since
                    Sep 25, 2007
                    Currently Being Moderated
                    Oct 1, 2007 2:36 PM (in response to Rob)
                    Re: No Tray Icon in Linux

                    That's not really practical for an Ubuntu user as the new Ubuntu runs Compiz by default. I'm not about to switch to metacity for a bad-looking tray icon.

                    • Bronze 7 posts since
                      Aug 30, 2007
                      Currently Being Moderated
                      Oct 1, 2007 7:55 PM (in response to Shane Par-Due)
                      Re: No Tray Icon in Linux

                      Spark 2.5.7 has fixed the problems I was encountering with the Notifications Area (System Tray) of my Fedora/Gnome desktop. Also, I can now start Spark with the System Tray only.

                      • Bronze 66 posts since
                        Jan 6, 2006
                        Currently Being Moderated
                        Oct 3, 2007 4:08 PM (in response to Derek Giromini)
                        Re: No Tray Icon in Linux

                        2.5.7 does not resolve the missing systray icon in Compiz + KDE + the two extra .jars provided earlier in this thread. As an aside I dont use Ubuntu, so in my case Compiz is by choice, not by obligation

                         

                        Cheers,

                         

                        RioGD

                        • Bronze 3 posts since
                          Sep 7, 2007
                          Currently Being Moderated
                          Oct 4, 2007 7:54 AM (in response to riogd)
                          Re: No Tray Icon in Linux

                          In my case the ONLY way to get spark notification icon to work is to start in Metacity, run spark, and switch to compiz. Than the icon stays, but every opened window is gray.

                           

                          Of course that way you cant add spark to autostart.

                           

                           

                           

                          Thank you,

                           

                           

                           

                           

                          Rob

                          • klogger Bronze 39 posts since
                            Sep 5, 2008
                            Currently Being Moderated
                            Sep 8, 2008 10:38 AM (in response to Rob)
                            Re: No Tray Icon in Linux

                            Great find Rob, that worked for me.

                             

                            I know that Compiz has a problem with Java which causes grey windows. It is fixed in Java 7 Beta but I found it unuseable for other reasons. I have fixed the problem with grey windows but I can't remember what it is, if I remember I will post back. There is a very small chance that it is to use the JRockit implementation of Java but I think that fixes Tomcat's out of memory error and not the grey window. However, if you are desperate you can give it a go and see if it works for you. I also remember that finding the JRockit download was very difficult last time! The bookmark I have no longer works - sorry.

                        • Bronze 7 posts since
                          Jan 3, 2007
                          Currently Being Moderated
                          Nov 14, 2007 6:35 AM (in response to riogd)
                          Re: No Tray Icon in Linux

                          Agreed,  I'm running Spark 2.5.7 with Ubuntu 7.10 and with Compiz enabled Spark loses the ability to add the tray icon for some reason.

                           

                          If I disable Compiz and go back to the default vanilla config without it, then it gains the ability to display the tray icon again.  I would really like to see a fix for this one as well.  It's forcing me to use different clients that support Compiz at the moment.

    • Sam Richards Bronze 19 posts since
      Oct 29, 2007
      Currently Being Moderated
      Oct 29, 2007 5:56 PM (in response to Derek DeMoro)
      Re: No Tray Icon in Linux

       

      I just wanted to say that this plugin worked great with 2.5.7 on rhel41 and kde.

       

       

       

       

       

      Any chance of adding this plugin to the standard build, since it clearly helps a little in some cases?

       

       

       

       

       

      Sam.

       

       

       

       

       

    • tuanta Bronze 2 posts since
      Jan 7, 2009
      Currently Being Moderated
      Jan 7, 2009 9:08 PM (in response to Derek DeMoro)
      Re: No Tray Icon in Linux

      The icon also does not show at my PC.

       

      I run Spark 2.5.8 on Fedora 10 (Linux 2.6.27.9-159.fc10.i686 #1 SMP Tue Dec 16 15:12:04 EST 2008 i686 i686 i386 GNU/Linux)

       

      ./java -version
      java version "1.6.0_02"
      Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
      Java HotSpot(TM) Server VM (build 1.6.0_02-b05, mixed mode)

      (bundled with Spark)

       

      Your linuxplugin.jar works fine for me but the icon is so ugly.

      Is there any updated version?

       

      Also, the jniwrapper.jar seems not to be loaded (see my attachment).

      I tried to change permission on Spark and all sub-folders to writable for all but no more luck.

       

      Have you got any more advice for me?

       

      Thanks,

      Tuan

      Attachments:
  • Bronze 3 posts since
    Sep 7, 2007
    Currently Being Moderated
    Nov 23, 2007 6:59 AM (in response to Gene Tang)
    Re: No Tray Icon in Linux

    Is there any ETA on tray icon in composite linux environment? Because of this bug I have to use use gajim/pidgin and I would really like to use spark.

  • jddunlap Bronze 1 posts since
    Sep 6, 2008
    Currently Being Moderated
    Sep 6, 2008 10:38 PM (in response to Gene Tang)
    Re: No Tray Icon in Linux

    I am having the same problem with Spark 2.5.8 on Fedora 8(Werewolf) x86_64 under Gnome 2.20.3 with desktop effects enabled. Spark came with jniwrapper.jar but not linuxplugins.jar. However, after ensuring that both files are in the plugins directory, the tray icon still does not appear. I've also tried running it as root with SElinux disabled and the tray icon still did not appear.

     

    I looked at the logs and found the following exception(s),

     

    Sep 4, 2008 8:01:13 PM org.jivesoftware.spark.util.log.Log error
    SEVERE: Error launching browser:
    java.io.IOException: Cannot run program "netscape": java.io.IOException: error=2, No such file or directory
            at java.lang.ProcessBuilder.start(Unknown Source)
            at java.lang.Runtime.exec(Unknown Source)
            at java.lang.Runtime.exec(Unknown Source)
            at java.lang.Runtime.exec(Unknown Source)
            at org.jivesoftware.spark.util.BrowserLauncher.openURL(BrowserLauncher.java:506)
            at org.jivesoftware.spark.ui.ChatArea.mouseClicked(ChatArea.java:426)
            at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
            at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
            at java.awt.Component.processMouseEvent(Unknown Source)
            at javax.swing.JComponent.processMouseEvent(Unknown Source)
            at java.awt.Component.processEvent(Unknown Source)
            at java.awt.Container.processEvent(Unknown Source)
            at java.awt.Component.dispatchEventImpl(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Window.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.run(Unknown Source)

    Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
            at java.lang.UNIXProcess.<init>(Unknown Source)
            at java.lang.ProcessImpl.start(Unknown Source)
            ... 28 more

    -------------------------------------------------------------------------------- -----------------------------------------
    Sep 7, 2008 1:21:23 AM org.jivesoftware.spark.util.log.Log error
    SEVERE:
    java.lang.UnsupportedOperationException
            at java.awt.TrayIcon.<init>(Unknown Source)
            at java.awt.TrayIcon.<init>(Unknown Source)
            at org.jivesoftware.spark.plugins.LinuxSystemTray.<init>(LinuxSystemTray.java:105)
            at org.jivesoftware.spark.plugins.LinuxPlugin.initialize(LinuxPlugin.java:20)
            at org.jivesoftware.spark.PluginManager$1.run(PluginManager.java:404)
            at java.awt.event.InvocationEvent.dispatch(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.run(Unknown Source)

    • klogger Bronze 39 posts since
      Sep 5, 2008
      Currently Being Moderated
      Sep 8, 2008 12:13 PM (in response to jddunlap)
      Re: No Tray Icon in Linux

      When I use Compiz and Spark, in my ~/.Spark/logs directory I have a error.log file which contains:

       

      08-Sep-2008 18:08:58 org.jivesoftware.spark.util.log.Log error
      SEVERE:
      java.lang.UnsupportedOperationException
          at java.awt.TrayIcon.<init>(TrayIcon.java:105)
          at java.awt.TrayIcon.<init>(TrayIcon.java:129)
          at org.jivesoftware.spark.plugins.LinuxSystemTray.<init>(LinuxSystemTray.java:105)
          at org.jivesoftware.spark.plugins.LinuxPlugin.initialize(LinuxPlugin.java:20)
          at org.jivesoftware.spark.PluginManager$1.run(PluginManager.java:404)
          at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
          at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
          at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:27 3)
          at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
          at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:17 3)
          at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
          at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
          at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

       

      That error vanishes when I don't use Compiz.

       

      By the way, the grey window problem mentioned above when using Compiz and spark may be fixed in sun java-1.6.0_10. The grey windows went away for me in NetBeans when I upgraded to that JDK. I had problems before that using sun jdk1.6.0_06.

       

      Even better than that is that the tray icon works with java-1.6.0_10. I can now start Spark in the tray. I am running Debian lenny with Compiz from the repo (See the first post on this page for how to set the version of Java that Spark uses).

More Like This

  • Retrieving data ...

Bookmarked By (0)