- 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!
推薦閱讀
- Rust實戰
- Microsoft Dynamics 365 Extensions Cookbook
- Java Web程序設計
- Xamarin.Forms Projects
- 基于Swift語言的iOS App 商業實戰教程
- ServiceNow:Building Powerful Workflows
- Hands-On Kubernetes on Windows
- Python大學實用教程
- Visual Basic程序設計全程指南
- Drupal 8 Development Cookbook(Second Edition)
- 和孩子一起學編程:用Scratch玩Minecraft我的世界
- CryENGINE Game Programming with C++,C#,and Lua
- Flutter從0基礎到App上線
- Windows 10 for Enterprise Administrators
- Swift iOS Programming for Kids