Re: New F11-for-XO1 build is available and needs testing

2009-08-02 Thread Sergey Udaltsov
What would be the simplest way to run os3 from USB flash drive? Ubuntu
usb-creator does not recognize os3.iso as desktop install CD.

Thanks,

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


Re: [Production] Amharic input

2008-05-01 Thread Sergey Udaltsov
The XKB layout itself is not enough. But XKB + XIM is enough, as far
as I can tell. So the choice is actually between XKB/us + GtkIM and
XKB/am + XIM. The latter seems more universal - it is not bound to
particular toolkit.

Sergey

  Excuse my ignorance; I'm not familiar with Amharic requirements.  I
  think the question comes down to whether the Amharic keyboard layout is
  enough or whether an input method is needed.  If keyboard layout is
  enough, then just removing the input method from GTK+ seems to do it.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Keyboard switching

2007-11-26 Thread Sergey Udaltsov
 We don't have to preconfigure everything in the xorg.conf manner. All
 we need is a right button menu, like that for SCIM, allowing users to
 choose a keyboard layout, and possibly an editor for that menu. The
 menu selection can then invoke a call to setxkbmap.
Yes, this way you'd get any layout you want, any number of them. But
usability-wise right button menu is a horrible thing. For people
using 2-4 layouts, much more usable solution is switching using
keyboard (some shortcut). And that's the first thing which should be
taken care of IMHO - from both configuration and UI POV.

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


Re: Keyboard switching

2007-11-24 Thread Sergey Udaltsov
Edward,

 will need to allow for countries that use three or more scripts
 routinely, for students of history, religion, and other subjects
 involving historical source documents, and especially for students of
 languages.
FYI, X does not allow to have more than 4 groups in one configuration.
If you need more - you have to reconfigure XKB. In 99% it is not an
issue - but I know there are multilingual people who are unhappy about
it. They have to use some workarounds.

 Mongolia would like traditional Mongol alphabet, Cyrillic, and Latin,
 and possibly Chinese. Certainly if we include Inner Mongolia. Plus
 Buddhist languages, including Sanskrit and Tibetan.
Do they need all these scripts in one configuration?

 China has more than 50 legally-recognized minorities, several with
 their own writing systems (Tibetan, Mongolian, Uighur, Yi).
Do you know many people who would use all these writing system at once?

In general, I'd tend to agree to your point that changing keyboard
configuration should be more accessible than it is now. At the very
least, it should be properly documented and explained. Probably,
simple GUI configuration should be available for that task (by
simple I mean it should not necessarily expose all powers of XKB
configuration machinery). Bernardo, I think you concern about making
the device screwed by choosing fancy layout is a bit of exageration -
there is always touchpad which could be used to find the restore
default button.

Cheers,

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


Re: DejaVu fonts (Was: Ethiopean)

2007-11-17 Thread Sergey Udaltsov
FWIW, yesterday I setup LANG=am_ET.UTF-8 in /etc/sysconfig/i18n and
rebooted. Sugar was not even able to start (I am using the latest
stable image). Pure X server starts ok. There were errors during the
boot process as well (some services reported FAILED startup). If
anyone is interested, I could provide more details.

So I had to fallback to en_US.UTF-8. It seems it will take some
preparation to get to the stage when we could actually perform real
(not fake) test of the Ethiopian keyboard input in Ethiopian locale.

Sergey

On 8/23/07, Bernardo Innocenti [EMAIL PROTECTED] wrote:
 Sergey Udaltsov wrote:

  When you replace simplified fonts with the full version: are you able
  to input Ethiopean with the code provided?

 I assumed it would, but now I installed the dejavu-fonts RPM and the
 Ethiopean glyphs still don't display neither in the Write activity,
 nor in the Web activity.

 On my F7 box, there must be some fontconfig magic that makes them
 work.  But I couldn't figure out how.

 --
// Bernardo Innocenti
  \X/  http://www.codewiz.org/

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


Re: DejaVu fonts (Was: Ethiopean)

2007-11-17 Thread Sergey Udaltsov
Bernardo,

Would you try the Ethiopian XIM in en_US locale (replacing Compose file)?

Sergey

On 8/24/07, Bernardo Innocenti [EMAIL PROTECTED] wrote:
 Sergey Udaltsov wrote:

  FWIW, yesterday I setup LANG=am_ET.UTF-8 in /etc/sysconfig/i18n and
  rebooted. Sugar was not even able to start (I am using the latest
  stable image). Pure X server starts ok. There were errors during the
  boot process as well (some services reported FAILED startup). If
  anyone is interested, I could provide more details.

 The same happened to me too.  Seems like a severe bug in glibc's
 locale description.  For example, the sort comand would output
 lines sorted by length instead of alphabetically!

 I'll try again with fedora devel's RPM.   If it doesn't work, then
 I guess we should file a bug upstream.

 --
