开发者

How to add an item programmatically to the (System > Preferences > Startup Applications) in Linux?

开发者 https://www.devze.com 2023-04-11 14:07 出处:网络
There are some ways to run automa开发者_如何学Gotically program on startup under Linux But My question is different.

There are some ways to run automa开发者_如何学Gotically program on startup under Linux

But

My question is different.

I want to add a new item programmatically to the (System > Preferences > Startup Applications) in Linux. It means when I run my application, user see a new item under (System > Preferences > Startup Applications).


Add your .desktop file in this folder: ~/.config/autostart/

0

精彩评论

暂无评论...
验证码 换一张
取 消