Re: Another problem about launching external applications

[email protected] Tue, 23 Aug 2011 10:28:48 +0200
Newsgroups gmane.comp.web.opera.linux
Message-ID <[email protected]>
I tried the following (not sure I understood what you asked me to do)

in /tmp

opera --personaldir TEST
close opera
open operaprefs.ini in TEST

add at the end the lines
[File Types]
audio/mp3=7,xterm -e mplayer,,,mp3,|

then opera  --personaldir TEST again
I observe the same behaviour
the dialog box is opened and it proposes me to use xterm -e mplayer,
commands that seems to be used.


> That rather does seem to indicate that this is the entry that is used.
> Unless this entry is only used for the suggested application, and there
> is another entry that causes the dialog to be popped up.  I would guess
> that the mime type (audio/mp3) is more important than the "file name"
> extension (mp3).
> 
> However, I see that if I try to have two entries with the same mime
> type, only the last one remains after running opera (testing with my
> current development version).
> 
> It works "correctly" for me. That is, it runs the command without
> opening any dialog.  While I'm testing on a very experimental
> development version, I would expect this behaviour to be mostly the
> same.
> 
> Could you try if it behaves the same way with a clean install?  The easy
> way to test this is to start opera with the parameter "--personaldir"
> giving a directory name that doesn't exist.  E.g. as so:
> 
> opera --personaldir test_operadir
> 
> (Make sure "test_operadir", or whatever you choose does not already
> exist.)
--
Opera-Linux: https://list.opera.com/mailman/listinfo/opera-linux
More lists: https://list.opera.com/mailman/listinfo/
Unsubscribe: mailto:[email protected]?subject=unsubscribe