如果使用LXDE的话,可以添加配置文件

    1. ~/.config/autostart/my-new-app-autostart.desktop

    在其中输入下面的内容

    1. [Desktop Entry]
    2. Type=Application
    3. Exec=executable-path arg1 arg2