在 Debian 中设置开机自动启动的方法
先用 which sth 查一下 sth 的位置。
再建立 ~/.config/autostart/sth.desktop。
最后在 sth.desktop 里写入:
[Desktop Entry]
Type=Application
Name=sth
Exec=/usr/bin/sth
Path=/usr/bin
Terminal=false
X-GNOME-Autostart-enabled=true
先用 which sth 查一下 sth 的位置。
再建立 ~/.config/autostart/sth.desktop。
最后在 sth.desktop 里写入:
[Desktop Entry]
Type=Application
Name=sth
Exec=/usr/bin/sth
Path=/usr/bin
Terminal=false
X-GNOME-Autostart-enabled=true