Framework-settings
From Openmoko
Marko Knöbl (Talk | contribs) |
|||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | {{Languages| | + | {{Languages|Framework-settings}} |
− | + | '''Framework-settings''' is a GTK+ gui to control BT/WIFI/USB-HOST/GPRS and GSM (commented out in the code since for some reason GSM won't wake back up from a force disable) using [[FSO]]. | |
Currently it enables to connect to GPRS by changing the APN/USER/PASS in the script headers (/usr/bin/fso-settings) which isn't the best idea, and will be changed soon, to either using a config file or fso perfenences (if possible) | Currently it enables to connect to GPRS by changing the APN/USER/PASS in the script headers (/usr/bin/fso-settings) which isn't the best idea, and will be changed soon, to either using a config file or fso perfenences (if possible) | ||
Line 12: | Line 12: | ||
In that link there's a settings line in order to make it run this app after 1 or more seconds of holding the aux button. | In that link there's a settings line in order to make it run this app after 1 or more seconds of holding the aux button. | ||
− | = Package = | + | == Package == |
* author: Tom Hacohen <available_at_profile> | * author: Tom Hacohen <available_at_profile> | ||
* this is a python script so code resides in /usr/bin/fso-settings | * this is a python script so code resides in /usr/bin/fso-settings | ||
Line 20: | Line 20: | ||
− | = Change Log = | + | == Change Log == |
'''0.4.0''' | '''0.4.0''' | ||
* Hacked together the profile-changer so it can now change phone profiles | * Hacked together the profile-changer so it can now change phone profiles | ||
* The apn/user/password for gprs is now stored in a config file at /home/root/.fso-settings.conf | * The apn/user/password for gprs is now stored in a config file at /home/root/.fso-settings.conf | ||
* The code got ugly because it's mostly a hack. | * The code got ugly because it's mostly a hack. | ||
− | = TODO = | + | |
+ | == TODO == | ||
* also add a policy setting changer. | * also add a policy setting changer. | ||
* change the gui to appear before dbus probes so launching wouldn't take so long. | * change the gui to appear before dbus probes so launching wouldn't take so long. | ||
− | = Known Issues= | + | == Known Issues== |
* Power and settings are the same, that's just an infrastructure | * Power and settings are the same, that's just an infrastructure | ||
− | [[Category: | + | [[Category:FSO]] |
− | [[Category: | + | [[Category:Middleware settings]] |
Latest revision as of 12:58, 26 February 2010
Languages: |
English • العربية • Български • Česky • Dansk • Deutsch • Esperanto • Eesti • Español • فارسی • Suomi • Français • עברית • Magyar • Italiano • 한국어 • Nederlands • Norsk (bokmål) • Polski • Português • Română • Русский • Svenska • Slovenčina • Українська • 中文(中国大陆) • 中文(台灣) • Euskara • Català |
Framework-settings is a GTK+ gui to control BT/WIFI/USB-HOST/GPRS and GSM (commented out in the code since for some reason GSM won't wake back up from a force disable) using FSO.
Currently it enables to connect to GPRS by changing the APN/USER/PASS in the script headers (/usr/bin/fso-settings) which isn't the best idea, and will be changed soon, to either using a config file or fso perfenences (if possible)
The best way to get resources and release them would be by using the request/release or set policy for resources, though those APIs do not allow force disabling of an interface which wasn't what I needed at the time.
Future updates will include changing policies for devices which is a much more elegant way of forcing apps out. Will hopefully soon support more settings implemented by the framework.
This package is a good complement to Siglaunchd. In that link there's a settings line in order to make it run this app after 1 or more seconds of holding the aux button.
Contents |
[edit] Package
- author: Tom Hacohen <available_at_profile>
- this is a python script so code resides in /usr/bin/fso-settings
- link: 0.3.0 package
- link: 0.4.0 package
I'm keeping the old version available as well because the new version is rather hackish.
[edit] Change Log
0.4.0
- Hacked together the profile-changer so it can now change phone profiles
- The apn/user/password for gprs is now stored in a config file at /home/root/.fso-settings.conf
- The code got ugly because it's mostly a hack.
[edit] TODO
- also add a policy setting changer.
- change the gui to appear before dbus probes so launching wouldn't take so long.
[edit] Known Issues
- Power and settings are the same, that's just an infrastructure