how to change Sugar's timezone+language after XO deployment
Adam Holt
holt at laptop.org
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 @
http://wiki.laptop.org/go/Sugar_Control_Panel#Setting_The_Timezone
Adam
[olpc at xo-4a-c3-b5 ~]$ sudo sugar-control-panel -s timezone
America/Port-au-Prince
ERROR:root:Exception while loading extension:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/jarabe/controlpanel/cmd.py", line
68, in load_modules
globals(), locals(), ['model'])
File "/usr/share/sugar/extensions/cpsection/frame/model.py", line 17, in
<module>
from jarabe.frame import get_view
File "/usr/lib/python2.7/site-packages/jarabe/frame/__init__.py", line
16, in <module>
from jarabe.frame.frame import Frame
File "/usr/lib/python2.7/site-packages/jarabe/frame/frame.py", line 30,
in <module>
from jarabe.frame.friendstray import FriendsTray
File "/usr/lib/python2.7/site-packages/jarabe/frame/friendstray.py", line
20, in <module>
from jarabe.view.buddymenu import BuddyMenu
File "/usr/lib/python2.7/site-packages/jarabe/view/buddymenu.py", line
37, in <module>
import jarabe.desktop.homewindow
File "/usr/lib/python2.7/site-packages/jarabe/desktop/homewindow.py",
line 28, in <module>
from jarabe.desktop.meshbox import MeshBox
File "/usr/lib/python2.7/site-packages/jarabe/desktop/meshbox.py", line
35, in <module>
from jarabe.view.buddyicon import BuddyIcon
File "/usr/lib/python2.7/site-packages/jarabe/view/buddyicon.py", 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: <http://lists.laptop.org/pipermail/devel/attachments/20180411/7d185fd6/attachment.html>
More information about the Devel
mailing list