介绍一个可在deepin下直接运行exe的方法
Tofloor
poster avatar
138******09
deepin
2019-02-21 22:23
Author
本帖最后由 jinhx 于 2019-11-9 10:10 编辑

此方法基于 deepin-wine 实现

1、管理员权限打开 /usr/share/applications/
2、新建文本文件 wine.desktop ,并输入以下内容:
    [Desktop Entry]
    Name=Deepin-wine
    Exec=deepin-wine %F
    Type=Application
    MimeType=text/plain;

保存退出;
3、找到任意.exe文件,右键单击 --> 打开方式  -->  选择默认程序  -->  (找到 Deepin-wine)  -->  选择

以后需要运行exe文件,可直接双击exe文件运行,可以下载windows程序的安装文件,双击直接安装,但装完后要自己找到安装后的主程序,一般在 ~/.wine/下,找到后可直接双击运行,也可右键 -->  发送到桌面  形成桌面图标,双击图标运行

以上方法经deepin 15.9测试正常

关于乱码问题,把windows里的字体文件 simsum.ttc (这是宋体字体)复制过来,用deepin自带的字体安装器安装好,目前我用的软件就可以正常了
Reply Favorite View the author
All Replies
2 / 6
To page
avatar
pho
deepin
2019-05-24 01:28
#21
太好了,晚上回去试一下
Reply View the author
avatar
走钢丝
deepin
2019-06-02 22:40
#22
不错,可以了
Reply View the author
avatar
duanyao
deepin
2019-06-03 20:20
#23
其实在文件管理器上右键->打开方式,选择 deepin-wine 或者 wine,以后双击 exe 就可以运行了。
Reply View the author
avatar
南方橘子
deepin
2019-06-03 20:39
#24
干嘛不用deepin crossover? 这个是图形界面,还可以根据软件自动安装依赖,比其他强多了,我装了IE  office 等等
Reply View the author
avatar
Xue_HuZhi
deepin
2019-06-03 22:38
#25
https://bbs.deepin.org/post/174935
干嘛不用deepin crossover? 这个是图形界面,还可以根据软件自动安装依赖,比其他强多了,我装了IE  office ...

crossover不免费了
Reply View the author
avatar
hnzhangqiwen
deepin
2019-06-04 03:01
#26
https://bbs.deepin.org/post/174935
vim wine.desktop创建文件@gfubing

用什么新建文件,新建文件只有文本文档哦
Reply View the author
avatar
hnzhangqiwen
deepin
2019-06-04 03:17
#27
https://bbs.deepin.org/post/174935
其实在文件管理器上右键->打开方式,选择 deepin-wine 或者 wine,以后双击 exe 就可以运行了。 ...

找不到deepin-wine 这个
Reply View the author
avatar
duanyao
deepin
2019-06-05 00:12
#28
https://bbs.deepin.org/post/174935
找不到deepin-wine 这个

说详细一点吧:

深度文件管理器->exe文件上右键->打开方式->选择默认程序,如果没有deepin-wine 或者 wine ,点“添加其他程序”,进入 /usr/bin 目录,选择 deepin-wine 或者 wine 。

怎么知道是在/usr/bin 目录下的?可以用 which deepin-wine 命令来查看。
Reply View the author
avatar
duanyao
deepin
2019-06-05 00:14
#29
https://bbs.deepin.org/post/174935
用什么新建文件,新建文件只有文本文档哦

打开深度编辑器或其他GUI文本编辑器,新建文件、保存,文件名改为 .desktop 后缀即可。
Reply View the author
avatar
hnzhangqiwen
deepin
2019-06-05 00:22
#30
https://bbs.deepin.org/post/174935
打开深度编辑器或其他GUI文本编辑器,新建文件、保存,文件名改为 .desktop 后缀即可。 ...

后缀txt,怎么改不了 小白一个不好意思
Reply View the author
avatar
duanyao
deepin
2019-06-05 00:29
#31
https://bbs.deepin.org/post/174935
后缀txt,怎么改不了 小白一个不好意思

“保存文件”的对话框里,直接改文件名呀。
Reply View the author
avatar
hnzhangqiwen
deepin
2019-06-05 00:32
#32
https://bbs.deepin.org/post/174935
“保存文件”的对话框里,直接改文件名呀。

好像改名字的时候,不显示后缀?改完后就有了txt的后缀
Reply View the author
avatar
duanyao
deepin
2019-06-05 00:42
#33
https://bbs.deepin.org/post/174935
好像改名字的时候,不显示后缀?改完后就有了txt的后缀

显示的啊,如果不是,你截图来看。

Reply View the author
avatar
hnzhangqiwen
deepin
2019-06-05 00:46
#34
https://bbs.deepin.org/post/174935
显示的啊,如果不是,你截图来看。

我是右键新建文本文档,然后改名的,知道了,多谢前辈不吝赐教
Reply View the author
avatar
duanyao
deepin
2019-06-05 00:53
#35
https://bbs.deepin.org/post/174935
我是右键新建文本文档,然后改名的,知道了,多谢前辈不吝赐教

深度文件管理器的话,在其设置里面有“重命名时隐藏扩展名”的选项,关掉即可。
Reply View the author
avatar
深圳市耀影科技有限公司
deepin
2019-06-05 02:42
#36
The user is banned, and the content is hidden.
avatar
深圳市耀影科技有限公司
deepin
2019-06-05 02:46
#37
The user is banned, and the content is hidden.
avatar
hnzhangqiwen
deepin
2019-06-05 03:15
#38
https://bbs.deepin.org/post/174935
显示的啊,如果不是,你截图来看。

还是不行这个txt就是去不掉,改的时候去掉了,按下回车又有了
Reply View the author
avatar
深圳市耀影科技有限公司
deepin
2019-06-05 03:19
#39
The user is banned, and the content is hidden.
avatar
hnzhangqiwen
deepin
2019-06-05 03:25
#40
https://bbs.deepin.org/post/174935
我教你,你给我买糖吃,对着文件右键属性,文件名那里有个笔的形状,你点下,奇迹出现可以修改了, ...

没问题呀 兄弟,这个解决了,下一步是选择这个吗?怎么只有1kb
Reply View the author
2 / 6
To page