Debian9開機自啟動應用程序
- 在用戶目錄的 .config目錄下新建autostart目錄(系統(tǒng)開機默認是什么用戶就在什么用戶下創(chuàng)建)
su linaro #debian9默認是linaro用戶,所以先切換到linaro用戶
mkdir -p ~/.config/autostart

- 將test-gnome-terminal.desktop從U盤拷貝到~/.config/autostart目錄
cp /media/usb/test-gnome-terminal.desktop ~/.config/autostart

- 賦予權(quán)限 chmod 777 test-gnome-terminal.desktop
- 系統(tǒng)同步一下 sync
- 重啟系統(tǒng)驗證 reboot