Re: default application and xterm -e
Eirik Byrkjeflot Anonsen <[email protected]> Thu, 11 Aug 2011 07:15:27 +0200
| Newsgroups | gmane.comp.web.opera.linux |
|---|---|
| Message-ID | <[email protected]> |
Ranousse <[email protected]> writes: > 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. Random guess: if the application was cat instead of vi, the -hold would be absolutely necessary, right? Maybe that was one of the test cases the author was using. Is there a way to tell whether termination of an application should close the window or not? That being said, I think I tend to agree with you. -hold is probably by far the less common case. And if other applications generally do not add -hold, then we should probably do the same. Please file a bug report (http://bugs.opera.com/wizard/). eirik -- Opera-Linux: https://list.opera.com/mailman/listinfo/opera-linux More lists: https://list.opera.com/mailman/listinfo/ Unsubscribe: mailto:[email protected]?subject=unsubscribe