Its a very annoying behaviour of Wine to hack into my file handling. What the hell should I do with notepad when I open a text files? Just an example. Please don't start any Windows exe automatically. And please don't override my defaults!
Nevertheless, great application. Thanks a lot!
Mime types
Re: Mime types
You can disable that. http://wiki.winehq.org/FAQ#head-c847a3d ... d4c7ae042a
Re: Mime types
Thank you. But please make it the default.
-
- Newbie
- Posts: 2
- Joined: Thu Feb 28, 2013 1:38 am
Re: Mime types
Sounds like a good suggestion. I would have to agree with him.Scotty wrote:Thank you. But please make it the default.

Re: Mime types
To reduce headaches I usually use two scripts, one to initialize a wine environment and another to start applications.
To initialize, just execute from the directory you want to install the Windows software:
About LC_ALL=C I set it because in my default local winetricks does not work well, you might not need it.
To start the application, copy this in the previous directory and change the last line to execute the program:
Change the last line to "bash" if you need to prepare the environment for some Gold level application.
To initialize, just execute from the directory you want to install the Windows software:
Code: Select all
#!/bin/bash
set -e
STARTPWD="`readlink -e "$PWD"`"
export WINEPREFIX="$STARTPWD"/wine
export XDG_CONFIG_HOME="$WINEPREFIX"/xdg_conf
export XDG_DATA_HOME="$WINEPREFIX"/xdg_home
export XDG_CACHE_HOME="$WINEPREFIX"/xdg_cache
export WINEARCH=win32
export LC_ALL=C
wineboot -u
winetricks sandbox
To start the application, copy this in the previous directory and change the last line to execute the program:
Code: Select all
#!/bin/bash
set -e
STARTPWD="`readlink -e "$PWD"`"
export WINEPREFIX="$STARTPWD"/wine
export XDG_CONFIG_HOME="$WINEPREFIX"/xdg_conf
export XDG_DATA_HOME="$WINEPREFIX"/xdg_home
export XDG_CACHE_HOME="$WINEPREFIX"/xdg_cache
export WINEARCH=win32
export LC_ALL=C
cd "$WINEPREFIX"/drive_c/APPLICATION
wine APP.EXE