- cd ~/.config/autostart/(没有autostart,自己 mkdir autostart)
- vim thunderbird.desktop,输入以下:
[Desktop Entry] Type=Application Encoding=UTF-8 Version=1.0 Name=No Name Name[en_US]=ThunderBird Comment[en_US]=ThunderBird Comment=ThunderBird Exec=s/usr/bin/thunderbird X-GNOME-Autostart-enabled=true
vim chromium.desktop,输入:
[Desktop Entry] Type=Application Encoding=UTF-8 Version=1.0 Name=No Name Name[en_US]=chromium-browser Comment[en_US]=chromium-browser Comment=chromium-browser Exec=s/usr/bin/chromium-browser X-GNOME-Autostart-enabled=true
- 简单比较conf文件,关键是:
Exec=s/usr/bin/chromium-browser(执行=指定bin)