// Bernardo Innocenti
  \X/  http://www.codewiz.org/

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


Re: [Fwd: Status of Ethiopian support]

2007-11-17 Thread Sergey Udaltsov
 My uninformed guess would be that 2 would be best.  But
 I'm forwarding your question to Lidet for a reliable
 opinion.
It that case, my Compose file would have to be swapped (the left
part of the rules). No problem, once we make that decision.

 My guess is that the GTK IM has additional usability
 refinements.
That's ok. The main thing is that it should not have _different_ rules.

 I thought IM's would work with raw keycodes (positional),
 not keysyms translated through the current keyboard layout.
Apparently you are kind of wrong;)

 general.  I'm merely trying to coordinate the integration
 without a specific technical background.
You are doing fine. We all learn things as we go:) No need to apologize.

Cheers

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


Re: DejaVu fonts (Was: Ethiopean)

2007-11-17 Thread Sergey Udaltsov
 I'm afraid I'm totally ignorant of the subject.  How is the Xlib compose 
 handling
 supposed to work in applications?  Would it also work in Write.activity?
First, you should replace Compose file (in
/usr/share/X11/locale/en_US.UTF-8). In addition, setting
GTK_IM_MODULE=xim should explain gtk+ apps they have to use XIM.
That's about it IIRC.

 By the way, the am_ET.UTF-8 locale appears to work with glibc 2.90 from Fedora
 Development.  We'll need to backport a fix or upgrade glibc if we want 
 Ethiopian
 support in the OLPC.
Sure! We cannot progress if we do not have that locale properly working.

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


Re: DejaVu fonts (Was: Ethiopean)

2007-11-17 Thread Sergey Udaltsov
Bernardo,

When you replace simplified fonts with the full version: are you able
to input Ethiopean with the code provided?

Sergey

