Thread: [sshmenu] problems with integrating the applet in the panel on opensuse-10.2
Brought to you by:
grantm
From: Stephan H. <Ste...@La...> - 2008-07-29 08:39:42
|
first of all - very nice program - exactly what I was looking for "make Test" works fine without any errors. I get problems once I want load the program into the panel. The process gives an error like "error on loading the OAFIID:GNOME_SSHMenuApplet applet. Do you want to delete the applet from your configuration?" The text ist not the same because it was displayed in German... OpenSuSE installs GNMOE in /opt/gnome. hendl@client> ll /opt/gnome/lib/gnome-panel/*ssh* -rwxr-xr-x 1 root root 570 29. Jul 09:08 /opt/gnome/lib/gnome-panel/sshmenu-applet hendl@client> ll /opt/gnome/lib/bonobo/servers/sshmenu* /opt/gnome/lib/bonobo/servers/sshmenu-applet.server Contents of sshmenu-applet.server: <oaf_info> <oaf_server iid="OAFIID:GNOME_SSHMenuApplet_Factory" type="exe" location="/opt/gnome/lib/gnome-panel/sshmenu-applet"> <oaf_attribute name="repo_ids" type="stringv"> <item value="IDL:Bonobo/GenericFactory:1.0"/> <item value="IDL:Bonobo/Unknown:1.0"/> </oaf_attribute> <oaf_attribute name="name" type="string" value="SSH Menu Applet Factory"/> <oaf_attribute name="description" type="string" value="SSH Menu Applet factory"/> </oaf_server> <oaf_server iid="OAFIID:GNOME_SSHMenuApplet" type="factory" location="OAFIID:GNOME_SSHMenuApplet_Factory"> <oaf_attribute name="repo_ids" type="stringv"> <item value="IDL:GNOME/Vertigo/PanelAppletShell:1.0"/> <item value="IDL:Bonobo/Control:1.0"/> <item value="IDL:Bonobo/Unknown:1.0"/> </oaf_attribute> <oaf_attribute name="name" type="string" value="SSH Menu Applet"/> <oaf_attribute name="description" type="string" value="Open SSH terminal windows from a menu of hosts"/> <oaf_attribute name="panel:category" type="string" value="Utilities"/> <oaf_attribute name="panel:icon" type="string" value="gnome-sshmenu-applet.png"/> </oaf_server> </oaf_info> What's wrong...? Cheers, Stephan |
From: Grant M. <gr...@mc...> - 2008-07-29 09:47:56
|
On Tue, 2008-07-29 at 10:39 +0200, Stephan Hendl wrote: > first of all - very nice program - exactly what I was looking for > > "make Test" works fine without any errors. You should also be able to run the 'sshmenu' and 'sshmenu-gnome' standalone applications. > I get problems once I want load the program into the panel. The > process gives an error like "error on loading the > OAFIID:GNOME_SSHMenuApplet applet. Do you want to delete the applet > from your configuration?" The text ist not the same because it was > displayed in German... Thanks for translating - my German is limited to counting to 10 :-) > OpenSuSE installs GNMOE in /opt/gnome. Unfortunately I don't know very much about this stuff myself. The approach I took originally was to copy how the 'clock-applet' did stuff and adapt that to suit. This page on the SSHMenu web site documents what goes where on Debian/Ubuntu and it may give you some hints: http://sshmenu.sourceforge.net/download/install.html You might also get some hints by running: locate clock-applet And look at the files listed. Good luck Grant |
From: Stephan H. <Ste...@La...> - 2008-07-29 11:53:14
|
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. 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). thanks Stephan >>> Grant McLean <gr...@mc...> schrieb am Di 29 Jul 2008 um 11:47 in Nachricht <1217324867.18272.20.camel@hoiho>: > On Tue, 2008-07-29 at 10:39 +0200, Stephan Hendl wrote: >> first of all - very nice program - exactly what I was looking for >> >> "make Test" works fine without any errors. > > You should also be able to run the 'sshmenu' and 'sshmenu-gnome' > standalone applications. > >> I get problems once I want load the program into the panel. The >> process gives an error like "error on loading the >> OAFIID:GNOME_SSHMenuApplet applet. Do you want to delete the applet >> from your configuration?" The text ist not the same because it was >> displayed in German... > > Thanks for translating - my German is limited to counting to 10 :-) > >> OpenSuSE installs GNMOE in /opt/gnome. > > Unfortunately I don't know very much about this stuff myself. The > approach I took originally was to copy how the 'clock-applet' did stuff > and adapt that to suit. This page on the SSHMenu web site documents > what goes where on Debian/Ubuntu and it may give you some hints: > > http://sshmenu.sourceforge.net/download/install.html > > You might also get some hints by running: > > locate clock-applet > > And look at the files listed. > > Good luck > 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 |
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 |
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 |