Re: [orca-list] How can I change Orca settings globally?
- From: Hammer Attila <hammera pickup hu>
- To: orca-list gnome org
- Subject: Re: [orca-list] How can I change Orca settings globally?
- Date: Fri, 05 Mar 2010 18:30:57 +0100
If I understand you right (I hope), For example a relative simple method
way:
First, need define the zipcode with /etc/environment file, for example:
ZIPCODE=36
This is a phantom zip code.
If you using os.getenv method with the Orca script, you possible look
all users the zip code without need the users entering the zip code with
the script.
The line is following with Python:
zipcode=os.getenv('ZIPCODE')
Of course, os module need importing with orca-customizations.py with
import os line.
But, the problem is following if you would like manufacturing general
Vinux cd:
Different countryes using ofcourse different zip code, and if this
information is stored with /etc/environments file, the admin user need
modify the zipcode with he's country value after the Vinux system is
installed. But, the another normal users possible using the script after
the modification is happened, withoud need enter the zip code with
script by user to user.
This is the simplest way, and sure working.
I don't no zip codes only country dependent, or country and regional
dependent with Orca Weather function.
Attila
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]