Quote
Fred
Note: In Linux this would probably only work with installed Windows
apps inside the .wine configuration folder, because most Linux
apps would probably not be found. It should work for realplay.exe
or winamp.exe, or if you succeeded to install Windows Media Player.
No, it works with Linux applications, but there is a problem for Linux programs with Windows path used by K-Meleon. That's the reason of my extension Win2Tux. As it's not possible to correct the path before using programs defined in mimetypes, my extension corrects path, and after, using extensions instead of mimetypes, opens the program needed.
Linux program path are like this:
Z:\usr\bin\thunderbird
A lot of file types are concerned, and can be opened in Linux programs.
Another way, but it needs some more functions in macros.exe : win2tux() and tux2win(), ought to be, after converting paths, to use programs such gnome-open, kmfclient or exo-open (depending of the system used).
Here is the preview.cmd I use to open presentations in KMES setups:
@echo off
if exist z:\usr\bin\gnome-open goto gnome-open
if exist z:\usr\bin\kfmclient goto kfmclient
if exist z:\usr\bin\exo-open goto exo-open
goto fin
:gnome-open
z:\usr\bin\gnome-open "%1"
goto fin
:kfmclient
z:\usr\bin\kfmclient exec "%1"
goto fin
:exo-open
z:\usr\bin\exo-open "%1"
:fin
I'm not sure that it allows to open all the filetypes, but there will be no more necessary to add ext files in the config of win2tux.
For the sample you use of media files, I think it's a pity to use windows programs, as there are a lot of programs which can handle these filetypes. More, they have the great advantage to be line commands (mplayer for example)
A+
Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0
Web:
http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr
Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc
Edited 1 time(s). Last edit at 01/29/2010 08:19PM by JujuLand.