📅  最后修改于: 2022-03-11 14:50:25.139000             🧑  作者: Mango
#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