创建 .desktop 快捷方式
$ mkdir ~/RTSPCam83/
$
$ vi ~/RTSPCam83/RTSPCam83.desktop
[Desktop Entry]
Name=RTSPCam83
Comment=Fun with camera
Icon=/home/pi/RTSPCam83/logo.png
Exec=/bin/sh /home/pi/RTSPCam83/launcher.sh
Terminal=false
Type=Application
Categories=Application
StartupNotify=true
$ vi ~/RTSPCam83/launcher.sh
#!/bin/sh
lxterminal -e "ping localhost -c 3"
sensible-browser "http://localhost:8080/?action=stream"
$ sudo cp ~/RTSPCam83/RTSPCam83.desktop /usr/share/applications/