MIME-Editor Alpha
Posted: Sat 09 Feb 2008, 15:36
The MIME-Editor will try to make Puppy compatible with all those external filemanagers, that support the freedesktop.org specifications.
For Rox-Filer, please create a new thread.
It works completely different.
This thread shall deal only deal with MIME-Types following the freedesktop.org specifications to avoid confusion.
The editor analyzes and modifies .desktop files in
/usr/share/applications
and
~/.local/share/applications
And in their subfolders.
The .desktop-files contain information, about what program shall be used to open a specific "MIME-Type".
Imagine like in Windows:
you click on "test.doc", and Word opens it.
But MIME-Types are more complex.
In Linux, a file is not recognized (directly) by the extension (.doc), but by a set of rules.
This allows to associate it with more than one program.
If you use the filemanager PCManFM, you can right-click a .doc, then it offers to open it with OpenOffice, Kword, Abiword or others.
You can get PCManFM here:
http://murga-linux.com/puppy/viewtopic.php?t=25699
This flexibility makes it also difficult, to handle these associations.
My program tries to make it a bit easier by a grafical interface.
NOTE: this actually does NOT affect Rox-filer, Puppys default filemanager.
It has an own system to manage Mime-types.
I included a converter, that reads Puppys Rox-MIME-Types and converts them to the way of using Desktop-files.
So you can manage everything for programs that use this way of organizing file-assosiations.
NOTE2:
I'm no expert in this.
Maybe my program does things wrong, not following recommended specifications.
I will learn and try to enhance it in that direction, but for this release PLEASE BACKUP YOUR pup_save.2fs FIRST!
Download:
see attachment at bottom of this message.
Requires GtkBasic:
http://dotpups.de/puppy3/dotpups/Progra ... ic-003.pup
Mirror:
http://puppyfiles.ca/dotpupsde/puppy3/d ... ic-003.pup
Screenshot:
Full size:
http://noforum.de/pics/MIME-Editor.jpg
Mark
For Rox-Filer, please create a new thread.
It works completely different.
This thread shall deal only deal with MIME-Types following the freedesktop.org specifications to avoid confusion.
The editor analyzes and modifies .desktop files in
/usr/share/applications
and
~/.local/share/applications
And in their subfolders.
The .desktop-files contain information, about what program shall be used to open a specific "MIME-Type".
Imagine like in Windows:
you click on "test.doc", and Word opens it.
But MIME-Types are more complex.
In Linux, a file is not recognized (directly) by the extension (.doc), but by a set of rules.
This allows to associate it with more than one program.
If you use the filemanager PCManFM, you can right-click a .doc, then it offers to open it with OpenOffice, Kword, Abiword or others.
You can get PCManFM here:
http://murga-linux.com/puppy/viewtopic.php?t=25699
This flexibility makes it also difficult, to handle these associations.
My program tries to make it a bit easier by a grafical interface.
NOTE: this actually does NOT affect Rox-filer, Puppys default filemanager.
It has an own system to manage Mime-types.
I included a converter, that reads Puppys Rox-MIME-Types and converts them to the way of using Desktop-files.
So you can manage everything for programs that use this way of organizing file-assosiations.
NOTE2:
I'm no expert in this.
Maybe my program does things wrong, not following recommended specifications.
I will learn and try to enhance it in that direction, but for this release PLEASE BACKUP YOUR pup_save.2fs FIRST!
Download:
see attachment at bottom of this message.
Requires GtkBasic:
http://dotpups.de/puppy3/dotpups/Progra ... ic-003.pup
Mirror:
http://puppyfiles.ca/dotpupsde/puppy3/d ... ic-003.pup
Screenshot:
Full size:
http://noforum.de/pics/MIME-Editor.jpg
Mark