Displaying 2 results from an estimated 2 matches for "kdestart".
Did you mean:
d_start
2009 Apr 28
0
File association in wine
...ile, it isn't freedesktop compliant, i am a KDE and only KDE user [Wink]
The script reads the global mime database located at /usr/share/mime/globs, merges it with the user database located at /usr/share/mime/globs then generate an extension.reg file.
Every extension is associated to a "kdestart.exe" script that you can put somewhere in the PATH and customize as you like (and maybe make it freedesktop.org compliant [Wink] )
Here's the script (copy and paste in a file, make it executable and run it)
WINEPREFIX=${WINEPREFIX:-$HOME/.wine}
FILEOUT=extension.reg
echo REGEDIT4 > $...
2005 Jan 10
0
file associations in wine
...:
REGEDIT4
[HKEY_CLASSES_ROOT\.sxw]
@="sxw.document"
[HKEY_CLASSES_ROOT\sxw.document]
@="sxw.document"
[HKEY_CLASSES_ROOT\sxw.document\shell]
[HKEY_CLASSES_ROOT\sxw.document\shell\open]
[HKEY_CLASSES_ROOT\sxw.document\shell\open\command]
@="C:\\windows\\command\\start.exe kdestart.exe \"%1\""
where kdestart.exe is a link to the following script:
#!/bin/bash
i=`winepath -u "$*"`
kfmclient exec "$i"
so now sxw-files open in OpenOffice like I wanted. But now I would like to
have a file association to each filetype unknown to wine, so that...