r433 - zope-externaleditor/trunk/debian

Fabio Tranchitella kobold at alioth.debian.org
Thu Nov 2 15:05:46 CET 2006


Author: kobold
Date: 2006-11-02 15:05:46 +0100 (Thu, 02 Nov 2006)
New Revision: 433

Modified:
   zope-externaleditor/trunk/debian/changelog
   zope-externaleditor/trunk/debian/zopeedit.README.Debian
Log:
Changes for the new debian release.


Modified: zope-externaleditor/trunk/debian/changelog
===================================================================
--- zope-externaleditor/trunk/debian/changelog	2006-11-02 13:53:41 UTC (rev 432)
+++ zope-externaleditor/trunk/debian/changelog	2006-11-02 14:05:46 UTC (rev 433)
@@ -1,3 +1,9 @@
+zope-externaleditor (0.9.2-2) unstable; urgency=low
+
+  * debian/zopeedit.README.Debian: added a note for epiphany users.
+
+ -- Fabio Tranchitella <kobold at debian.org>  Thu,  2 Nov 2006 15:05:24 +0100
+
 zope-externaleditor (0.9.2-1) unstable; urgency=low
 
   * New upstream release.

Modified: zope-externaleditor/trunk/debian/zopeedit.README.Debian
===================================================================
--- zope-externaleditor/trunk/debian/zopeedit.README.Debian	2006-11-02 13:53:41 UTC (rev 432)
+++ zope-externaleditor/trunk/debian/zopeedit.README.Debian	2006-11-02 14:05:46 UTC (rev 433)
@@ -19,4 +19,55 @@
 Python code. If you need to customize the default configuration file created
 system-wide, please feel free to look into /usr/bin/zopeedit.
 
- -- Federico Sevilla III <jijo at free.net.ph>, Mon,  7 Apr 2003 10:04:31 +0800
+
+Note about zopeedit and Epiphany
+--------------------------------
+
+Epiphany uses the freedesktop mime database to determine the
+handler for a mime type, so in order to be able to use zopeedit
+for "External Editor" links you need to do the following:
+
+1) Create .local/share/mime/packages/zopeedit-mimetypes.xml
+   with following content:
+
+<?xml version="1.0"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+  <mime-type type="application/x-zope-edit">
+    <comment>External Zope Editor Link</comment>
+  </mime-type>
+</mime-info>
+
+  and run `update-mime-database ~/.local/share/mime`.
+  This will add 'application/x-zope-edit' to the list
+  of mime-types recognized by your application which
+  use the freedesktop mime db.
+
+2) Create .local/share/applications/zopeedit.desktop :
+
+[Desktop Entry]
+Encoding=UTF-8
+Name=Zope Editor
+GenericName=ZopeEdit
+Comment=Edit Zope Objects in an external editor
+Exec=/usr/bin/zopeedit
+Terminal=false
+MultipleArgs=false
+Type=Application
+Categories=Application;Network
+MimeType=application/x-zope-edit
+
+  and add "application/x-zope-edit=zopeedit.desktop" to
+  your "~/.local/share/applications/defaults.list". This
+  will mark zopeedit as the default app for application/x-zope-edit"
+  NOTE: this will also put a "Zope Editor" entry in your
+  "Applications/Internet" gnome menu, I have no idea though how to
+  get rid of it, since it doesn't make sence here.
+
+3) Add the line "<mime-type type="application/x-zope-edit"/>" to the
+   <safe> category in /usr/share/epiphany-browser/mime-types-permissions.xml
+   If you omit this step, epiphany will assume, that the mime-type is not safe
+   to be opened directly and will offer a download dialog instead.
+   NOTE: Unfortunatelly, this is a system-wide setting, I'm pretty sure
+   there's a way to do it for a single user too...
+
+4) Restart epiphany




More information about the pkg-zope-commits mailing list