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
            Asked
            
        
        
            Active
            
        
            Viewed 552 times
        
    1
            
            
        - 
                    Does this help: http://unix.stackexchange.com/questions/47695/how-to-write-startup-script-for-systemd – ashwinjv May 11 '15 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 '15 at 18:10
- 
                    It opens it's own window (made in tkinter) so no terminal neded – Pentagon98 May 11 '15 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 '15 at 18:14
- 
                    1I running XFCE,not Gnome – Pentagon98 May 11 '15 at 18:15
- 
                    Oh yeah, you are right. – Paul May 11 '15 at 18:15
- 
                    @jonrsharpe xubuntu has XFCE in it, not Gnome. Care to reopen? – Paul May 11 '15 at 18:16
- 
                    Here's some answers for XFCE. https://forum.xfce.org/viewtopic.php?id=5550 http://askubuntu.com/questions/77066/modify-xfce-startup-applications – Paul May 11 '15 at 18:18
- 
                    Ok,found the answer, Configuration/Systemsettings/Session and Startup. Thanks @Paul – Pentagon98 May 11 '15 at 18:25
- 
                    You can always post a self-answer. Others might benefit. – Paul May 11 '15 at 18:27
1 Answers
0
            Found the answer. You have to go Configuration/Systemsettings/Session and Startup, and add the program.
 
    
    
        Pentagon98
        
- 123
- 1
- 4
- 10
