安装209吧,现在国产操作系统还处于起步阶段,不同版本变化还是很大的。
可以看run.sh里面写了啥
/opt/apps下
试试雷鸟邮件(thunderbird)呢,linux原生的浏览器客户端,也支持windows 和 macos
可以看run.sh里面写了啥
/opt/apps下
桌面图标启动参数
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Type=Application
X-Created-By=Deepin WINE Team
Categories=internet;
Icon=com.foxmail.deepin
Exec="/opt/apps/com.foxmail.deepin/files/run.sh" -f %f
Name=Foxmail
Name[zh_CN]=Foxmail
Comment=Tencent Foxmail Client on Deepin Wine6
StartupWMClass=Foxmail.exe
MimeType=
X-Deepin-CreatedBy=com.deepin.dde.daemon.Launcher
X-Deepin-AppID=com.foxmail.deepin
:~$ cat /opt/apps/com.foxmail.deepin/files/run.sh
#!/bin/bash
# Copyright (C) 2016 Deepin, Inc.
#
# Author: Li LongYu
# Peng Hao
version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; }
ACTIVEX_NAME=""
BOTTLENAME="com.foxmail.deepin"
APPVER="7.2deepin20"
EXEC_PATH="c:/Program Files/Foxmail 7.2/Foxmail.exe"
START_SHELL_PATH="/opt/deepinwine/tools/run_v4.sh"
export MIME_TYPE=""
export MIME_EXEC=""
export DEB_PACKAGE_NAME="com.foxmail.deepin"
export APPRUN_CMD="deepin-wine6-stable"
DISABLE_ATTACH_FILE_DIALOG=""
EXPORT_ENVS=""
EXEC_NAME="Foxmail.exe"
INSTALL_SETUP=""
export BOX86_EMU_CMD="/opt/deepin-box86/stable/box86"
export SPECIFY_SHELL_DIR=${START_SHELL_PATH%/*}
export WINESERVICESNODELAY=""
export WINESERVICESDISABLE=""
ARCHIVE_FILE_DIR="/opt/apps/$DEB_PACKAGE_NAME/files"
if [ -z "$APPRUN_CMD" ];then
export APPRUN_CMD="/opt/deepin-wine6-stable/bin/wine"
fi
if [ -f "$APPRUN_CMD" ];then
wine_path=$(dirname $APPRUN_CMD)
wine_path=$(realpath "$wine_path/../")
export WINEDLLPATH=$wine_path/lib:$wine_path/lib64
else
export WINEDLLPATH=/opt/$APPRUN_CMD/lib:/opt/$APPRUN_CMD/lib64
fi
export WINEPREDLL="$ARCHIVE_FILE_DIR/dlls"
_SetRegistryValue()
{
env WINEPREFIX="$BOTTLEPATH" $APPRUN_CMD reg ADD "$1" /v "$2" /t "$3" /d "$4" /f
}
if [ -z "$DISABLE_ATTACH_FILE_DIALOG" ];then
export ATTACH_FILE_DIALOG=1
fi
if [ -n "$EXPORT_ENVS" ];then
export $EXPORT_ENVS
fi
# 打包安装程序的情况
if [[ -z "$EXEC_PATH" ]] && [[ -n "$INSTALL_SETUP" ]];then
$START_SHELL_PATH $BOTTLENAME $APPVER "$EXEC_PATH" -c
BOTTLEPATH="$HOME/.deepinwine/$BOTTLENAME"
EXEC_PATH=$(find "$BOTTLEPATH" -name $EXEC_NAME | head -1)
if [ -z "$EXEC_PATH" ];then
_SetRegistryValue "HKCU\\Software\\Wine\\DllOverrides" winemenubuilder.exe REG_SZ
WINEPREFIX="$BOTTLEPATH" $APPRUN_CMD "$ARCHIVE_FILE_DIR/$INSTALL_SETUP"
EXEC_PATH=$(find "$BOTTLEPATH" -name $EXEC_NAME | head -1)
cp "$ARCHIVE_FILE_DIR/setup.md5sum" "$BOTTLEPATH"
fi
if [ -z "$EXEC_PATH" ];then
echo "安装失败退出"
exit
fi
fi
if [ -n "$EXEC_PATH" ];then
if [ -z "${EXEC_PATH##*.lnk*}" ];then
$START_SHELL_PATH $BOTTLENAME $APPVER "C:/windows/command/start.exe" "/Unix" "$EXEC_PATH" "$@"
elif [ -z "${EXEC_PATH##*.bat}" ];then
$START_SHELL_PATH $BOTTLENAME $APPVER "cmd" -f /c "$EXEC_PATH" "${@:2}"
else
$START_SHELL_PATH $BOTTLENAME $APPVER "$EXEC_PATH" "$@"
fi
elif [ -n "$ACTIVEX_NAME" ] && [ $# -gt 1 ];then
$START_SHELL_PATH $BOTTLENAME $APPVER "$1" -f "${@:2}"
else
$START_SHELL_PATH $BOTTLENAME $APPVER "uninstaller.exe" "$@"
fi
可以看run.sh里面写了啥
/opt/apps下
我也觉得与启动脚本相关,有空对比下能启动流畅的看下
对比启动脚本是一致的, 通过更新deepin-wine6-stable,问题得到了解决, 应该是wine本身的问题
apt-get remove deepin-wine6-stable
apt-get install deepin-wine6-stable
安装209吧,现在国产操作系统还处于起步阶段,不同版本变化还是很大的。
与wine相关,重装后问题解决了
Popular Ranking
ChangePopular Events
More
deepin20.8 打开foxmail非常慢,点击图标后,应用一直处理阻塞状态,大约过了近2分钟,才打开
1、查看进程已经启动
2、查看对应进程执行情况
发现foxmail进程处于Read 文件描述符7
3、查看对应的fd
7应该是一个pipe的读文件描述符,根据pipe的使用,一般父子进程通信使用,阻塞在读的位置,应该是与某个终端管理进程建立了联系,但一直没有回应,这个7号pipe到底与谁建立联系,如何解决呢(可能是配置层面),有经验的大神帮忙指点下