Add start from xterm

This commit is contained in:
Castro-Fidel
2019-12-01 00:43:17 +03:00
parent aae3bd7c50
commit 0a346f2040
4 changed files with 22078 additions and 21 deletions

View File

@ -139,15 +139,12 @@ fi
# export WINEESYNC=1
# fi
#fi
${WINESERVER} -k
chmod -R 777 "${WINEPREFIX}"
${WINESERVER} -k
########################################################################
START_PORTWINE ()
{
chown -R "$USER" "$WINEPREFIX/drive_c"
chown -R "$USER" "$WINEPREFIX"/*.reg
gpu="0"
export DRI_PRIME=1
export optirun_on=env
@ -210,13 +207,6 @@ export DXVK_STATE_CACHE=0
export __GL_SHADER_DISK_CACHE_PATH="${PATH_TO_GAME}"
export __GL_SHADER_DISK_CACHE=1
export mesa_glthread="true"
if [ -x "`which nvidia-settings 2>/dev/null`" ]
then
export LD_PRELOAD="libpthread.so.0 libGL.so.1"
export __GL_THREADED_OPTIMIZATIONS=1
fi
}
########################################################################