Skip to main content

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:
code:
#!/bin/bash  python /home/user/desktop/1.py
- both files @ least: -rwxr-xr-x

why autostart not working?

first, sure python program notice?

suspicion otherwise .bash_login not executed @ during login. perhaps try adding command like
code:
echo $( date ) >> logins
if .bash_login executed @ login, every login should put exact date , time in file "logins" in home directory.


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

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached