Package: service-discovery-applet
Version: 0.4.1-2
This is from Debian Sid on PowerPC.
This is the second bug I filed against this guy. Maybe I am doing
something wrong? Wrong dependencies installed?
Well when I setup that ssh-sftp to be auto discovered on a different
server and tried to access through service-discovery-applet it tried to
open a gnome-terminal and immediately closed with no error message in
either a pop-up or ~/.xsession-errors
As it turned out after running service-discovery-applet -window from a
xterm it was trying to use sftp command line incorrectly.
It was trying to do 'sftp -p 22', so that it would use port 22.. But
that isn't valid for the sftp command line.. It should be 'sftp
-oPort=22' for some odd reason.
After editing the plugin file to fix this then it worked for me.
Here is the diff. Hope I made it correctly. First one ever.
--- gconfterminal.py.old 2006-07-11 07:05:40.000000000 -0500
+++ gconfterminal.py 2006-07-11 07:15:29.000000000 -0500
@@ -113,14 +113,21 @@
if stype == "_ssh._tcp":
scheme = "ssh -X"
+ if username == None:
+ return
+ elif username != "":
+ sshline = "%s -p %i [EMAIL PROTECTED]" % (scheme, port, username,
address)
+ else:
+ sshline = "%s -p %i %s " % (scheme, port, address)
else:
scheme = "sftp"
- if username == None:
- return
- elif username != "":
- sshline = "%s -p %i [EMAIL PROTECTED]" % (scheme, port, username,
address)
- else:
- sshline = "%s -p %i %s " % (scheme, port, address)
+ if username == None:
+ return
+ elif username != "":
+ sshline = "%s -oPort=%i [EMAIL PROTECTED]" % (scheme, port,
username, address)
+ else:
+ sshline = "%s -oPort=%i %s" % (scheme, port, address)
+
cmdline = terminal.split(" ")
cmdline.extend(sshline.split(" "))
~$ wajig find-file `which sftp`
openssh-client: /usr/bin/sftp
~$ wajig show service-discovery-applet
Package: service-discovery-applet
Priority: optional
Section: net
Installed-Size: 304
Maintainer: Sebastian Dr��ge <[EMAIL PROTECTED]>
Architecture: all
Version: 0.4.1-4
Depends: python-central (>= 0.5), python2.4, python, gconf2 (>=
2.10.1-2), python2.4-gt k2, python2.4-gnome2, python2.4-gnome2-desktop,
python2.4-gnome2-extras, python2.4-dbus , python-avahi (>= 0.6.9),
python2.4-avahi, avahi-daemon, notification-daemon (>= 0.3.2 )
Filename:
pool/main/s/service-discovery-applet/service-discovery-applet_0.4.1-4_all.deb
Size: 53382
MD5sum: 7ecf40736becd144cd90fe8379485055
SHA1: 020ccb68c6f5f83a2bff8383d14604ac60d4d672
SHA256: 87a8c19a60de02fc513b54b3aaa453999ee5021e28987ace70ff07db40e88919
Description: service discovery applet based on avahi for the GNOME panel
The service discovery applet lists all available services which are
published through avahi/Rendezvous/Bonjour/ZeroConf and allows to run
actions on that service.
Python-Version: current
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]