
Avahi Screenlet
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This screenlet can browse services advertised by Avahi or Zeroconf, and can launch configurable applications to use those services. It requires the Avahi daemon and its Python bindings to be installed. It recycles a lot of code from Sebastien Estienne's service-discovery-applet for the GNOME Panel, and uses icons from the Black & White GNOME icon theme (icons can be replaced with your own if you wish).
It has a small bug in that the very first time it's started, it won't find any services. You can work around this by starting it, placing it where you like, setting it to the widget layer, etc. and then quitting it. The next time you start it, it will discover services.
Note that while it can ask for required information for most services, it cannot for VNC. This is because the VNC viewer does not allow you to specify a password on the command line. You can configure the VNC viewer to pop up a password dialog with the option "-xrm '*passwordDialog: true'". This is configured by default.
Install it in the usual way, by extracting the archive to your ~/.screenlets directory. Let me know about any bugs, features you'd like, if you make a different theme for it, etc.
13 years ago
0.2 - fixed a small bug stopping Screenlets manager from starting if Avahi is not installed
0.1 - initial release
13 years ago
0.2 - fixed a small bug stopping Screenlets manager from starting if Avahi is not installed
0.1 - initial release
plun
13 years ago
I am also using Exaile with the noetworking plugin and somehow
this Screenlet maybe must help Exaile.
With your Screenlet I sees a webservice and nothing more.
Nevertheless it works...:)
Report
Whise
13 years ago
print "A required python module is missing!\n%s" % (e)
sys.exit()
this code is stoping my manager from starting , you need to add something like
if sys.argv[0].endswith('AvahiScreenlet.py'):
so it wont conflict with the manager
Report
Whise
13 years ago
Report
nickca
13 years ago
Report
seraphyn
13 years ago
Report