[Fedora-packaging] Re: Calling graphical tools generically e.g. text editor
Axel Thimm
Axel.Thimm at ATrpms.net
Thu Aug 28 18:59:41 UTC 2008
On Thu, Aug 28, 2008 at 11:16:05AM -0500, Rex Dieter wrote:
> Axel Thimm wrote:
>
>> Maybe xdg-open needs two modes, read-only and editing?
Add a third one as "ask user which one of the N editors/viewers to
use, if there are more than one registered" (e.g. not only the
preferred one, see also below).
> I'd argue this is a problem better solved one level higher, via
> mimetypes (somehow).
You mean that apps register as png/viewer-only and png/editor for
example? Actually mimetypes are for describing the data only, so the
extra information for the applications ability to view/edit would have
to be encoded differently.
But still if a file browser just sees some file (say a png file) and
one double clicks on it, if it just starts xdg-open it will not be
able to pass on what the user wants to do, view or edit.
Windows (TM) seems to have a default of "open as in viewing" and a
non-default (with Shift?) as "open as in editing". I think there is
even an "ask the user which ones of the 100 png viewer to use". Anyone
know how OS X solves this?
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20080828/a1bd867c/attachment.sig>
More information about the Fedora-packaging
mailing list