Re: Another problem about launching external applications
[email protected] Fri, 19 Aug 2011 18:38:04 +0200
| Newsgroups | gmane.comp.web.opera.linux |
|---|---|
| Message-ID | <[email protected]> |
> Ranousse <[email protected]> writes: > > > And here's another thing I don't understand > > I have in operaprefs.ini > > audio/mp3=7,xterm -e mplayer,,,mp3,| > > and > > audio/x-mpegurl=7,xterm -e mplayer -playlist,,,m3u,| > > > > This means open with xterm -e mplayer [-playlist] and pass directly the > > url to the applications (7). > > When I clic on a mp3 file it opens a dialog box asking if I want to > > download the file or open it or .... If I choose open, the file is > > opened with the correct application, and the url is passed directly to > > the application (good) > > When I clic on a m3u playlist opera does the same thing except that it > > opens the file without showing the dialog box. > > > > Obviously it's not linked with -playlist word. I also tried with other > > filetypes avi, ... > > video/x-msvideo=7,xterm -e mplayer,,,avi,| > > and obtains the same result as with m3u. > > > > Why is there a difference only with mp3 files? > > In fact I prefer the way mp3 files are handled here. > > That sounds really odd. Maybe there is another entry that matches the > mp3 file? If you change 'xterm -e mplayer' to 'xterm -hold -e echo', do > you get an xterm showing the url? If I change xterm -e mplayer with xterm -hold -e mplayer, when I clic on a mp3 file opera propose to open with xterm -hold -e mplayer instead of xterm -e mplayer And if I press enter it opens the file with xterm -hold -e mplayer (as expected). -- Opera-Linux: https://list.opera.com/mailman/listinfo/opera-linux More lists: https://list.opera.com/mailman/listinfo/ Unsubscribe: mailto:[email protected]?subject=unsubscribe