开发者

Using Python to add/remove Ubuntu login script items

开发者 https://www.devze.com 2022-12-31 12:03 出处:网络
I have written a Python application and would like to give my users the option of havi开发者_开发技巧ng the app automatically launch itself when the user logs in. It is important that the user is able

I have written a Python application and would like to give my users the option of havi开发者_开发技巧ng the app automatically launch itself when the user logs in. It is important that the user is able to toggle this option on/off from within the app itself, rather than having to manually edit login scripts, so this needs to be done from within the Python code rather than from a shell script. The app is deployed on Ubuntu Linux, any suggestions for the best way of doing this?


Here's what you need to handle autostart.

0

精彩评论

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

关注公众号