怎样在桌面建立快捷方式运行exe文件?我发现在目录里可以
Tofloor
poster avatar
liujy126
deepin
2020-08-14 01:41
Author
比如我在e盘的 fscapture.exe所在的文件夹里运行终端,输入:
deepin-wine5 fscapture.exe
是可以正常运行的,那怎么样才能在桌面上建一个快捷方式?
Reply Favorite View the author
All Replies
avatar
beautycell
deepin
2020-08-14 02:25
#1
你是如何升级到wine5的 可否分享一下
Reply View the author
avatar
beautycell
deepin
2020-08-14 02:26
#2
你是如何升级到wine5的 可否分享一下
Reply View the author
avatar
ganghao
deepin
2020-08-14 02:33
#3
https://bbs.deepin.org/post/199397
你是如何升级到wine5的 可否分享一下

如何查自己是安装的哪个wine?
Reply View the author
avatar
安洛
deepin
2020-08-14 02:57
#4
https://bbs.deepin.org/post/199397
如何查自己是安装的哪个wine?

终端输入wine --version
Reply View the author
avatar
enforcee
deepin
2020-08-14 02:58
#5
在桌面上右键新建文本文档 命名为
文件名.desktop

右键打开输入内容

[Desktop Entry]
Exec=deepin-wine5 "路径"
Name=名称
Type=Application

然后保存 三个参数都要有 路径要英文的双引号
更详细的这里有 还可以设置图标什么的

https://specifications.freedeskt ... ry-spec-latest.html
你也可以参考系统自带的启动器 在

/usr/share/applications/
Reply View the author
avatar
安洛
deepin
2020-08-14 03:12
#6
用desktop文件。在桌面新建xxx.desktop文件,里面填写类似:
  1. [Desktop Entry]
  2. Name = 快捷方式名称
  3. Exec = 命令,要用绝对地址
  4. Icon = 图标路径
  5. Type = Application
  6. Categories = 分类(可选)
Copy the Code

最好还是用一个脚本把命令写进去然后把脚本路径填进Exec行,不过wine命令的话直接写问题不大。
Reply View the author
avatar
ganghao
deepin
2020-08-14 04:20
#7
https://bbs.deepin.org/post/199397
终端输入wine --version

ganghao@ganghao-PC:~$ wine --version
bash: wine:未找到命令
Reply View the author
avatar
wzb
deepin
2020-08-14 05:15
#8
https://bbs.deepin.org/post/199397
ganghao@ganghao-PC:~$ wine --version
bash: wine:未找到命令

这是因为你没有装wine

https://www.jianshu.com/p/929ef04cc468
Reply View the author
avatar
ganghao
deepin
2020-08-14 05:24
#9
https://bbs.deepin.org/post/199397
这是因为你没有装wine

https://www.jianshu.com/p/929ef04cc468

ganghao@ganghao-PC:~$ deepin-wine5 --version
wine-5.0
ganghao@ganghao-PC:~$
这个的意思是系统自带有wine5.0吗?
Reply View the author
avatar
wzb
deepin
2020-08-14 05:40
#10
https://bbs.deepin.org/post/199397
ganghao@ganghao-PC:~$ deepin-wine5 --version
wine-5.0
ganghao@ganghao-PC:~$

好像是。我是自己安装的wine。直接双击就可以打开exe
Reply View the author
avatar
ganghao
deepin
2020-08-14 05:47
#11
https://bbs.deepin.org/post/199397
好像是。我是自己安装的wine。直接双击就可以打开exe

我的不得行,不知道为什么。
Reply View the author
avatar
wzb
deepin
2020-08-14 06:01
#12
https://bbs.deepin.org/post/199397
我的不得行,不知道为什么。

我这个输入wine --version会有显示
输入deepin-wine5 --version没显示
Reply View the author
avatar
liujy126
deepin
2020-08-14 17:15
#13
本帖最后由 liujy126 于 2020-8-14 09:31 编辑
https://bbs.deepin.org/post/199397
你是如何升级到wine5的 可否分享一下

全新安装deepin之后更新一下系统,然后立马装spark商店,安装里面的微信,它自带deepin-wine5。
关键点:
1/千万别先装原版的wine5,别装deepin-wine5,也别装其他版本的微信,至少别再装spark微信之前,否则微信搞不定的。
2/新装的系统一定要第一时间更新,系统更新或update+upgrade都行,否则一个spark商店就让你装两个小时不新鲜(那里面缺少的依赖都是从境外站点上1k1k给你下,你等着吧)。

老手们肯定怎么都能搞定,了不得自己写代码,咱不行,天天在论坛上慌了三月都没搞定

Reply View the author
avatar
beautycell
deepin
2020-08-14 17:59
#14
https://bbs.deepin.org/post/199397
全新安装deepin之后更新一下系统,然后立马装spark商店,安装里面的微信,它自带deepin-wine5。
关键点:  ...

谢谢你 写的这么详细和认真
Reply View the author
avatar
安洛
deepin
2020-08-15 02:17
#15
https://bbs.deepin.org/post/199397
ganghao@ganghao-PC:~$ deepin-wine5 --version
wine-5.0
ganghao@ganghao-PC:~$

wine是用来运行windows程序的软件。
而deepin-wine是deepin基于wine修改而来的用来发布qq(wine)、微信(wine)等软件的。
安装商店里的wine软件会自动安装deepin-wine,而deepin-wine5目前仍在测试,可以手动下载,安装星火商店的部分软件会自动安装。wine需要手动安装。
deepin-wine和wine在绝大多数情况下功能差不多。
Reply View the author
avatar
liujy126
deepin
2020-08-15 20:46
#16
https://bbs.deepin.org/post/199397
用desktop文件。在桌面新建xxx.desktop文件,里面填写类似:

最好还是用一个脚本把命令写进去然后把脚本路 ...

能具体讲一下吗,谢谢!
Reply View the author
avatar
安洛
deepin
2020-08-16 03:17
#17
https://bbs.deepin.org/post/199397
能具体讲一下吗,谢谢!

就是在桌面新建一个文本文档,重命名成xxx.desktop(注意要打开文件管理器设置里面的显示后缀名),然后里面填进:
  1. [Desktop Entry]
  2. Name = 快捷方式名称
  3. Exec = 命令,要用绝对地址。
  4. Icon = 软件图标路径,选填
  5. Type = Application
Copy the Code

比如你举的例子就是:
  1. [Desktop Entry]
  2. Name = fscapture
  3. Exec = deepin-wine5 /media/你的用户名/你的e盘卷标/fscapture.exe
  4. Icon =
  5. Type = Application
Copy the Code

因为你给的信息不是很够,里面的中文部分请自己替代。
Reply View the author
avatar
liujy126
deepin
2020-08-17 18:01
#18
https://bbs.deepin.org/post/199397
就是在桌面新建一个文本文档,重命名成xxx.desktop(注意要打开文件管理器设置里面的显示后缀名),然后 ...

明白了,太感谢了!
Reply View the author
avatar
mardou
deepin
2020-08-17 18:19
#19
两个字:复杂。
Reply View the author
avatar
安洛
deepin
2020-08-18 02:51
#20

因为他是想运行exe。如果是linux的可执行文件,直接右键创建快捷方式就行了
Reply View the author