在 Debian 中设置开机自动启动的方法: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
X-GNOME-Autostart-enabled=true | X-GNOME-Autostart-enabled=true | ||
</pre> | </pre> | ||
就可以了。 | |||
Latest revision as of 10:23, 10 May 2026
先用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
就可以了。