Originally posted by Michael
View Post
# Set Wine Manager Variables
export WINEMGR_DATA_DIR=`echo ~/.winemgr`
export WINEMGR_MENU_ROOT=`echo ~`
export WINEMGR_MENU_REFRESH="xfce4-panel -r"
# Set Default Wine Paths
export WINEVERPATH=`echo $WINEMGR_DATA_DIR/wine_dflt`
export PATH=$WINEVERPATH/bin:$PATH
export WINESERVER=$WINEVERPATH/bin/wineserver
export WINELOADER=$WINEVERPATH/bin/wine
export WINEDLLPATH=$WINEVERPATH/lib/wine/fakedlls
export LD_LIBRARY_PATH="$WINEVERPATH/lib:$LD_LIBRARY_PATH"
# Set Wine Staging Realtime Priority
export STAGING_RT_PRIORITY_SERVER=95
export STAGING_RT_PRIORITY_BASE=95
And then each Wine version has it's own custom environment script. Here's an example:
#!/bin/bash
export WINEVERPATH=/opt/wine-staging-3.9
export PATH=$WINEVERPATH/bin:$PATH
export WINESERVER=$WINEVERPATH/bin/wineserver
export WINELOADER=$WINEVERPATH/bin/wine
export WINEDLLPATH=$WINEVERPATH/lib/wine/fakedlls
export LD_LIBRARY_PATH="$WINEVERPATH/lib:$LD_LIBRARY_PATH"
This enables me to run multiple Wine versions and programs within their own environment. But it would be near impossible to explicitly take into account custom setups like mine. That's why I'd recommend some facility to execute user setup scripts before invoking a benchmark. And thank you for your quick response!
Comment