如果使用LXDE的话,可以添加配置文件 ~/.config/autostart/my-new-app-autostart.desktop在其中输入下面的内容 [Desktop Entry]Type=ApplicationExec=executable-path arg1 arg2