Re: [sshmenu] Antw: Re: problems with integrating the applet in thepanel on opensuse-10.2
Brought to you by:
grantm
|
From: Grant M. <gr...@mc...> - 2008-07-29 21:00:47
|
On Tue, 2008-07-29 at 13:53 +0200, Stephan Hendl wrote:
> Just I've take the clock applet, changed everything but the same error
> still exists ;-( Unfortunately I'm not familiar with ruby and so I
> look into the code like someone who doesn't what he's doing. Starting
> the program from the shell works fine but I looked for the possiblity
> to start it from the panel preferably.
The standalone program and the applet use the same code with one minor
difference. The applet wrapper script (called 'sshmenu-applet') uses an
extra Ruby library called panelapplet2 - do you have this library
installed?
In Debian the package is called libpanel-applet2-ruby.
> Would you mind explaining the code in the sshmenu-applet? Maybe there
> are differences betwenn gnome on SuSE and Ubuntu. We have installed
> gnome-2.16 (opensuse 10.2).
I don't think it's a GNOME version problem. My development environment
was GNOME 2.14 on Ubuntu Dapper. I have just recently upgraded to
Ubuntu Hardy which is running (I think) 2.22.
There is a procedure you can use for debugging applets.
1. use 'ps' to check that there are no sshmenu-applet processes
running
2. from a command shell, run the applet wrapper script directly,
in my case the path would be:
/usr/lib/gnome-panel/sshmenu-applet
at this point, the program should appear to 'hang' - no output
should appear in your command window and no applet should
appear on the GNOME panel. If the program dies with an error,
that problem must be resolved first
3. launch GNOME's 'Add to Panel' dialog by right clicking on the
panel and selecting from the menu
4. select SSHMenu from the list of available applets and add it
to your panel (either with the '+' button or by dragging it
to the panel
at this point, the applet should appear in the panel, if it
does not, there should be an error message displayed in the
terminal window where you started the applet wrapper script
Try that and let us know how you get on.
Regards
Grant
|