Re: help for newbie, and some python

2009-06-03 Thread Anthony Winter
On Wed, 03 Jun 2009, Robin Paulson wrote:
 2009/6/3 Anthony Winter aw...@sayne.org:
  OK, good start. But - assuming that it does run from a command line (and I
  still haven't found a terminal yet, but there must be one somewhere), what
  are the steps in getting it run by 'clicking' on an icon, in 
paroli/illume?
  That's the missing bit...
 
 i assumed you were connected via ssh, and could get at a terminal that way

er no, I want to write apps that will be used on the phone. In the field. In a 
hurry, sometimes.

 i can't remember if there is a terminal in om2009 or not - i think
 there is, and it's pretty good. have you discovered illume ie the
 desktop yet? if not, you might want to go to
 http://wiki.openmoko.org/wiki/Paroli#FAQ
 specifically, how do i get illume?

I have discovered it, and while the initial frustration level has receded, I 
still haven't got the hang of it yet. I'm beginning to see why Apple have 
captured the non-geek market. 

 where all your questions will be answered

Not really. For example, the OM2009 link is to Elementary, which looks neat, 
but a) it's not gtk, and b) it's in C, and life (and in particular, the 
possible life of a Neo) is too short to write apps in C. So I need something 
with python bindings.
 
 the wiki is great, have search - there's mountains of useful info there

Weel, there is a lot there, but I haven't yet found the key to doing what 
I want...

-- 
Ant

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


Re: help for newbie, and some python

2009-06-02 Thread Anthony Winter
On Tue, 02 Jun 2009, Robin Paulson wrote:

  Where are the apps for this distribution?
 
 there are very few apps installed by default on om2009. you will need
 to use opkg to install more, and keep everything up to date. best to
 do this over ssh, form your desktop/laptop
 
 bear in mind, that om2009 doesn't have a lot of libraries that your
 average distro has, so some of the stuff there only runs on shr, or
 some of the other community distros

Is there any obvious way of telling what will and what won't run on om2009?

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

#!/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()


-- 
Ant

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


Re: help for newbie, and some python

2009-06-02 Thread Anthony Winter
On Wed, 03 Jun 2009, Robin Paulson wrote:
 
 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

OK, good start. But - assuming that it does run from a command line (and I 
still haven't found a terminal yet, but there must be one somewhere), what 
are the steps in getting it run by 'clicking' on an icon, in paroli/illume? 
That's the missing bit...


-- 
Ant

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


help for newbie

2009-06-01 Thread Anthony Winter
Ok, I have installed /uImage-2.6.28-stable+gitr0+f19f259d...  and 
fso-paroli-image-om-gta02.jffs2

Now I need some pointers:
Where are the apps for this distribution?

How do I get a 'hello world' in Python to run?
By which I mean (presumably) bringing up a window with a close button on it.


-- 
Ant

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


closing apps in FDOM

2008-10-13 Thread anthony winter
How do you do it?
What am I missing here?


-- 
anthony winter

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


Re: closing apps in FDOM

2008-10-13 Thread anthony winter
Thanks for the information. Is it actually written down anywhere?
But it doesn't work with 'Contacts'. If I have just 'Home' and 'Contacts' in 
the list it 'Contacts' does not get closed.

Extra questions:
1) what is the quickest way of shutting down the neo completely?
At present I am using a terminal and entering init 0.

2) What do the three little + signs at the bottom of the screen do?

3) What is the * at the bottom left for?

4) What does the (possibly) spanner-like symbol at the top right do?

In other words - where is there a description of this user interface!?


On Tue, 14 Oct 2008, you wrote:
 2008/10/13 anthony winter [EMAIL PROTECTED]
 
  How do you do it?
  What am I missing here?
 
 
 1. Tap on the little triangle  in the upper middle of the screen. A pulldown
 menu appears, the current app will the be the one at the bottom of this
 menu.
 
 2. Tap on REMOVE in the lower left corner of that pulldown menu.
 



-- 
anthony winter

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