how to change Sugar's timezone+language after XO deployment

Adam Holt holt at
Wed Apr 11 11:43:18 EDT 2018

Can commands like the following be made to work?

   sugar-control-panel -s timezone America/Port-au-Prince
   sugar-control-panel -s languages French/France

If not, is there some other clever way to do this programmatically, perhaps
using the gsettings command?

Thanks if poss!  Example error posted below -- changes do not take effect,
even after reboot.  Original doc @


[olpc at xo-4a-c3-b5 ~]$ sudo sugar-control-panel -s timezone
ERROR:root:Exception while loading extension:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/jarabe/controlpanel/", line
68, in load_modules
    globals(), locals(), ['model'])
  File "/usr/share/sugar/extensions/cpsection/frame/", line 17, in
    from jarabe.frame import get_view
  File "/usr/lib/python2.7/site-packages/jarabe/frame/", line
16, in <module>
    from jarabe.frame.frame import Frame
  File "/usr/lib/python2.7/site-packages/jarabe/frame/", line 30,
in <module>
    from jarabe.frame.friendstray import FriendsTray
  File "/usr/lib/python2.7/site-packages/jarabe/frame/", line
20, in <module>
    from jarabe.view.buddymenu import BuddyMenu
  File "/usr/lib/python2.7/site-packages/jarabe/view/", line
37, in <module>
    import jarabe.desktop.homewindow
  File "/usr/lib/python2.7/site-packages/jarabe/desktop/",
line 28, in <module>
    from jarabe.desktop.meshbox import MeshBox
  File "/usr/lib/python2.7/site-packages/jarabe/desktop/", line
35, in <module>
    from jarabe.view.buddyicon import BuddyIcon
  File "/usr/lib/python2.7/site-packages/jarabe/view/", line
19, in <module>
    from jarabe.view.buddymenu import BuddyMenu
ImportError: cannot import name BuddyMenu
To apply your changes you have to restart Sugar.
Hit ctrl+alt+erase on the keyboard to trigger a restart.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list