how execute script python

how to run one python script when turning on computer? (I am a beginner in the manjaro and I am using google translator)

Assume that you want this script keep running in the background like a service-daemon.
Since Manjaro uses systemd (like Arch), one way to do this is to write an unit file (ArchWiki) for your script and let it be managed by systemd (as a service.)


#!/usr/bin/env python

To the top of the script.

Make the script executable:

chmod +x

Add it to your start up programs. It is a bit more complicated if running gnome.

How do I put in startup programs? I'm using XFCE

search function go to

I really should have an XFCE install to refer to.

Seems to cover it.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by