Re: [sshmenu] Antw: Re: problems with integrating theapplet in thepanel on opensuse-10.2
Brought to you by:
grantm
From: Stephan H. <Ste...@La...> - 2008-07-30 06:43:11
|
Thanks a lot! Now it works! After starting the sshmenu-applet from the command line there was an error that libpanel2 was missing. After installing that and some other dependend ruby libraries now it workes. Cheers, Stephan >>> Grant McLean <gr...@mc...> schrieb am Di 29 Jul 2008 um 23:00 in Nachricht <121...@pu...>: > 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 > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > sshmenu-users mailing list > ssh...@li... > https://lists.sourceforge.net/lists/listinfo/sshmenu-users |