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

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!

主站蜘蛛池模板: 泰和县| 章丘市| 永善县| 甘谷县| 奎屯市| 泰州市| 富裕县| 大丰市| 合川市| 紫阳县| 广宗县| 缙云县| 贡嘎县| 井陉县| 得荣县| 银川市| 乡城县| 临湘市| 准格尔旗| 霍林郭勒市| 临清市| 瑞丽市| 深州市| 清原| 平昌县| 尼勒克县| 英德市| 河南省| 济阳县| 和硕县| 滁州市| 呼图壁县| 即墨市| 礼泉县| 金寨县| 屯门区| 南漳县| 土默特左旗| 昭平县| 济宁市| 武威市|