A workaround, for anyone who like me doesn't know how to implement a
patch to their system, is the following:

This might not work on all systems but on my Ubuntu Lucid 10.04 all I
need to do is "killall scim-panel-gtk" and it's automatically restarted
with the tray icon. There's a similar bug in both tomboy and gtg.

Here's the full workaround on my system:
Past the following 4 lines into a file (eg with gedit) and save it as 
scim_panel_reload.sh
     #! /usr/bin/bash
     while (! ps -C notification-area-applet); do echo -n .; done; echo # Wait 
for the notification area to load
     sleep 10                           # Wait another 10 seconds (You may need 
to adjust this depending on your system)
     killall scim-panel-gtk             # Kill scim-panel-gtk. It will be 
automatically reloaded

Click: System->Preferences->Startup Applications
Click: Add
Enter the following info:
  Name: SCIM PANEL RELOAD
  Command: /path/to/scim_panel_reload.sh
  Comment: Workaround for Bug #475800
Click: Add

scim-panel-gtk should then be reloaded each time you login.

P.S. I have no idea why the "sleep 10" has to be in there after the
notification-area-applet has loaded, but without it scim-panel-gtk is
still loaded too early for it's icon to appear in the tray.

Hope the patch gets incorporated into the next .deb release.

-- 
Tray icon does not appear on startup in Karmic
https://bugs.launchpad.net/bugs/475800
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to