default application and xterm -e

Ranousse <[email protected]> Wed, 10 Aug 2011 18:25:39 +0200
Newsgroups gmane.comp.web.opera.linux
Message-ID <20110810162538.GA14146@pierre>
Suppose your in
~/.local/share/applications/defaults.list

text/plain=vi.desktop

and vi.desktop is a file in ~/.local/share/applications/ containing

[Desktop Entry]
Name=vi
Exec=vi %f
Terminal=true
Type=Application


Opera reads this informations and opens files with mime type text/plain
with
xterm -hold -e vi file.

My problem is the -hold, which means do not close xterm when the
application has finished. It's not natural at all for me.
I wonder why opera adds -hold and if there is something that could be
customized to avoid this.

Adding -hold is I think not natural.
In .mailcap when say needsterminal=true, see or xdg-open does not add
-hold to xterm.
File managers using .local/share information (thunar for instance) does
not add -hold.


--
Opera-Linux: https://list.opera.com/mailman/listinfo/opera-linux
More lists: https://list.opera.com/mailman/listinfo/
Unsubscribe: mailto:[email protected]?subject=unsubscribe