[Newbies] 新人请教
Tofloor
poster avatar
dpmail
deepin
2021-11-09 02:43
Author

我是菜鸟小白,刚刚入坑。想在桌面建个快捷方式实现终端命令行的指令。

Reply Favorite View the author
All Replies
派了个萌
deepin
2021-11-09 02:49
#1

写个shell脚本双击运行?

Reply View the author
dpmail
deepin
2021-11-09 03:24
#2

是呀。我在fedora上好像见过类似的快捷方式,Deepin刚来还不太熟悉。

就是deepin终端里的自定义命令拖桌面的意思。
image.png

Reply View the author
enforcee
deepin
2021-11-09 03:25
#3

建一个空的文本文件,命名xxx.sh

第一行写

#!/bin/bash

然后把需要运行的命令写到下面

右键属性赋予执行权限

Reply View the author
dpmail
deepin
2021-11-09 05:02
#4
enforcee

建一个空的文本文件,命名xxx.sh

第一行写

#!/bin/bash

然后把需要运行的命令写到下面

右键属性赋予执行权限

谢谢大神已按方法实现。

Reply View the author
Fredoong
deepin
2021-11-09 17:32
#5

Linux使用者不应该在桌面放东西,难道Fedora的GNOME桌面能放东西?

Reply View the author
enforcee
deepin
2021-11-09 20:00
#6
Fredoong

Linux使用者不应该在桌面放东西,难道Fedora的GNOME桌面能放东西?

就算是没有桌面的GNOME,也给你保留了freedesktop规范的“桌面”文件夹

tail

Reply View the author