help for newbie, and some python

Robin Paulson robin.paulson at
Wed Jun 3 05:19:05 CEST 2009

2009/6/3 Anthony Winter <awtel at>:
> Is there any obvious way of telling what will and what won't run on om2009?

try installing it from the repos. if it's been packaged
correctly, and has it's dependencies listed, it will refuse to install
and thrown up errors. in that case, you can either force it to install
ignoring the erros, and hope they're not critical (if you're very
fortunate), track them down from elsewhere (debian, shr, etc.) or
switch to a different distro

> And my second question:  here is a tiny python/gtk program. How do I get it to
> run on the Freerunner?

python is installed by default on om2009, so run it exactly as you
would a python programme on your desktop - there really are no
important difference between that and your neo. so, copy it to
somewhere on the neo (/usr/bin might be good) and then run:

$ python

assuming you have the correct gtk libraries installed, that is

> #!/usr/bin/env python
> # example
> import gtk
> class Base:
>        def __init__(self):
>                self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
>                self.window.set_title('Hello')
>                self.window.set_default_size(100,100)
>        def main(self):
>                gtk.main()
> if __name__ == "__main__":
>    base = Base()
>    base.main()

More information about the support mailing list