home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / python-gnome2-desktop / examples / applet / README < prev   
Encoding:
Text File  |  2006-01-20  |  1.1 KB  |  27 lines

  1. You must do two things:
  2.  
  3. * bonobo-activation-server (from now on referend as b-a-s), must be able to 
  4.   find your .server file, it can be done in three ways:
  5.   
  6.    1) Copy the server to /usr/lib/bonobo/servers
  7.    2) set BONOBO_ACTIVATION_PATH to the current directory, restart b-a-s
  8.    3) activation-client --add-path $(pwd)
  9.    
  10. * bonobo-activation-server must be able to launch your applet, can be
  11.   done in three different ways:
  12.  
  13.   1) add your current directory to PATH before restarting b-a-s.
  14.   2) Copy applet.py to any directory in PATH
  15.   3) Modify the .server file and change location to include full path
  16.      to your component.
  17.      
  18. Both problems are related to bonobo-activation-server, a daemon which launches
  19. bonobo components, an applet is a very simple bonobo components and must 
  20. therefor be able to be found by the daemon.
  21.  
  22. Please note, that you might need to change the first line of the script, eg
  23. the python interpretor you are using. If pygtk is not installed so it's used
  24. by the default interpretor (the one called when typing just python) you have
  25. to change the first line, change the path (/usr/local/bin/python) or the
  26. name (python2.2).
  27.