Hacking Sugar's Write Activity to support spellchecking

   
   
   
   
   

One of the things that has consistently driven me crazy in the past few months is that the spellchecker in Sugar's Write Activity is active yet pretty useless. When Sugar is set to English it will spellcheck your text and underline misspelled words alright. However there's no way to get to the right-click menu to actually see the correct suggestions, add an unknown word to the internal dictionary as well all the other options that modern word-processors offer.


What a spellchecker should look like

This bothered me given that when I don't read books, take a closer look at Activities while in a car or test various Sugar versions I use my XOs quite often to write olpcnews articles and other texts.

With these thoughts in mind I turned to Sugar Labs' mailing-list where I promptly received a reply that told me how to change the Write Activities' configuration so that the relevant spellchecker dialog would be visible.

  1. Start the Terminal Activity
  2. Use your text-editor of choice to open /home/olpc/Activities/Write.activity/keybindings.xml (e.g. nano /home/olpc/Activities/Write.activity/keybindings.xml or vi /home/olpc/Activities/Write.activity/keybindings.xml)
  3. Change the line < unbind-mappings handler="contextMisspellTest" /> to < !--unbind-mappings handler="contextMisspellTest" /--> (Please note that the spaces after the < were only inserted here for formatting reasons.)
  4. Save the file

Now the next time you misspell an English word in Write simply right-clicking will present you the menu do actually do something about it!

As a general observation I fully understand that the way spellcheckers work these days aren't necessarily great for learning how to spell - else I would know how to write endeviors endeavors by now rather than having Thunderbird correct it every time I use the word in an e-mail. At the same time not really enabling the existing functionality also strikes me as a bad design choice.

Anyway, I'd like to hear from you if you've tried this modification and particularly if you've managed to also use it in combination with other languages!

Related Entries

XO Tablets for Sale

Buy Your XO Tablet on Amazon.com
OLPC is selling the new XO Tablets on Amazon.com for just $149. Buy yours today!

xo-tablet-amazon.jpg

Discussions


    Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • Oh, come on Michael. Do you really think anything that was said on OLPC News would have had much …

    Comment on Goodbye One Laptop per Child

  • Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • Hi!

    I bought 2 "Tablets OLPC." I had to return because the two did not work. O …

    Comment on The XO Tablet - A First Impression in 750 Words

  • Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • Dear sir
    I have one question to sir?

    -1 why XO Tablet children play OK but when h …

    Comment on The XO Tablet - A First Impression in 750 Words

  • Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • Dear sir
    I have one question to sir?

    -1 why XO Tablet children play OK but when h …

    Comment on The XO Tablet - A First Impression in 750 Words

  • Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • Dear sir
    I have one question to sir?

    -1 why XO Tablet children play OK but when h …

    Comment on Guest Post: My XO Tablet Technical Review and First Impressions

  • Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • Bonjour Mokifisi!
    Je suis bien d'accord avec vous. Je travaille depuis 4 ans dans un petit …

    Comment on The XO Tablet - A First Impression in 750 Words

  • Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • You just follow the same route upstream how you got the 2XO Tablets? How did you get them? Bring …

    Comment on The XO Tablet - A First Impression in 750 Words

  • Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • └ quelle adresse envoyer mes deux XOTablet qui ne fonctionnent pas?

    At what address to s …

    Comment on The XO Tablet - A First Impression in 750 Words

  • Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • That's called "Death on arrivals". They happen. That's why there's always some additio …

    Comment on The XO Tablet - A First Impression in 750 Words

  • Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • What is a shelf XO? If you tell me what did you buy and from whom, perhaps I will have a suggest …

    Comment on Goodbye One Laptop per Child

  • Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • Voici mon message en franšais...

    Bonjour,
    Je viens d'acheter 2 tablettes XO. Les d …

    Comment on The XO Tablet - A First Impression in 750 Words

  • Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • I just bought 2 shelves XO. Both tablets are not working. One does not start and the other touch …

    Comment on The XO Tablet - A First Impression in 750 Words

  • Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • I just bought 2 shelves XO. Both tablets are not working. One does not start and the other touch …

    Comment on Goodbye One Laptop per Child

  • Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • I just bought 2 shelves XO. Both tablets are not working. One does not start and the other touch …

    Comment on Goodbye One Laptop per Child

  • Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1473

    Warning: Use of undefined constant link - assumed 'link' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1474

    Warning: Use of undefined constant description - assumed 'description' (this will throw an Error in a future version of PHP) in /nfs/c03/h05/mnt/54379/domains/olpcnews.com/html/includes_c/sidebar.html on line 1475
  • OLPC is not death; eg. this One Laptop per Child San Francisco (OLPC-SF) June 21, 2014 Meeting a …

    Comment on Goodbye One Laptop per Child

Recent Comments

Community Forum

Close