trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: December 2011

Re: [trinity-users] Informations about kiosktool-trinity

From: "John A. Sullivan III" <jsullivan@...>
Date: Tue, 06 Dec 2011 09:27:00 -0500 (EST)
----- Original Message -----
> From: "Jean Milot" <milot.jean@...>
> To: trinity-users@...
> Sent: Tuesday, December 6, 2011 7:50:25 AM
> Subject: Re: [trinity-users] Informations about kiosktool-trinity
>
> Hello John,
>
> Oh my god. You are also here.
>
> I have some problems to manage file associations.
>
> And i would like an application to manage it.
>
> Sincerely,
>
> Jean
>
LOL - Indeed.  As I mentioned, we've already worked through these issues over several years.  File associations is one of the very difficult issues partly because of the flexibility of the Linux desktop.  Although Trinity may be the primary destkop, you may still use Gnome applications which do not listen to KIOSK or independent applications like Firefox which will have their own mechanism.

You will need to understand mime types very well.  You might find http://library.gnome.org/admin/system-admin-guide/stable/mimetypes-0.html.en helpful.  Trinity file associations are typically set in share/config/profilerc.  However, this won't help you with Gnome or Firefox.  Here are some bits from our internal documentation have a seat as this is not for the faint of heart :)

GNOME
Since many of the applications are Gnome based, we must configure Gnome properly.  Many of the Gnome features can be configured using the more general XDG (X Desktop Group) configurations.  KDE also borrows heavily from XDG.  We also need to configure Gnome defaults for the sake of Iceweasel since it will look to Gnome rather than KDE for system defaults.
A good discussion on MIME in general and configuring default applications in Gnome can be found at http://library.gnome.org/admin/system-admin-guide/stable/mimetypes-0.html.en
MIME and XDG in general can be configured on a user basis by placing files under ~/.local.  Other default locations are /usr/local/share/ and /usr/share/.  The subdirectories are applications, mime, and so forth.  Similar to KDE, environment variables may override the defaults (other than .local which is always searched).  The variable is XDG_DATA_DIRS.  We can set this in any of environment files as we do for KDEDIRS.  The default configuration is in SomeServer:/somepath/Common/xdg/default/.  Unlike KDE, we are adding the default locations to the path so a full default setting would be:
XDG_DATA_DIRS=/somepathcreatedthroughthemagicofrbindsinvserver/.Common/xdg/default:/usr/share:/usr/local/share:
Most of the files in the XDG mime directory structure are created automatically by running update-mime-database against the particular configuration directory - with some notable exceptions.  One exception is the packages directory.  This directory contains the source files which are used to create the other files.  These specify things like magic (what to look for inside a file to figure out what type of file it is), globs (associations with file extensions), aliases, subclasses, comments.  If we want to override the predefined characteristics, we do this by creating a packages/Overides.xml file.
Applications are associated with mime-types by adding a MimeType key to their .desktop file (these are typically stored in the applications subdirectory of the XDG configuration directories.  After modifying .desktop files, one runs update-desktop-database to effect the changes.  This produces a mimeinfo.cache file to minimize lookups when associating mime types.
However, this just specifies associated applications and not the default.  To specify the default application, one creates a defaults.list file in the applications subdirectory.  This associates a mime type with a desktop file, e.g., application/pdf=AdobeReader.desktop.  We should make the following default associations in SomeServer:/somepath/Common/xdg/default/applications/defaults.list:
[Default Applications]
application/ogg=kde-kaffeine.desktop
application/x-ogg=kde-kaffeine.desktop
application/pdf=AdobeReader.desktop
application/pym=AdobeReader.desktop
application/vnd.adobe.pdf=AdobeReader.desktop
application/msword=openoffice.org-writer.desktop
application/vnd.ms-excel=openoffice.org-calc.desktop
application/vnd.ms-powerpoint=openoffice.org-impress.desktop
application/vnd.ms-powerpoint.presentation.12=openoffice.org-impress.desktop
application/vnd.oasis.opendocument.text=openoffice.org-writer.desktop
application/vnd.openxmlformats-officedocument.wordprocessingml.document=openoffice.org-writer.desktop
application/vnd.openxmlformats-officedocument.spreadsheetml.document=openoffice.org-calc.desktop
application/vnd.stardivision.writer=openoffice.org-writer.desktop
application/vnd.sun.xml.writer=openoffice.org-writer.desktop
application/x-rtf=openoffice.org-writer.desktop
audio/x-aiff=kde-kaffeine.desktop
audio/basic=kde-kaffeine.desktop
audio/x-flac=kde-kaffeine.desktop
audio/x-matroska=kde-kaffeine.desktop
audio/x-mod=kde-kaffeine.desktop
audio/x-mp3=kde-kaffeine.desktop
audio/mp4=kde-kaffeine.desktop
audio/mpegurl=kde-kaffeine.desktop
audio/x-musepack=kde-kaffeine.desktop
audio/x-oggflac=kde-kaffeine.desktop
audio/vorbis=kde-kaffeine.desktop
audio/x-vorbis=kde-kaffeine.desktop
audio/x-wav=kde-kaffeine.desktop
audio/x-wav=kde-kaffeine.desktop
audio/x-ms-wma=kde-kaffeine.desktop
text/html=iceweasel.desktop
text/rtf=openoffice.org-writer.desktop
text/x-xslt=iceweasel.desktop

Iceweasel
We want to change the Iceweasel (Firefox) default behavior of saving all downloads to the desktop and set the default home page.  To do this, create a /etc/iceweasel/profile/user.js file with the following content:
user_pref("browser.download.useDownloadDir", false);
user_pref("browser.startup.homepage", "http://www.pacifera.com/");
Oops! Debian handles this differently than Ubuntu.  We need to modify /usr/lib/iceweasel/browserconfig.properties to read:
browser.download.useDownloadDir=false
browser.startup.homepage=http://www.pacifera.com/
Oops! That's not true either.  It looks like it uses /etc/iceweasel/pref/prefs.js
However, mime-types for associating applications are set in /etc/iceweasel/profile/mimeTypes.rdf.  RDF (Resource Description Framework) files are complex XML files and a bit tricky to modify.  A reasonable description of the syntax can be found at http://kb.mozillazine.org/MimeTypes.rdf
There seem to be four separate components to associate mimeTypes and applications.  Somewhere in the RDF file there is a RDF:Seq tag which contains RDF:li tags.  These identify mimetypes with an attribute value pair such as  RDF:resource="urn:mimetype:application/msword".  This "resource" is then used in the in an RDF:Description tag where the RDF:About attribute value equals the resource, e.g., <RDF:Description RDF:about="urn:mimetype:application/msword".
This RDF:Description tag contains an NC:handlerProp tag with an attribute of RDF:resource which specifies a handler, e.g., <NC:handlerProp RDF:resource="urn:mimetype:handler:application/msword"/>.
This leads us to another RDF:Description tag where the RDF:About attribute equals the resource in the aforementioned hander tag, e.g., <RDF:Description RDF:about="urn:mimetype:handler:application/msword"
This tag has some important attributes, e.g., NC:alwaysAsk, NC:saveToDisk, NC:useSystemDefault.  As default settings for Iceweasel, we will typically want to set alwaysAsk="true" so users can turn it off if they want or leave it that way.  Wherever possible, we will also want to use the system default so we have fewer places to manage.
The handler tag has a NC:externalApplication tag which specifies an external application resources, e.g., <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/msword"/>.  This points to a final RDF:Description tag with an RDF:About attribute value which matches the resource, e.g., <RDF:Description RDF:about="urn:mimetype:externalApplication:application/msword".  This is where the actual application is specified as an attribute, e.g.,
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/msword"
                   NC:prettyName="oowriter"
                   NC:path="/usr/bin/oowriter" />
I'm not sure but I would imagine this last resource description is not necessary if we are using system defaults.  Here is the appropriate mimeTypes.rdf file to be placed in /etc/iceweasel/pref/:
<?xml version="1.0"?>
<RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"
         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <RDF:Description RDF:about="urn:handler:web:http://compose.mail.yahoo.com/?To=%s"
                   NC:prettyName="Yahoo! Mail"
                   NC:uriTemplate="http://compose.mail.yahoo.com/?To=%s" />
  <RDF:Seq RDF:about="urn:schemes:root">
    <RDF:li RDF:resource="urn:scheme:mailto"/>
    <RDF:li RDF:resource="urn:scheme:irc"/>
    <RDF:li RDF:resource="urn:scheme:ircs"/>
    <RDF:li RDF:resource="urn:scheme:webcal"/>
  </RDF:Seq>
  <RDF:Description RDF:about="urn:scheme:externalApplication:mailto"
                   NC:prettyName="kmailservice"
                   NC:path="/usr/bin/kmailservice" />
  <RDF:Description RDF:about="urn:scheme:mailto"
		   NC:value="mailto">
	  <NC:handlerProp RDF:resource="urn:scheme:handler:mailto"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:handler:mailto"
		   NC:alwaysAsk="false">
	  <NC:possibleApplication RDF:resource="urn:handler:web:https://mail.google.com/mail/?extsrc=mailto&amp;url=%s"/>
	  <NC:possibleApplication RDF:resource="urn:handler:web:http://compose.mail.yahoo.com/?To=%s"/>
	  <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/kmailservice"/>
	  <NC:externalApplication RDF:resource="urn:scheme:externalApplication:mailto"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:irc"
		   NC:value="irc">
	  <NC:handlerProp RDF:resource="urn:scheme:handler:irc"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:ircs"
		   NC:value="ircs">
	  <NC:handlerProp RDF:resource="urn:scheme:handler:ircs"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:handler:webcal"
		   NC:useSystemDefault="true"
		   NC:alwaysAsk="true">
	  <NC:possibleApplication RDF:resource="urn:handler:web:http://30boxes.com/external/widget?refer=ff&amp;url=%s"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:webcal"
		   NC:value="webcal">
	  <NC:handlerProp RDF:resource="urn:scheme:handler:webcal"/>
  </RDF:Description>
  <RDF:Seq RDF:about="urn:mimetypes:root">
    <RDF:li RDF:resource="urn:mimetype:application/vnd.ms-excel"/>
    <RDF:li RDF:resource="urn:mimetype:application/msexcel"/>
    <RDF:li RDF:resource="urn:mimetype:application/msword"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-rtf"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-java-jnlp-file"/>
    <RDF:li RDF:resource="urn:mimetype:application/pdf"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.adobe.pdf"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.ms-powerpoint.presentation.12"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.ms-powerpoint"/>
    <RDF:li RDF:resource="urn:mimetype:application/csv"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-httpd-php"/>
  </RDF:Seq>
  <RDF:Description RDF:about="urn:mimetype:application/vnd.ms-excel"
		   NC:value="application/vnd.ms-excel"
		   NC:editable="true"
		   NC:description="Excel spreadsheet">
	  <NC:fileExtensions>xls</NC:fileExtensions>
	  <NC:fileExtensions>xlb</NC:fileExtensions>
	  <NC:fileExtensions>xlt</NC:fileExtensions>
	  <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.ms-excel"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/vnd.ms-excel"
		   NC:alwaysAsk="true"
		   NC:saveToDisk="false"
		   NC:useSystemDefault="true"
		   NC:handleInternal="false">
	  <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.ms-excel"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/vnd.ms-excel"
		   NC:path="/usr/bin/oocalc"
		   NC:prettyName="oocalc" />
  <RDF:Description RDF:about="urn:mimetype:application/msexcel"
		   NC:value="application/msexcel"
		   NC:editable="true"
		   NC:description="Excel spreadsheet">
	  <NC:fileExtensions>xls</NC:fileExtensions>
	  <NC:fileExtensions>xlb</NC:fileExtensions>
	  <NC:fileExtensions>xlt</NC:fileExtensions>
	  <NC:handlerProp RDF:resource="urn:mimetype:handler:application/msexcel"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/msexcel"
		   NC:alwaysAsk="true"
		   NC:saveToDisk="false"
		   NC:useSystemDefault="true"
		   NC:handleInternal="false">
	  <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/msexcel"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/msexcel"
		   NC:path="/usr/bin/oocalc"
		   NC:prettyName="OpenOffice Calc" />
  <RDF:Description RDF:about="urn:mimetype:application/vnd.openxmlformats-officedocument.spreadsheetml.document"
		   NC:fileExtensions="xlsx"
		   NC:description=""
		   NC:value="application/vnd.openxmlformats-officedocument.spreadsheetml.document"
		   NC:editable="true">
	  <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.openxmlformats-officedocument.spreadsheetml.document"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/vnd.openxmlformats-officedocument.spreadsheetml.document"
		   NC:alwaysAsk="true"
		   NC:saveToDisk="true"
		   NC:useSystemDefault="true">
	  <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.openxmlformats-officedocument.spreadsheetml.document"/>
	  <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/oocalc"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/vnd.openxmlformats-officedocument.spreadsheetml.document"
		   NC:prettyName="oocalc"
		   NC:path="/usr/bin/oocalc" />
  <RDF:Description RDF:about="urn:mimetype:application/msword"
		   NC:value="application/msword"
		   NC:editable="true"
		   NC:description="Word document">
	  <NC:fileExtensions>doc</NC:fileExtensions>
	  <NC:fileExtensions>dot</NC:fileExtensions>
	  <NC:handlerProp RDF:resource="urn:mimetype:handler:application/msword"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/msword"
		   NC:alwaysAsk="true"
		   NC:useSystemDefault="true">
	  <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/msword"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:application/x-rtf"
		   NC:fileExtensions="rtf"
		   NC:description=""
		   NC:value="application/x-rtf"
		   NC:editable="true">
	  <NC:handlerProp RDF:resource="urn:mimetype:handler:application/x-rtf"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/x-rtf"
		   NC:alwaysAsk="true"
		   NC:saveToDisk="false"
		   NC:useSystemDefault="true"
		   NC:handleInternal="false">
	  <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/x-rtf"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/x-rtf"
		   NC:path="/opt/openoffice.org3/program/swriter"
		   NC:prettyName="swriter" />
  <RDF:Description RDF:about="urn:mimetype:application/vnd.openxmlformats-officedocument.wordprocessingml.document"
		   NC:fileExtensions="docx"
		   NC:description=""
		   NC:value="application/vnd.openxmlformats-officedocument.wordprocessingml.document"
		   NC:editable="true">
	  <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/vnd.openxmlformats-officedocument.wordprocessingml.document"
		   NC:alwaysAsk="true"
		   NC:saveToDisk="true"
		   NC:useSystemDefault="true">
	  <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
	  <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/oowriter"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/vnd.openxmlformats-officedocument.wordprocessingml.document"
		   NC:prettyName="oowriter"
		   NC:path="/usr/bin/oowriter" />
  <RDF:Description RDF:about="urn:mimetype:application/x-java-jnlp-file"
		   NC:value="application/x-java-jnlp-file"
		   NC:editable="true"
		   NC:fileExtensions="jnlp"
		   NC:description="Java Web Start application">
	  <NC:handlerProp RDF:resource="urn:mimetype:handler:application/x-java-jnlp-file"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/x-java-jnlp-file"
		   NC:alwaysAsk="false"
		   NC:saveToDisk="false"
		   NC:useSystemDefault="false"
		   NC:handleInternal="false">
	  <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/x-java-jnlp-file"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/x-java-jnlp-file"
		   NC:path="/usr/lib64/jvm/java-6-sun/bin/javaws"
		   NC:prettyName="javaws" />
  <RDF:Description RDF:about="urn:mimetype:application/pdf"
		   NC:fileExtensions="pdf"
		   NC:description=""
		   NC:value="application/pdf"
		   NC:editable="true">
	  <NC:handlerProp RDF:resource="urn:mimetype:handler:application/pdf"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
		   NC:alwaysAsk="true"
		   NC:saveToDisk="false"
		   NC:useSystemDefault="true"
		   NC:handleInternal="false">
	  <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/pdf"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:application/vnd.adobe.pdf"
		   NC:value="application/vnd.adobe.pdf"
		   NC:editable="true"
		   NC:fileExtensions="pdf"
		   NC:description="">
	  <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.adobe.pdf"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/vnd.adobe.pdf"
		   NC:alwaysAsk="true"
		   NC:saveToDisk="false"
		   NC:useSystemDefault="true"
		   NC:handleInternal="false">
	  <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.adobe.pdf"/>
  </RDF:Description>
<RDF:Description RDF:about="urn:mimetype:application/vnd.ms-powerpoint"
		   NC:value="application/vnd.ms-powerpoint"
		   NC:editable="true"
		   NC:description="">
	  <NC:fileExtensions>ppt</NC:fileExtensions>
	  <NC:fileExtensions>pps</NC:fileExtensions>
	  <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.ms-powerpoint"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/vnd.ms-powerpoint"
		   NC:alwaysAsk="yes"
		   NC:saveToDisk="false"
		   NC:useSystemDefault="true">
	  <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.ms-powerpoint"/>
	  <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/ooimpress"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/vnd.ms-powerpoint"
		   NC:prettyName="ooimpress"
		   NC:path="/usr/bin/ooimpress" />
  <RDF:Description RDF:about="urn:handler:local:/usr/bin/ooimpress"
		   NC:prettyName="ooimpress"
		   NC:path="/usr/bin/ooimpress" />
  <RDF:Description RDF:about="urn:mimetype:application/vnd.ms-powerpoint.presentation.12"
		   NC:value="application/vnd.ms-powerpoint.presentation.12"
		   NC:editable="true"
		   NC:description="Microsoft PowerPoint Presentation">
	  <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.ms-powerpoint.presentation.12"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/vnd.ms-powerpoint.presentation.12"
		   NC:alwaysAsk="true"
		   NC:saveToDisk="false"
		   NC:useSystemDefault="true"
		   NC:handleInternal="false">
	  <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.ms-powerpoint.presentation.12"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:application/csv"
		   NC:fileExtensions="csv"
		   NC:description=""
		   NC:value="application/csv"
		   NC:editable="true">
	  <NC:handlerProp RDF:resource="urn:mimetype:handler:application/csv"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/csv"
		   NC:alwaysAsk="true"
		   NC:saveToDisk="false"
		   NC:useSystemDefault="false"
		   NC:handleInternal="false">
	  <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/csv"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/csv"
		   NC:path="/usr/bin/oocalc"
		   NC:prettyName="oocalc" />
  <RDF:Description RDF:about="urn:mimetype:application/x-httpd-php"
		   NC:value="application/x-httpd-php"
		   NC:editable="true"
		   NC:description="">
	  <NC:fileExtensions>php</NC:fileExtensions>
	  <NC:fileExtensions>phtml</NC:fileExtensions>
	  <NC:fileExtensions>pht</NC:fileExtensions>
	  <NC:handlerProp RDF:resource="urn:mimetype:handler:application/x-httpd-php"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/x-httpd-php"
		   NC:alwaysAsk="false"
		   NC:saveToDisk="false"
		   NC:useSystemDefault="false"
		   NC:handleInternal="false">
	  <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/x-httpd-php"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/x-httpd-php"
		   NC:path="/usr/bin/firefox"
		   NC:prettyName="firefox" />
  <RDF:Description RDF:about="urn:mimetypes">
    <NC:MIME-types RDF:resource="urn:mimetypes:root"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:schemes">
    <NC:Protocol-Schemes RDF:resource="urn:schemes:root"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:handler:web:https://mail.google.com/mail/?extsrc=mailto&amp;url=%s"
                   NC:prettyName="Gmail"
                   NC:uriTemplate="https://mail.google.com/mail/?extsrc=mailto&amp;url=%s" />
  <RDF:Description RDF:about="urn:handler:web:https://www.mibbit.com/?url=%s"
                   NC:prettyName="Mibbit"
                   NC:uriTemplate="https://www.mibbit.com/?url=%s" />
  <RDF:Description RDF:about="urn:handler:local:/usr/bin/kmailservice"
                   NC:prettyName="kmailservice"
                   NC:path="/usr/bin/kmailservice" />
  <RDF:Description RDF:about="urn:root"
                   NC:en-US_defaultHandlersVersion="3" />
  <RDF:Description RDF:about="urn:scheme:handler:irc"
                   NC:alwaysAsk="true">
    <NC:possibleApplication RDF:resource="urn:handler:web:https://www.mibbit.com/?url=%s"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:handler:ircs"
                   NC:alwaysAsk="true">
    <NC:possibleApplication RDF:resource="urn:handler:web:https://www.mibbit.com/?url=%s"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:handler:web:http://30boxes.com/external/widget?refer=ff&amp;url=%s"
                   NC:prettyName="30 Boxes"
                   NC:uriTemplate="http://30boxes.com/external/widget?refer=ff&amp;url=%s" />
</RDF:RDF>

And even after all that, there are glitches.  Gnome seems to sneak in an extra path here or there.  Firefox defaults sometimes magically change (could be user error or updates changing things from our settings).  If anyone knows of a better way, please post it.  Thanks - John

>
> 2011/12/6 John A. Sullivan III < jsullivan@... >
>
>
>
> ----- Original Message -----
>
> > From: "Jean Milot" < milot.jean@... >
> > To: trinity-users@...
> > Sent: Tuesday, December 6, 2011 1:13:43 AM
> > Subject: [trinity-users] Informations about kiosktool-trinity
>
>
> > Hello,
>
> > I use ubuntu with kde3 trinity and i would like to manage profil
> > and
> > file association for all the users.
>
> > So i find a package : kiosktool-trinity, j have already use
> > kiosktoll
> > so it was perfect.
>
> > Bu when i launch the application , it load ..... setting up
> > environnment. I can't create new profil or edit the default profil.
>
> > Somebody have used kiosktool ?
> <snip>
> We had started to use kiosktool but found it did not give us the
> flexibility we wanted. We thus created all the profiles manually and
> it has worked very well for us after we moved from KDE3 to Trinity
> on Debian Lenny. We have not yet begun our testing on Squeeze - John
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> trinity-users-unsubscribe@...
> For additional commands, e-mail:
> trinity-users-help@...
> Read list messsages on the Web archive:
> http://trinity-users.pearsoncomputing.net/
> Please remember not to top-post:
> http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
>
>
>
>
> --
>
> MILOT Jean
> Tél. : 0659514624
> milot.jean@...
>
>
>
>