Re: Using a new keyboard layout for XO4

2013-12-17 Thread Basanta Shrestha
Yeah it works. Now I have Nepali romanized keyboard layout in XO-4. Thanks
a lot Daniel, you rock !
Regards,
Basanta


On Sat, Dec 14, 2013 at 10:36 PM, Daniel Drake d...@laptop.org wrote:

 Hi Basanta,

 On Thu, Nov 21, 2013 at 4:27 AM, Basanta Shrestha
 basanta.shres...@olenepal.org wrote:
  Dear all,
  We are planing on using a different keyboard layout for XO4. The new
 layout we think is phonetically based and easier for children. I simply
 switched the /usr/share/X11/symbols/np file with a new one but did not
 work. I guess there are some other works that needs to be done before we
 can use this file. Can you suggest what needs to be done?

 Yeah, it's not quite that simple. You need to leave the interaction
 with the OLPC mode/variant in place. Add the following lines to the
 end of the file:

 partial alphanumeric_keys
 xkb_symbols olpc {
   include np
   include group(olpc)
 };

 Now it should work.

 Daniel




-- 
Basanta Shrestha
Network Engineer
Open Learning Exchange (OLE) Nepal
Tel: +977.1.551, 5520075 Ext. 303
Cell: +977.9818 605110
http://www.olenepal.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Using a new keyboard layout for XO4

2013-12-14 Thread Daniel Drake
Hi Basanta,

On Thu, Nov 21, 2013 at 4:27 AM, Basanta Shrestha
basanta.shres...@olenepal.org wrote:
 Dear all,
 We are planing on using a different keyboard layout for XO4. The new layout 
 we think is phonetically based and easier for children. I simply switched the 
 /usr/share/X11/symbols/np file with a new one but did not work. I guess there 
 are some other works that needs to be done before we can use this file. Can 
 you suggest what needs to be done?

Yeah, it's not quite that simple. You need to leave the interaction
with the OLPC mode/variant in place. Add the following lines to the
end of the file:

partial alphanumeric_keys
xkb_symbols olpc {
  include np
  include group(olpc)
};

Now it should work.

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


Re: [Sugar-devel] Using a new keyboard layout for XO4

2013-11-22 Thread Tom Parker

On 21/11/13 23:27, Basanta Shrestha wrote:

Dear all,
We are planing on using a different keyboard layout for XO4. The new
layout we think is phonetically based and easier for children. I simply
switched the /usr/share/X11/symbols/np file with a new one but did not
work. I guess there are some other works that needs to be done before we
can use this file. Can you suggest what needs to be done?

The layout I want to use is http://nepalinux.org/input/ne


We did this for Maori. We used James's Tiny Core Linux based 
customization stick.


See http://carrott.org/git/mktinycorexo_nz.git/blob/HEAD:/scripts/asroot 
for the script that is run _before the first boot of the laptop_ to 
insert the Maori keyboard, change the keyboard configuration and update 
the Maori translations. The Maori keyboard is called mi. You may also be 
interested in 
http://carrott.org/git/mktinycorexo_nz.git/blob/HEAD:/scripts/asolpc 
which changes the user's locale preferences.


See http://carrott.org/git/mktinycorexo_nz.git/blob/HEAD:/mknzusb for 
the script which makes the customization flash drive. Be sure to read 
and understand it before running as it will wipe your disk and you will 
be sad if it wipes the wrong one!


Clone the whole repo if you like, but my server's bandwidth is not great 
and there is about 50MB in there, so be patient. I should probably 
refactor it to use a submodule to get tinycorexo.

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


Using a new keyboard layout for XO4

2013-11-21 Thread Basanta Shrestha
Dear all,
We are planing on using a different keyboard layout for XO4. The new layout
we think is phonetically based and easier for children. I simply switched
the /usr/share/X11/symbols/np file with a new one but did not work. I guess
there are some other works that needs to be done before we can use this
file. Can you suggest what needs to be done?

The layout I want to use is http://nepalinux.org/input/ne

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