Another problem about launching external applications

Ranousse <[email protected]> Thu, 18 Aug 2011 10:23:21 +0200
Newsgroups gmane.comp.web.opera.linux
Message-ID <20110818082321.GA2723@pierre>
It seems that opera is able to read informations in
~/.local/share/applications (desktop file)
and
~/.mailcap

I have in ~/.mailcap,
application/pdf; pdftotext '%s' -; needsterminal

And in the download window (ctrl-j), if I right clic on a pdf, open with
propose pdftotext. What's strange is that it does not work. Could it be
possible that opera has a problem with the needsterminal information.

Another strange thing is that there's in the menu the line
- false
I wonder if there could be a problem with
Terminal=false (in desktop file)
or
test=something (in .mailcap)


Another problem. At the beginning I probably made a mistake.
I had a .ram file (playlist file containing a .rm url).
With my wrong configuration
xdg-open file.ram open the file with vi and for a reason I don't know
yet, xdg-open file.ram works in a terminal but not without terminal
(although I used needs terminal, but it's not opera's problem)
The problem is that when I ask opera to open the file with this wrong
xdg-open application, opera freeze and the only to close it seems to be
kill -9 (the -9 is necessary). Even if I made a mistake forgetting
needsterminal somewhere, it would probably be better that opera handles
this case without crashing.

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