Keyjector information needed

2011-01-23 Thread javed khan
Hi all

i want to get a keyjector for the laptops, most of the laptops are SKU22
(for Afghanistan), some are SKU58 and some have other codes.
so to whom i should send the public keys, so i get a keyjector.

Regards

-- 
Javid Alam
Software Developer and Technical support Officer OLPC
Ministry of Education
Kabul Afghanistan
contact: +93(0)798123451
alternative email: javid.a...@moe.gov.af
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Firmware update - os-builder

2010-11-24 Thread javed khan
That will be great, i was looking for something like this.

On Thu, Nov 25, 2010 at 9:11 AM, Jerry Vonau jvo...@shaw.ca wrote:

 On Wed, 2010-11-24 at 22:49 +, Daniel Drake wrote:
  On 24 November 2010 22:40, Kevin Gordon kgordon...@gmail.com wrote:
   Is this recommendation against yum and rpm for all software, or just
 the
   oplc repo packages, the kernel and the firmware?  I'm certainly happy
 doing
   just safe builds for the core.
 
  To avoid all corner cases it the recommendation really needs to be
 everything
  In reality, you'll probably get away with it, especially because
  you're only really working with added packages in your deployment (not
  upgrading ones that are already installed).
 
  Some of the resultant problems will also not affect small deployments
  like yours. For example, one side effect is that olpc-update pristine
  (efficient) updates stop working as soon as you make any filesystem
  modifications like this. Another side effect is that your
  custom-installed packages will magically disappear after an
  olpc-update upgrade (which in a real deployment would happen without
  you even knowing).
 
  But in a small deployment like yours, touching each laptop for updates
  is probably more sensible than the knowledge and infrastructure
  investment needed for hands-off olpc-update, so you aren't affected.
 
   However, as part of our 'refresh' stick when we wipe and install a new
   signed build, we generally also include the necessary rpm's for cheese
 and a
   couple of other utilities that are locally installed from the USB stick
   using a bash script; or, for the Vernier software dependencies, the
   dependent rpm's are installed by means of a python script.  However,
 they
   are rpm's and they are downloaded onto the stick (the first time) using
 yum,
   and they are then installed from the stick using --localinstall from
 the
   stick.
 
  You probably won't see any problem with this collection of changes.
  Nevertheless, at the SF summit I started showing Adam the correct
  way to do this: building a custom OS image with those customizations
  already included. We didn't have time to completely finish it, but he
  picked it up quickly and could probably finish it with a little effort
  (and perhaps a couple of mails to this list).

 Having os-builder required to have net access in ksmain.50.repos.py is
 less than ideal for remote image creation. Once the cache is downloaded
 could we not just run createrepo on the cache and point os-builder to
 the local url instead of going out to the net all the time? something
 like:

 if use_cache:
