notify-send
Use the current desktop environment's notification system to create a notification. More information: https://manned.org/notify-send.
- Show a notification with the title "Test" and the content "This is a test":
notify-send "Test" "This is a test"
- Show a notification with a custom icon:
notify-send "" ""
- Show a notification for 5 seconds:
notify-send 5000 "" ""
- Show a notification with the specified urgency level (default: normal):
notify-send "" ""
- Show a notification with an app's icon and name:
notify-send "" ""
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
