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

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!

主站蜘蛛池模板: 扬州市| 建水县| 东阿县| 宿州市| 龙陵县| 赣州市| 化州市| 加查县| 洛川县| 马鞍山市| 荃湾区| 广丰县| 罗定市| 商洛市| 通海县| 麻阳| 曲周县| 汽车| 灯塔市| 旌德县| 岳西县| 威远县| 宝清县| 白银市| 平凉市| 临沧市| 徐闻县| 德惠市| 满城县| 长宁县| 彭山县| 樟树市| 深水埗区| 绥江县| 灵宝市| 孝义市| 大竹县| 南靖县| 日喀则市| 建德市| 库车县|