1

How can i run a python script at startup with xubuntu 15.04? I want to run a script that reminds me of things,like backup,buying thing,calling somebody. I already have the script,i just need it to start at startup. (Python 3.4) As far i know, xubuntu 15.04 uses systemd. All the tutorials i found,are for init.d or upstart. I need one for systemd

10
  • Does this help: unix.stackexchange.com/questions/47695/…
    – ashwinjv
    May 11, 2015 at 18:10
  • Does your script print on the terminal or does it open its own windows? Do we need to start a terminal automatically for it once xubuntu shows you as logged in?
    – Paul
    May 11, 2015 at 18:10
  • It opens it's own window (made in tkinter) so no terminal neded
    – Pentagon98
    May 11, 2015 at 18:13
  • OK but you definitely need X Windows running, so don't stick it in /etc/rc.local as is. You can play games with forking a subprocess that sleeps for a while on the gamble that X will be running by then, and stick that in /etc/rc.local but there is a cleaner way to do it, probably in that answer about Gnome.
    – Paul
    May 11, 2015 at 18:14
  • 1
    I running XFCE,not Gnome
    – Pentagon98
    May 11, 2015 at 18:15

1 Answer 1

0

Found the answer. You have to go Configuration/Systemsettings/Session and Startup, and add the program.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.