linux - 如何添加 session 启动程序

标签 linux ubuntu startup

已编辑:如何以编程方式添加程序以在 Ubuntu 上的用户 session 启动时启动?

我知道如何通过 Nautilus 执行此操作,但我想知道如何通过脚本执行此操作。

最佳答案

开始吧:Freedesktop Autostart specification 。只需将 .desktop 文件写入适当的位置即可。

关于linux - 如何添加 session 启动程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2135618/

相关文章:

linux - 用于 ubuntu 的 Visual Studio、xamarin、sql server

linux - 如果从 rc.local 而不是 SSH 调用,为什么这个 shell 不起作用?

c# - 在Azure中,启动appService并不执行Startup

android - 如何从同一网络中的 Android 设备访问本地主机上托管的站点?

regex - 在 Bash 中替换斜线

linux - antiword 在托管服务器上不起作用

ubuntu - 针对 Ubuntu 提供的 Crypto++ 进行编译

ubuntu - 在 Ubuntu 上下载 Parisienne 字体

meteor - 减少 meteor 应用程序的初始启动时间

c++ - 右侧的非法 token ::