树莓派Ubuntu/Debian/Raspberry Linux设置GUI界面程序开机启动自启动

xingyun86 2021-3-17 944

树莓派Ubuntu/Debian/Raspberry Linux设置GUI界面程序开机启动自启动

sudo vi /etc/xdg/autostart/test.desktop
===================================================
[Desktop Entry]
    Version=1.0
    Name=QRDecode
    Exec=/home/test/guiapp   (这个是那个可执行文件的绝对路径)
    StartupNotify=false
    NoDisplay=true
    Type=Application
    Categories=System;Utility;Archiving;
===================================================

重启完成。

×
打赏作者
最新回复 (0)
只看楼主
全部楼主
返回