官术网_书友最值得收藏!

  • Mastering OpenCV 4
  • Roy Shilkrot David Millán Escrivá
  • 103字
  • 2021-07-02 14:47:39

Running Cartoonifier automatically after bootup

Often, when you build an embedded device, you want your application to be executed automatically after the device has booted up, rather than requiring the user to manually run your application. To automatically run our application after the device has fully booted up and logged in to the graphical desktop, create an autostart folder with a file in it with these contents, including the full path to your script or application:

mkdir ~/.config/autostart
nano ~/.config/autostart/Cartoonifier.desktop
[Desktop Entry]
Type=Application
Exec=/home/pi/Cartoonifier/build/runCartoonifier.sh
X-GNOME-Autostart-enabled=true

Now, whenever you turn the device on or reboot it, Cartoonifier will begin running!

主站蜘蛛池模板: 花垣县| 大港区| 宁乡县| 白沙| 大关县| 潮安县| 积石山| 鹤岗市| 南宁市| 新营市| 遂溪县| 迭部县| 西盟| 牡丹江市| 新安县| 青神县| 安平县| 普兰店市| 沅陵县| 三台县| 奇台县| SHOW| 安平县| 三原县| 囊谦县| 罗平县| 洪雅县| 苍梧县| 平江县| 云梦县| 泰顺县| 克什克腾旗| 奉化市| 镇原县| 封丘县| 车险| 上林县| 鲜城| 岳西县| 高台县| 许昌市|