I couldn't find instructions on how to install sshmenu-gnome anywhere on 
google.  I have no clue how to make a package so i'm just going to give 
instructions step by step for how i got this to work.  I hope this helps.


sshmenu is a great gnome applet that lets you have a pop up menu for ssh sites 
you'd like to save.  I've been using it on debian for a long time and if i 
couldn't get it working on solaris i probably would have been pretty 
upset...it's a great little program.

first, theres a few dependencies you can install via the opensolaris package 
manager.

they are

SUNruby18
SUNWGlib
SUNWpangomm
SUNWGtk
SUNWgnome-libs 
SUNWgnome-common-devel 

next we need to download ruby-gtk2-0 and ruby-gnome2-all
get them from sourceforge, download links are
http://sourceforge.net/projects/ruby-gnome2/files/ruby-gnome2/ruby-gtk2-0.19.0.tar.gz/download
http://sourceforge.net/projects/ruby-gnome2/files/ruby-gnome2/ruby-gnome2-all-0.19.0.tar.gz/download

untar ruby-gtk2-0 and cd into the directory and type
ruby extconf.rb
after it's done, type 
gmake
pfexec gmake install

you do the exact same thing for ruby-gnome2-all
cd into the directory and type
ruby extconf.rb
gmake
pfexec gmake install

That takes care of the dependencies, next we need to download sshmenu from 
sourceforge

http://sourceforge.net/projects/sshmenu/files/sshmenu/sshmenu-3.16.tar.gz/download

now it's just a matter of putting the files in this package in the right spot.

untar it and copy or move lib/sshmenu.rb  and lib/gnome-sshmenu.rb to 
/usr/ruby/1.8/lib/ruby/1.8/

next, we need to install sshmenu-applet.  This is a wrapper script that uses 
sshmen.rb to create an instance of the application in a panel applet window.  
It can be installed anywhere so long as the path is in sshmenu-applet.server 
correctly.  It's easiest to install this in the default location, however.  To 
do this 
pfexec mkdir /usr/lib/gnome-panel
then copy or move sshmenu-applet to /usr/lib/gnome-panel/

next we need to move the icon to the correct spot.  copy or move 
gnome-sshmenu-applet.png to /usr/share/icons/hicolor/48x48/apps/

next we need to copy or move sshmenu-applet.server to /usr/lib/bonobo/servers/  
(note: if you didn't install sshmenu-applet to the default location, then you 
need to edit this file with the location you DID install it to.)

next copy or move the bin files /bin/sshmenu and bin/sshmenu-gnome to /usr/bin

everything is now installed. it will work right now but for some reason it 
gives an error saying it can't find ssh-askpass

to fix this we need to create a symbolic link

pfexec ln -s /usr/lib/ssh-askpass /usr/bin/ssh-askpass

now it should work flawlessly.  to add it to your gnome panel, you just right 
click anywhere on the panel and select "add to panel"  then find ssh-menu

enjoy.
-- 
This message posted from opensolaris.org

Reply via email to