View source for SettingsGUI
From Openmoko
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Templates used on this page:
Return to SettingsGUI.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Templates used on this page:
Return to SettingsGUI.
In progress: This article or section documents one or more features whose implementation are in progress. |
Until OpenMoko releases an official GUI-Tool to change settings, SettingsGUI allows you to set various settings of the gta01.
This programm is written in Python using pygtk. It can be used only if those are present in your environment.
(see SettingsGUI#Environment)
Thanks to Alessandro there also is an .ipk and a .bb file. Have a look at his user site.
The following archives will have to be installed:
If you want to test this and do not have a build environment, you can 'ipkg install' the python components from the ScaredyCat repositories.
NOTE: These packages take up a considerable amout of space, make sure that you have enough free space or install the packages to the media card. |
export DISPLAY=:0.0 python SettingsGUI-x.x/SettingsGUI.py &
root@fic-gta01:/media/card/SettingsGUI-0.5$ Traceback (most recent call last): File "SettingsGUI.py", line 23, in <module> import gtk ImportError: No module named gtk
root@fic-gta01:/media/card/SettingsGUI-0.5$ ipkg list_installed |grep python libpython2.5-1.0 - 2.5.1-ml1 - Python Programming Language python-codecs - 2.5.1-ml1 - Python Codecs, Encodings & i18n Support python-core - 2.5.1-ml3 - Python Interpreter and core modules (needed!) python-fcntl - 2.5.1-ml1 - Python's fcntl Interface python-io - 2.5.1-ml1 - Python Low-Level I/O python-lang - 2.5.1-ml1 - Python Low-Level Language Support python-math - 2.5.1-ml1 - Python Math Support python-misc - 2.5.1-ml1 - Python Programming Language python-pickle - 2.5.1-ml1 - Python Persistence Support python-pycairo - 1.4.0-ml0 - Python Bindings for the Cairo canvas library python-pycairo-dev - 1.4.0-ml0 - Python Bindings for the Cairo canvas library python-pygobject-dev - 2.12.3-r2 - Python GObject bindings python-pygtk - 2.10.4-ml1 - Python GTK+ 2.10.x Bindings python-re - 2.5.1-ml1 - Python Regular Expression APIs python-shell - 2.5.1-ml1 - Python Shell-Like Functionality python-subprocess - 2.5.1-ml1 - Python Subprocess Support python-threading - 2.5.1-ml1 - Python Threading & Synchronization Support
This means you'll have to install python-pygtk-dev. For some reason python-pygtk does not allow "import gtk" in the current openembedded environment.
--ok, thank you. After I installed python-pygtk-dev:
root@fic-gta01:/media/card$ SettingsGUI.py Executes subprocess Done Traceback (most recent call last):
File "/usr/bin/SettingsGUI.py", line 79, in <module> SettingGUI = SettingsGUI() File "/usr/bin/SettingsGUI.py", line 61, in __init__ self.add_notebook_page(GSMPanel(), "moko-call-redial") File "/media/card/root/usr/lib/python2.5/site-packages/SettingsGUI/GSMPanel.py", line 46, in __init__ self.start_gsm_tool() File "/media/card/root/usr/lib/python2.5/site-packages/SettingsGUI/GSMPanel.py", line 75, in start_gsm_tool self.gsm_tool.write_to_process("O") File "/media/card/root/usr/lib/python2.5/site-packages/SettingsGUI/ProcessInterface.py", line 163, in write_to_process self.process.process.stdin.write("%s\n" % string)
IOError: [Errno 32] Broken pipe