Thread: python file autostart
hi
i'm trying create autostart python file on ubuntu 11.04 according scripts found on google, none of them working me.
created:
- 1.py file (which working fine) in /home/user/desktop directory;
- .bash_login file in /home/user directory, containing script:
- both files @ least: -rwxr-xr-xcode:#!/bin/bash python /home/user/desktop/1.py
why autostart not working?
first, sure python program notice?
suspicion otherwise .bash_login not executed @ during login. perhaps try adding command like
if .bash_login executed @ login, every login should put exact date , time in file "logins" in home directory.code:echo $( date ) >> logins
try adding python script system->settings->startup programs , see if works (it's bit unsatisfying stuff graphically, know, @ least tell if works).
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] python file autostart
Ubuntu
Comments
Post a Comment