On 8/22/07, Bernardo Innocenti [EMAIL PROTECTED] wrote:
 (I'm moving to devel@ so we don't need to Cc too many people)

 Bernardo Innocenti wrote:
  Sergey Udaltsov wrote:
   I cannot tell you which font was used by my Ubuntu - I just see those
   glyphs rendered more of less correctly (see attached). If you're
   interested, I can provide you with the list of fonts I have installed.
 
  I see them just fine in Firefox on my F7 development machine, but not on
  the laptop.  Weird...

 It turns out that the DejaVu font has the Ethiopian glyphs, but
 there's also a simplified font called DejaVuLGC which is what
 we're shipping on the OLPC.

 I just talked with Walter and J5 and we agreed that it makes no sense
 to ship a huge font with all glyphs when we're already going to have
 a custom images for each country where we can easily add language
 specific fonts.

 But now I looked at DejaVu to see how bigger it is and it seems to
 me that it's not worth it after all:

 -rw-r--r-- 1 root root 448K 2007-08-11 07:42 DejaVuLGCSans.ttf
 -rw-r--r-- 1 root root 557K 2007-08-11 07:42 DejaVuSans.ttf

 The RPMs for the complete DejaVu font are even *smaller*:

 -rw-r--r-- 1 root root 2.0M 2007-08-11 07:43 
 dejavu-fonts-2.19-1.fc8.noarch.rpm
 -rw-r--r-- 1 root root 3.3M 2007-08-11 07:42 
 dejavu-lgc-fonts-2.19-1.noarch.rpm

 (but that's because DejaVuLGC also comes with Condensed variants).

 So, is there another reason why we couldn't just switch to it?
 Currently, we're shipping arabic and thai fonts in all builds.
 If the DejaVu support for these languages is good enough, we
 could save even more space.

 --
// Bernardo Innocenti
  \X/  http://www.codewiz.org/

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


Re: Ethiopian installation instructions

2007-11-17 Thread Sergey Udaltsov
Bernardo

I do not see the part regarding the input methods up there. I think
there should be 2 parts: one for GTK IM (probably void, since it is
enabled by default with the locale), another for XIM - modifying
xorg.conf (or using setxkbmap) and setting GTK_IM_MODULE/QT_IM_MODULE.
What do you think on this?

Cheers,

Sergey

On 9/13/07, Bernardo Innocenti [EMAIL PROTECTED] wrote:
 mako suggested me to document a procedure for installing
 Ethiopic support on laptops:

  http://wiki.laptop.org/go/Ethiopian_Setup

 You may find the installation steps a bit convoluted, but, what the
 hell, if it was that easy we'd have it in the builds already :-)

 Of course, feel free to enhance the page.  Any feedback welcome.

 --
//  Bernardo Innocenti - http://www.codewiz.org/
  \X/ One Laptop Per Child - http://www.laptop.org/


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


Re: [PATCH] xkeyboard-config: Swap combining accents in OLPC us map

2007-10-10 Thread Sergey Udaltsov
 Ok.  From now on, I'll use attachments with disposition=inline.
Great, thanks!

 I took this habit of including them in the mail because some
 other projects require it.  The rationale is that it makes it
 easier to quote snippets in reviews.
If I want to quote, I'll take trouble copypasting:)

 I think we're pretty much 100% synchronized now!
OK, than creating a bug would be an overkill. Let's just deal with
nice small attached patches.

Thanks for understanding,

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


Re: [PATCH] xkeyboard-config: Swap combining accents in OLPC us map

2007-10-09 Thread Sergey Udaltsov
Bernardo,

Thanks, committed. Next time - could you please attach your patch
instead of putting it straight into the message body? Or we could open
a bug - and keep it open (forever) till all olpc materials are in.

Thanks,

Sergey

On 10/9/07, Bernardo Innocenti [EMAIL PROTECTED] wrote:
 Sorry for this heavy traffic :-)

 diff -u -p -u -p -r1.36 us
 --- symbols/us  4 Oct 2007 21:06:29 -   1.36
 +++ symbols/us  8 Oct 2007 23:33:10 -
 @@ -783,8 +783,8 @@ xkb_symbols olpc {
 key TLDE { [ grave, asciitilde,dead_grave, dead_tilde ] };
 key AE01 { [ 1, exclam,exclamdown, exclamdown ] };
 key AE02 { [ 2, at,   notsign,notsign ] };
 -   key AE03 { [ 3, numbersign, 0x1000301,  0x1000301 ] }; // 
 combining acute
 -   key AE04 { [ 4, dollar, 0x1000300,  0x1000300 ] }; // 
 combining grave
 +   key AE03 { [ 3, numbersign, 0x1000300,  0x1000300 ] }; // 
 combining grave
 +   key AE04 { [ 4, dollar, 0x1000301,  0x1000301 ] }; // 
 combining acute
 key AE05 { [ 5,percent, 0x1000306,  0x1000306 ] }; // 
 combining breve above
 key AE06 { [ 6,asciicircum, 0x100030A,  0x100030A ] }; // 
 combining ring above
 key AE07 { [ 7,  ampersand, 0x1000302,  0x1000302 ] }; // 
 combining circumflex above

 --
  \___/
  |___|   Bernardo Innocenti - http://www.codewiz.org/
   \___\  One Laptop Per Child - http://www.laptop.org/

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


Re: [PATCH] xkeyboard-config: OLPC: add br and es bits

2007-10-07 Thread Sergey Udaltsov
Bernardo,

The code is in CVS since Sep 26, could you please double-check?

http://webcvs.freedesktop.org/xkeyboard-config/xkeyboard-config/symbols/br?r1=1.12r2=1.13

Cheers,

Sergey

On 10/6/07, Bernardo Innocenti [EMAIL PROTECTED] wrote:
 I resynced with you and noticed that the br and es bits, that were in my
 former mega-dropbomb-patch, are still missing in CVS.

 Here they are again.

 Index: symbols/br
 ===
 RCS file: /cvs/xlibs/xkbdesc/xkeyboard-config/symbols/br,v
 retrieving revision 1.12
 diff -u -p -u -p -r1.12 br
 --- symbols/br  10 Aug 2007 09:06:27 -  1.12
 +++ symbols/br  16 Sep 2007 03:36:44 -
 @@ -64,6 +64,39 @@ xkb_symbols nodeadkeys {
  key AB10 { [ semicolon,  colon, dead_belowdot,abovedot ] };
  };

 +partial alphanumeric_keys
 +xkb_symbols olpc {
 +
 +include us(basic)
 +name[Group1]=Brazil;
 +
 +key TLDE { [   apostrophe,   quotedbl  
   ] };
 +
 +key AE01 { [   1,  exclam,   onesuperior   
   ] };
 +key AE02 { [   2,  at,   twosuperior   
   ] };
 +key AE03 { [   3,  numbersign, threesuperior   
   ] };
 +key AE04 { [   4,  dollar,  sterling   
   ] };
 +key AE05 { [   5, percent,  cent   
   ] };
 +key AE06 { [   6,  dead_diaeresis,   notsign   
   ] };
 +key AE12  { [   equal,   plus,   section   
   ] };
 +
 +key AD03 { [e,  E,  EuroSign   
   ] };
 +key AD11 { [   dead_acute,  dead_grave 
] };
 +key AD12 { [  bracketleft,   braceleft, 0x1AA  
] };
 +
 +key AC10 { [ ccedilla,   Ccedilla  
   ] };
 +key AC11 { [   dead_tilde, dead_circumflex 
   ] };
 +key BKSL { [ bracketright,  braceright, 0x1BA  
   ] };
 +
 +key AB01 { [z,  Z,   bar   
   ] };
 +key AB03 { [c,  C, 0x10020A2   
   ] };
 +key AB09 { [   period,greater, backslash   
   ] };
 +key AB10 { [semicolon,   colon 
] };
 +
 +key I219 { [slash,   question,degree, 
 ISO_Next_Group ] };
 +include level3(ralt_switch)
 +};
 +
  // ABNT2 Keyboard to IBM/Lenovo Thinkpads
  // by Piter PUNK [EMAIL PROTECTED]
  //
 Index: symbols/es
 ===
 RCS file: /cvs/xlibs/xkbdesc/xkeyboard-config/symbols/es,v
 retrieving revision 1.13
 diff -u -p -u -p -r1.13 es
 --- symbols/es  26 Jan 2007 23:02:18 -  1.13
 +++ symbols/es  16 Sep 2007 03:36:44 -
 @@ -146,5 +146,38 @@ xkb_symbols mac {

  include es
  name[Group1]= Spain - Macintosh;
 +};
 +
 +partial alphanumeric_keys
 +xkb_symbols olpc {
 +
 +include us(basic)
 +name[Group1]=Spain;
 +
 +key TLDE { [  bar, degree ] };
 +key AE02 { [2,   quotedbl,  at ] };
 +key AE03 { [3, dead_grave,  numbersign ] };
 +key AE05 { [5,   percent, dead_circumflex ] };
 +key AE06 { [6,  ampersand, notsign ] };
 +key AE07 { [7,  slash,   backslash ] };
 +key AE08 { [8,  parenleft ] };
 +key AE09 { [9, parenright ] };
 +key AE10 { [0,  equal  ] };
 +key AE11 { [   apostrophe,   question  ] };
 +key AE12 { [   exclamdown,   questiondown  ] };
 +
 +key AD03 { [e,  E,EuroSign ] };
 +key AD11 { [   dead_acute, dead_diaeresis ] };
 +key AD12 { [  bracketleft,  braceleft  ] };
 +
 +key AC10 { [   ntilde,Ntilde  ] };
 +key AC11 { [ plus,   asterisk,  dead_tilde ] };
 +key BKSL { [ bracketright, braceright  ] };
 +
 +key AB08 { [comma,  semicolon  ] };
 +key AB09 { [   period,  colon  ] };
 +key AB10 { [minus, underscore  ] };

 +key I219 { [ less,greater,  ISO_Next_Group ] };
 +include level3(ralt_switch)
  };


 --
  \___/
  |___|  Bernardo Innocenti - http://www.codewiz.org/
   \___\ One Laptop Per Child - http://www.laptop.org/

___
Devel mailing list
Devel@lists.laptop.org

Re: Ethiopian installation instructions

2007-09-13 Thread Sergey Udaltsov
Do you mean group switch? I have no idea what is the standard key
for it on XO.

Sergey

On 9/13/07, Bernardo Innocenti [EMAIL PROTECTED] wrote:
 On 09/13/2007 06:34 PM, Sergey Udaltsov wrote:

http://wiki.laptop.org/go/Ethiopian_Setup
  Looks ok. Would it make sense to have layout 'us,et' instead of just
  'et'? It is an important matter - whether Ethiopian kids should be
  able to input latin/English texts.

 Oh, yes... the mode switch key is mapped to the
 divide/multiply one, right?

 --
//  Bernardo Innocenti - http://www.codewiz.org/
  \X/ One Laptop Per Child - http://www.laptop.org/

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


Re: Ethiopian installation instructions

2007-09-13 Thread Sergey Udaltsov
 Yes, it's the rightmost key below enter.  I updated
 the documentation.
Do you need to use some xkb option for the switching key to work? Are
you 100% it works by default, without XkbOption in xorg.conf (or
-option parameter for setxkbmap)?

I took freedom to fix a couple of words in the wiki, if you don't mind.

Cheers,

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


Re: Ethiopian installation instructions

2007-09-13 Thread Sergey Udaltsov
 Oh... yes... for the us layout, I think you need to say
 us(olpc2) because otherwise you get the plain
 multiply/divide mapping by default (switching is still
 available through alt, I think).
I think we were going to have a rule: if layout is 'us' and model
'olpc', it should use symbols 'us(olpc)'. Am I wrong?

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