Yet once it started everything go as fast as expected, I tried seeking aboud and it seems the problem is the font cache. But, as you can see from the script below, for each wineprefix I use a separate cache; so it should happen only the first time.
The script I use to execute wine programs:
Code: Select all
#!/bin/bash
set -e
SCRIPTNAME="`readlink -e "$0"`"
SCRIPTDIR="`dirname "$SCRIPTNAME"`"
export WINEPREFIX="$SCRIPTDIR"/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
xrdb -query | grep -vE 'Xft\.(anti|hint|rgba)' | xrdb
cd "$WINEPREFIX"/drive_c/installationdir
wine executable.exe