Announcement

Collapse
No announcement yet.

Run script at startup?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Run script at startup?

    I'm trying to get Pystromo to automatically run at startup. I've gone into System Settings>Startup and Shutdown>Add Script, and selected "pystromo-mon.py." The script is added to the list, and set to run at startup. It doesn't run. If I run ps x in a terminal, the python script doesn't show up.

    I've tried creating it as a symbolic link, and not as a symbolic link.

    It's executable.

    I can run it from the terminal and it works fine.

    Any ideas?

    #2
    Where is your script? Is the path executable?
    How did you add it? Looking at my ps x output, everything written in python is prefixed with "python". For example:

    Code:
     python /usr/share/ibus-anthy/engine/main.py --ibus

    Comment


      #3
      I got it to run by adding it as a program instead of a script.

      I've got one more bug with it to iron out, which requires a little explaining.

      Pystromo-mon.py watches to see what programs are running. When it sees GIMP start, pystromo-mon.py starts pystromo-remap.py, which watches my Nostromo N52 gamepad and remaps the key output according to a configuration file, gimp.map. My problem now is that it appears gimp.map is not being found. I've written the program's author who is usually helpful. It seems like there must be an issue with the path, but I'm not sure why the path would be different using autostart.

      Pystromo-mon and pystromo-remap are in Documents/pystromo.

      Gimp.map is in Documents/pystromo/config.

      Comment

      Working...
      X