[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to call default text editor? (Was: Re: How to call default browser)



Thanks for all your comments.

On 2007-08-30 0:51:09 +0200, Patrice Dumas wrote:
> On Thu, Aug 30, 2007 at 12:29:36AM +0200, Gérard Milmeister wrote:
>> However, it is probably meant to really use a text editor and not
>> whatever is associated with the file type, so xdg-open is not adequate.
> 
> Indeed if it is just to open a text editor and not to edit a file
> or if it is to edit a file which hasn't a mimetype corresponding with 
> text/plain, xdg-open cannot be used.

That program (ISO Master) in the newest version has an ability to View
and Edit files. Author designed web browser (by default firefox) to be a
viewer and some text editor (by default mousepad - I didn't have it
installed) to be an editor.
Idea with xdg-open for a view operation is very good. A File will be
viewed by an assigned viewer (even default with original idea).
But not with edit command. HTML , XML, file no extension despite of
their mime type all should be opened in a text editor.

Is there way to call default text editor and force it to open any (text)
file?
Something like: default-text-editor some-file


Regards
Marcin


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]