How to add an item programmatically to the (System > Preferences > Startup Applications) in Linux?
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/
精彩评论