- 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!
推薦閱讀
- 簡(jiǎn)單高效LATEX
- C#程序設(shè)計(jì)(慕課版)
- WSO2 Developer’s Guide
- Django:Web Development with Python
- 數(shù)據(jù)結(jié)構(gòu)簡(jiǎn)明教程(第2版)微課版
- JavaScript前端開發(fā)與實(shí)例教程(微課視頻版)
- 基于差分進(jìn)化的優(yōu)化方法及應(yīng)用
- 人人都是網(wǎng)站分析師:從分析師的視角理解網(wǎng)站和解讀數(shù)據(jù)
- Building RESTful Python Web Services
- Building Machine Learning Systems with Python(Second Edition)
- 持續(xù)輕量級(jí)Java EE開發(fā):編寫可測(cè)試的代碼
- Raspberry Pi Robotic Projects(Third Edition)
- QGIS 2 Cookbook
- C++程序設(shè)計(jì)
- STM8實(shí)戰(zhàn)