url = file:///%s/imgcreate/%s %(ooblib.cachedir, name)
else:
url = http://mock.laptop.org/repos/%s; % name

 Attached is a rough diff of what I have in mind.

 On a side note both 10.1.2 and 10.1.3 share the the same olpc repo via
 os-builder
 (http://xs-dev.laptop.org/~dsd/repos/http://xs-dev.laptop.org/%7Edsd/repos/),
 that makes it harder to tell the break
 between the two.  Now it's impossible to re-spin os852 without hard-coding
 the
 rpm versions elsewhere in os-builder. Just a thought.


 Jerry




 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel




-- 
Javid Alam
Software Developer and Technical support Officer OLPC
Ministry of Education
Kabul Afghanistan
contact: +93(0)798123451
alternative email: javid.a...@moe.gov.af
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: customizing olpc-os-builder image

2010-11-03 Thread javed khan
thanks man

i will try those files
the file modules/base/ksmain.10.core.inc , is it located at
/usr/share/olpc-os-builder/module.d/
or it is the olpc-os-builder/module

Regards

On Wed, Nov 3, 2010 at 3:16 PM, Esteban Bordon
ebor...@plan.ceibal.edu.uywrote:

 2010/11/3 javed khan javedkhan...@gmail.com

 Hi All


 Hi


 can anybody tell me how to accomplish  the following using olpc-os-builder

 1: install new fonts

 If you have an rpm of these fonts, you have to add it on custom_rpms
 section

 2: change the keyboard layout and default language

 You have to modify the file modules/base/ksmain.10.core.inc


 3: change the boot animation

 You have to modify bootanim rpm


 Regards


 cheers,
 Esteban.


 --
 Javid Alam
 Software Developer and Technical support Officer OLPC
 Ministry of Education
 Kabul Afghanistan
 contact: +93(0)798123451
 alternative email: javid.a...@moe.gov.af

 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel





-- 
Javid Alam
Software Developer and Technical support Officer OLPC
Ministry of Education
Kabul Afghanistan
contact: +93(0)798123451
alternative email: javid.a...@moe.gov.af
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: customizing olpc-os-builder image

2010-11-03 Thread javed khan
Got it
thanks man

On Wed, Nov 3, 2010 at 3:35 PM, Esteban Bordon
ebor...@plan.ceibal.edu.uywrote:

 if you executes the command olpc-os-builder you have to modify the file in
 /usr/share/olpc-os-builder/module.d/ . I think.
 If you're using ./osbuilder.py you have to modify olpc-os-builder/modules



 2010/11/3 javed khan javedkhan...@gmail.com

 thanks man

 i will try those files
 the file modules/base/ksmain.10.core.inc , is it located at
 /usr/share/olpc-os-builder/module.d/
 or it is the olpc-os-builder/module

 Regards


 On Wed, Nov 3, 2010 at 3:16 PM, Esteban Bordon 
 ebor...@plan.ceibal.edu.uy wrote:

 2010/11/3 javed khan javedkhan...@gmail.com

 Hi All


 Hi


 can anybody tell me how to accomplish  the following using
 olpc-os-builder

 1: install new fonts

 If you have an rpm of these fonts, you have to add it on custom_rpms
 section

 2: change the keyboard layout and default language

 You have to modify the file modules/base/ksmain.10.core.inc


 3: change the boot animation

 You have to modify bootanim rpm


 Regards


 cheers,
 Esteban.


 --
 Javid Alam
 Software Developer and Technical support Officer OLPC
 Ministry of Education
 Kabul Afghanistan
 contact: +93(0)798123451
 alternative email: javid.a...@moe.gov.af

 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel





 --
 Javid Alam
 Software Developer and Technical support Officer OLPC
 Ministry of Education
 Kabul Afghanistan
 contact: +93(0)798123451
 alternative email: javid.a...@moe.gov.af





-- 
Javid Alam
Software Developer and Technical support Officer OLPC
Ministry of Education
Kabul Afghanistan
contact: +93(0)798123451
alternative email: javid.a...@moe.gov.af
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


customizing olpc-os-builder image

2010-11-02 Thread javed khan
Hi All

can anybody tell me how to accomplish  the following using olpc-os-builder

1: install new fonts
2: change the keyboard layout and default language
3: change the boot animation

Regards

-- 
Javid Alam
Software Developer and Technical support Officer OLPC
Ministry of Education
Kabul Afghanistan
contact: +93(0)798123451
alternative email: javid.a...@moe.gov.af
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Empty list view

2010-09-29 Thread javed khan
Hi All

when i click on the list view i could not find any activity there.
the language setting is set to Pashto Afghanistan (LANG=ps_AF.utf8)
the sugar version is 0.82.1

any suggetion

Regards

-- 
Javid Alam
Software Developer and Technical support Officer OLPC
Ministry of Education
Kabul Afghanistan
contact: +93(0)798123451
alternative email: javid.a...@moe.gov.af
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


activity help

2010-09-26 Thread javed khan
Hi Guys

i have few questions

1. can we create a shortcut for a library bundle in the favorite view ?

2. i created an activity which display html the code is

import os
from gettext import gettext as _

import gtk
import gobject

from sugar.activity import activity
from sugar.graphics.toolbutton import ToolButton

import hulahop
hulahop.startup(os.path.join(activity.get_activity_root(), 'data/gecko'))

from hulahop.webview import WebView
import xpcom
from xpcom.components import interfaces

gobject.threads_init()

HOME = file:///home/olpc/Activities/Grade4.activity/index.html;

class Grade4Activity(activity.Activity):
def __init__(self, handle):
activity.Activity.__init__(self, handle)

self.props.max_participants = 1

self._web_view = WebView()

toolbox = activity.ActivityToolbox(self)
self.set_toolbox(toolbox)
toolbox.show()

toolbar = Toolbar(self._web_view)
toolbox.add_toolbar(_('Navigation'), toolbar)
toolbar.show()

self.set_canvas(self._web_view)
self._web_view.show()

toolbox.set_current_toolbar(1)

self._web_view.load_uri(HOME)

class Toolbar(gtk.Toolbar):
def __init__(self, web_view):
gobject.GObject.__init__(self)

self._web_view = web_view

self._back = ToolButton('go-previous-paired')
self._back.set_tooltip(_('Back'))
self._back.props.sensitive = False
self._back.connect('clicked', self._go_back_cb)
self.insert(self._back, -1)
self._back.show()

self._forward = ToolButton('go-next-paired')
self._forward.set_tooltip(_('Forward'))
self._forward.props.sensitive = False
self._forward.connect('clicked', self._go_forward_cb)
self.insert(self._forward, -1)
self._forward.show()

home = ToolButton('zoom-home')
home.set_tooltip(_('Home'))
home.connect('clicked', self._go_home_cb)
self.insert(home, -1)
home.show()

self._listener = xpcom.server.WrapObject(ProgressListener(self),

interfaces.nsIWebProgressListener)
weak_ref = xpcom.client.WeakReference(self._listener)

mask = interfaces.nsIWebProgress.NOTIFY_STATE_NETWORK | \
   interfaces.nsIWebProgress.NOTIFY_LOCATION
self._web_view.web_progress.addProgressListener(self._listener,
mask)

def update_navigation_buttons(self):
can_go_back = self._web_view.web_navigation.canGoBack
self._back.props.sensitive = can_go_back

can_go_forward = self._web_view.web_navigation.canGoForward
self._forward.props.sensitive = can_go_forward

def _go_back_cb(self, button):
self._web_view.web_navigation.goBack()

def _go_forward_cb(self, button):
self._web_view.web_navigation.goForward()

def _go_home_cb(self, button):
self._web_view.web_navigation.goBack()

class ProgressListener(object):
_com_interfaces_ = interfaces.nsIWebProgressListener

def __init__(self, toolbar):
self._toolbar = toolbar

def onLocationChange(self, webProgress, request, location):
self._toolbar.update_navigation_buttons()

def onProgressChange(self, webProgress, request, curSelfProgress,
 maxSelfProgress, curTotalProgress,
maxTotalProgress):
pass

def onSecurityChange(self, webProgress, request, state):
pass

def onStateChange(self, webProgress, request, stateFlags, status):
if stateFlags  interfaces.nsIWebProgressListener.STATE_IS_NETWORK:
self._toolbar.update_navigation_buttons()

def onStatusChange(self, webProgress, request, status, message):
pass

this html file also contain some pdf file. the html files are working fine
but when i click on a pdf file nothing happens.
is it possible to view the pdf in this activity?

Regards
-- 
Javid Alam
Software Developer and Technical support Officer OLPC
Ministry of Education
Kabul Afghanistan
contact: +93(0)798123451
alternative email: javid.a...@moe.gov.af
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


olpc-os-builder repository help

2010-08-03 Thread javed khan
Hi All
i followed the instruction in the read me of olpc-os-builder as

 1.  install Fedora 11,

2.  install the build dependencies:

yum install zlib-devel libtomcrypt-devel glibc-headers

3.  build the package:

make install

4.  install the run-time dependencies:

yum install python-imgcreate bitfrost

now i have some question
I want to create local repository, so which files i should download from
http://xs-dev.laptop.org/~dsd/repos/
there are three folders
f11
f11-xo1.5
f11-xo1
there are tons of files there.
now what should i do, download all three folders, or download some spceific
files from each folder.
here in Ministry of Education (Afghanistan) we have a shared 1mb internet
which is the main probelm.

Regards

-- 
Javid Alam
Software Developer and Technical support Officer OLPC
Ministry of Education
Kabul Afghanistan
contact: +93(0)798123451
alternative email: javid.a...@moe.gov.af
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: #9965 NORM Not Tri: calculate support for arabic numbers in the interface

2010-01-10 Thread javed khan
thanks for the quick replay
i tired to register at http://bugs.sugarlabs.org but failed to some reason.
I will try some other time to register their and then i will create a
ticket.

On Thu, Jan 7, 2010 at 11:27 PM, Zarro Boogs per Child 
bugtrac...@laptop.org wrote:

 #9965: calculate support for arabic numbers in the interface

 +---
   Reporter:  javedkhan |   Owner:
   Type:  defect|  Status:  new
   Priority:  normal|   Milestone:  Not Triaged
  Component:  not assigned  | Version:  not specified
  Resolution:|Keywords:
 Next_action:  never set |Verified:  0
 Deployment_affected:|   Blockedby:
   Blocking:|

 +---

 Comment(by garycmartin):

  Yea, should be reasonable to add. Just had a quick look at the UI code and
  the number button strings are not currently exposed for translation. I
  think the bigger issue though is that the numerical output results will
  also need parsing/converting – I guess this is feasible as long as we are
  just talking simple character for character replacements. If you'd like me
  to take a more serious look could you open a ticket on
  http://bugs.sugarlabs.org for the Calculate component and assign it to me
  (garycmartin), most activity development is upstream at Sugar Labs.

 --
 Ticket URL: http://dev.laptop.org/ticket/9965#comment:1
 One Laptop Per Child http://laptop.org/
 OLPC bug tracking system

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel