2009/6/3 Anthony Winter <aw...@sayne.org>:
> Is there any obvious way of telling what will and what won't run on om2009?

try installing it from the opkg.org 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 base.py

assuming you have the correct gtk libraries installed, that is

>
> #!/usr/bin/env python
> # example base.py
> 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)
>                self.window.show()
>        def main(self):
>                gtk.main()
> if __name__ == "__main__":
>    base = Base()
>    base.main()

_______________________________________________
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support

Reply via email to