python - 登录系统时运行 Python 脚本? [xubuntu 15.04]

标签 python linux python-3.x xubuntu

我如何在 xubuntu 15.04 启动时运行 python 脚本? 我想运行一个脚本来提醒我一些事情,比如备份、买东西、调用某人。 我已经有了脚本,我只需要它在启动时启动。 ( python 3.4) 据我所知,xubuntu 15.04 使用 systemd。 我找到的所有教程都是针对 init.d 或 upstart 的。 我需要一个用于 systemd 的

最佳答案

找到了答案。 你必须去配置/系统设置/ session 和启动, 并添加程序。

关于python - 登录系统时运行 Python 脚本? [xubuntu 15.04],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30174585/

相关文章:

python - 找不到 django/apache/mod_wsgi 的 .pyc 文件

python - 理解 Python 中的 Axis

linux - BerkeleyDB 版本与 BDB/HDB 后端不兼容

linux - MongoDB安装Ubuntu 12.04 LTS报错

python - 使用类作为其方法中参数的类型提示

python - 不使用for循环查找numpy数组中元素的索引

python - Keras 和 TensorBoard - AttributeError : 'Sequential' object has no attribute '_get_distribution_strategy'

python - 如何从 rabbitmq 消息中获取 pika python 中的 basicproperties 头字段?

linux - 实时将日志拖尾到摘录中

python-3.x - 如何在 git push 上进行 VPS 自动更新