📌  相关文章
📜  如何将 shell 脚本添加到启动器 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:25.139000             🧑  作者: Mango

代码示例3
#1.
gedit ~/.local/share/applications/name.desktop

#2.Paste below text

[Desktop Entry]
Type=Application
Terminal=true
Name=unmount-mount
Icon=/path/to/icon/icon.svg
Exec=/path/to/file/mount-unmount.sh

#edit Icon= and Exec= and Name=
#Also Terminal=True/false determines whether 
#the terminal opens a window and displays output or 
#runs in the background