Friday, December 26, 2014

Server Monitoring with Monit Tutorial

As you sit down for a lovely Christmas dinner with family and friends, your phone rings. The frantic client is on the line shouting that the server just went down. Don't you wish you had a helpful program that automatically monitors and restarts the servers automatically.

Monit is an open source process supervision program that monitoring your server processes and restarts failed services. It is easy to setup and relatively painless to use.

Here is a quick tutorial to configure Monit to monitor Apache and MySQL servers.


$ sudo apt-get install monit 

# Monit Configuration settings
$ sudo nano /etc/monit/monitrc 
  set daemon 60 
  set logfile /var/log/monit.log
  set idfile /var/lib/monit/id
  set statefile /var/lib/monit/state
  set eventqueue
  set httpd port 2812 and
   use address localhost
   allow localhost
   include /etc/monit/conf.d/*

# Create Apache2 monitoring file 
$ sudo nano /etc/monit/conf.d/apache2 
check process apache with pidfile /run/apache2.pid
    start program = "/etc/init.d/apache2 start" 
    stop program  = "/etc/init.d/apache2 stop"


# Create  MySQL monitoring file
$ sudo nano /etc/monit/conf.d/mysql 
check process mysqld with pidfile /var/run/mysqld/mysqld.pid
    start program = "/etc/init.d/mysql start"
    stop program = "/etc/init.d/mysql stop"

# Check monit configuration for syntax errors 
$ sudo monit -t 


# Start Monit daemon
sudo service monit start 

# Check Monit status 
$ sudo monit status
The Monit daemon 5.3.2 uptime: 4m 

Process 'mysqld'
  status                            Running
  monitoring status                 Monitored
  pid                               2676
  parent pid                        1
  uptime                            4d 8h 1m 
  children                          0
  memory kilobytes                  256380
  memory kilobytes total            256380
  memory percent                    12.5%
  memory percent total              12.5%
  cpu percent                       0.0%
  cpu percent total                 0.0%
  data collected                    Wed, 10 Dec 2014 08:43:13

Process 'apache'
  status                            Running
  monitoring status                 Monitored
  pid                               4230
  parent pid                        1
  uptime                            4d 8h 1m 
  children                          27
  memory kilobytes                  11556
  memory kilobytes total            391484
  memory percent                    0.5%
  memory percent total              19.1%
  cpu percent                       0.0%
  cpu percent total                 0.0%
  data collected                    Wed, 10 Dec 2014 08:43:13

System 'system_foobar.org'
  status                            Running
  monitoring status                 Monitored
  load average                      [0.00] [0.01] [0.05]
  cpu                               0.0%us 0.0%sy 0.0%wa
  memory usage                      666736 kB [32.6%]
  swap usage                        140 kB [0.0%]
  data collected                    Wed, 10 Dec 2014 08:43:1

That's all folks! Now you have a wonderful Christmas!

Thursday, December 11, 2014

Announcing the next Phnom Penh Tweetup

Announcing the next Phnom Penh Tweetup during the next Connect@coLAB event. If you have a Twitter account, you can contact us with hashtag #PhnomPenhtweetup in your message. You can also follow us using this twitter search page (#PPtweetup).

Don't worry if you don't tweet. Come and meet some great people at Phnom Penh Tweetup. :)

What is a Tweetup?

A tweetup is an organized, in-person gathering of people on Twitter. Normally we connect with our friends online after we have met them. At a tweetup you meet the people you might only otherwise know virtually. Like finally putting a name to a face, a tweetup is a great opportunity to really connect with the people who you follow on twitter.

When is it?

Thursday December 18, 2014
6pm till 9pm

Where is it?

CoLAB
#263 Street 163 Toul Tom Pong Phnom Penh
Cambodia
+855 (0) 16 777 631 – Samda

coLAB is located on street 163 near the corner of street 454. We are on the 1st floor above 7 Mart Convenience Store.

Phnom Penh Tweet Up and Pop Up bar poster

Sunday, October 26, 2014

Gnome 3 Massive Title Bar Solution

Upgraded to Ubuntu 14.10 (Utopic Unicorn) this weekend. The upgrade process went without a hitch and latest Gnome 3.12 desktop experience is good except for this massive title bar issue. Reblogging Mikey's solution for this minor Gnome 3 annoyance. Thanks Mikey!.



$ sudo sed -i "/title_vertical_pad/s/value=\"[0-9]\{1,2\}\"/value=\"0\"/g" /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml

Gnome 3 Desktop screenshot image with large title bar

Before

Gnome 3 Desktop screenshot image with normal title bar

After


Reported the bug, Please feel free to track the bug #1385597 and provide your feedback.

Saturday, October 25, 2014

Scaffold an AngularJS App with Yeoman

Notes from this morning's scaffolding an AngularJS with Yeoman demo at AngularJS training session at Development Innovations in Phnom Penh. It follows the fantastic Let's Scaffold a Web App with Yeoman code lab tutorial.

Yeoman makes web developers productive by generating basic application directories and writing various configuration files. Grunt and Bower are used for build and package management.

Yeoman is installed using Node package manager (npm). In this post I install Node.js using Node version manager (NVM) tool . You can also install npm via package manager of your operating system.



# Run the Node.js version manager(NVM) Installation script 
$ curl https://raw.githubusercontent.com/creationix/nvm/v0.17.3/install.sh | bash

# Active the Node.js version manager (NVM) 
$ source ~/.nvm/nvm.sh

# Install the stable version of Node.js 
$ nvm install v0.10.32

# Install Yeoman 
$ npm install -g yo 

# Install the AngularJS generator.
$ npm install install -g generator-angular


# Let's create a directory for our TODO AngularJS app and change directory into it.
$ mkdir todo 
$ cd todo 

# Scafold AngularJS  App
$ yo angular 

# The AngularJS generator following directory structure 

$ tree -L 1 -a 
.
├── app
├── bower_components/
├── bower.json
├── .bowerrc
├── .editorconfig
├── .gitattributes
├── .gitignore
├── Gruntfile.js
├── .jshintrc
├── node_modules/
├── package.json
├── test
└── .travis.yml

# Start the development server. 
$ grunt serve  

# Additional packages can be fetched and installed using bower.
$ bower install --save jquery-ui

# Let's build your code 
$ grunt 

# One final check before deployment. Serve the production server. 
$ grunt serve:dist




Wednesday, October 22, 2014

3D scanning with mobile phone

You got a 3D scanner in your pocket right now. It's your mobile phone. The innovative 123D Catch application let's you turn ordinary photos into 3D models. You can edit these 3D models and print it with a 3D printer. The 123D Catch is available for iPhone, Android, Windows PC and web app (Works only in Google Chrome).



Go forth and 3D capture the world around you.


Troubleshooting

Looks the services was down during the weekend. Login page spewed the following error. Now the service is back online.


{"CODE":100,"STATUS":500,"MESSAGE":"Internal server error | URL Parameters:afc=PA1ON1&locale=en-US&ssl=true&relative_redirect_path=/login-redirect","DATA":{},"ERROR_ID":"175e100e-e932-4e37-81aa-bab52ec0ae5c"}


Saturday, October 18, 2014

Node.js Version Manager (nvm) Alternative Node.js installation on gnu/Linux

The Node.js packages distributed by gnu/Linux distributions tends to be out of date. If you looking for an alternative method for installing Node.js on gnu/Linux. Then Node Version Manager (nvm) is a good choice. This simple bash script lets you install and manage multiple active node.js versions.

You can download Node Version Manager(nvm) from the projects github page. Digital Ocean community site has a good getting started tutorial for Node Version Manager (nvm).

Installing Node.js Version Manager (nvm)


# Download and the installation script
$ curl https://raw.githubusercontent.com/creationix/nvm/v0.17.2/install.sh | bash

# Activate nvm (You might want to add this line to your .bashrc or .profile file)

$ source ~/.nvm/nvm.sh 

# Discover other installable versions of Node.js 
$ nvm ls-remote 

# Install the stable version of Node.js 
$ nvm install v0.10.31

# Install another version of Node.js
$ nvm install v0.11.13

# Check the installed versions of Node.js 

$ nvm ls 
->  v0.10.31
    v0.11.13
      system

# Use v0.10.32 version of npm 
$ nvm use v0.10.31 

# Run using particular version Node.js 

$ nvm run 0.11.13 

# Alternatively use Node.js installed by your package manager 
$ nvm use system 

Friday, October 3, 2014

Micro SIM card adapter

Eating your own dog food or Dogfooding in technical parlance means the software maker uses their own software thus appreciate its strengths and weaknesses (and hopefully improve on those.)

Usually I dogfood multiple mobile phones running early releases of Cyanogenmod and Firefox OS. Doing this is easy when you have multiple SIM cards. But if you have to swap your SIM card between Nexus 4 (micro-SIM) and Firefox OS device (mini-SIM) then you'll love this inexpensive Nano SIM adapter from NooSY.



Sunday, September 21, 2014

Noto Fonts Update

Google Internationalization team released new update of Noto Fonts this week. The update brings numerous new features enhancements. Please read the project release notes for the full list of changes.

You can preview the fonts and download them at google.com/get/noto.

Google Noto project logo

Testing fonts on Firefox OS device

It is very simple to test the Noto fonts on a Firefox OS device. Just copy the the font files into /system/fonts folder and reboot the device. Don't forget to back-up the existing fonts on device first.

Am writing this blog post in Bangkok, So I am going to use Thai Noto fonts in these instructions. Connect your Firefox OS device to the computer with a USB cable. Make sure to turn on developer settings to enable debugging via USB.


# Backup the existing Thai font
$ adb pull /system/fonts/DroidSansThai.ttf  

# Remount the /system partition as read-write
$ adb remount /system 

# Remove the font on the device
$ adb shell rm  /system/fonts/DroidSansThai

# Unzip the previously downloaded Thai font package
$ unzip NotoSansThai-hinted.zip 

# Push to Firefox OS device 
$ adb push NotoSansThai-Regular.ttf /system/fonts

# Reboot the phone. Test your localization by selecting your language 
#in Language settings menu or navigating to local language webpage with browser app.
$ adb reboot


Wait, All I see is Tofu?

If you see square blocks (lovingly referred as Tofu) instead of characters, that means the font file for your language is missing. Please double check the steps, if everything fails restore the previously copy of your font file.

What is Font Tofo, firefox OS screenshot

Happy Hacking!

Monday, September 15, 2014

Firefox OS: Designing Khmer Keyboards and Fonts

Back in Cambodia this week to participate in Barcamp Phnom Penh 2014. It is great to experience the energy and openness of Phnom Penh and the Cambodian youth's insatiable zeal to learn all things tech. Over the past few years, the barcamps helped us build the Mozilla community in Cambodia.

Cambodia is a fast growing economy in the region. One survey notes significant increase in smart phone ownership from last year. And also increase in Khmer supported smart phones and feature phone in the market. At Barcamp Phnom Penh I presented a Firefox OS talk about the on-going Khmer Internationalization (i18n) work and invited the audience to contribute to Firefox OS. Planning to organize hackathons to work on Khmer keyboards with the Mozilla community here.

After my talk, Vannak of Mozilla Cambodia community talked briefly about Mozilla community to the audience. And we did a presentation about Mozilla Web Maker tools. I hope we'll organize more web literacy events in future. Keep watching this space for more news from Cambodia, the kingdom of wonder.

Tuesday, September 9, 2014

Jeffrey Zeldman: 20 years of Web Design and Community (Video Documentary)

Who is Jeffrey Zeldman? The "Miles Davis of web design"? "Godfather of the web"? Or simply "your friend on the Internet"? For people who make websites, Zeldman is all of these and more. He's been a guiding voice in web design since the earliest days of the Internet, leading the charge in the fight for web standards. He's an educator whose businesses—A List Apart, An Event Apart, and A Book Apart—are extensions of his basic instinct to share his best ideas. He's also a community leader that other designers look to for inspiration. This film is an intimate portrait of a man who has helped shape the web but isn't recognized by most of the people who use it everyday. Learn how he evolved his influential mailing list, how he convinced Netscape and Internet Explorer to support HTML and CSS, and what he's doing to pass the torch to the next generation.

Watch more documentaries like this at lynda.com/vimeo.

Jeffrey Zeldman: 20 years of Web Design and Community from lynda.com on Vimeo

Thursday, July 31, 2014

Buying Open Hardware in Nairobi

Getting open hardware components in Nairobi is expensive. It is worth buying internationally and try to ship them to Kenya. That does takes time and more resources. So if you need that crucial component for your project Nerokas.co.ke is your best bet. They stock most open hardware boards such as Arduino, Raspberry Pi, various electronic components and sensors.

  • Emko Plaza, Garissa Road
  • Thika, Kenya
  • P.O Box 18936-00100,
  • Nairobi, Kenya
  • Telphone:(+254) 020 813 8956 /
    0706 246 248

Happy Hacking!

Sunday, July 27, 2014

Oshin is back!

Did you watch Oshin the Japanese television drama growing up?. The story of seven-year old Oshin from an impoverished farming family sent to work as house maid caught the imagination of audience around the world.

Today the story is retold by Togashi Shin in Oshin(2012).

Enjoy the movie and don't forget to share your experiences here.



Sunday, July 6, 2014

Origin: Talking about "fromness" (July 23, 2014) Phnom Penh, Cambodia

In my travels over the years people asked me 'Where are you from?'. It is a mundane, yet profound question. For a digital nomad, home is a transient concept. In my conversations with Dipika of Oranguntan Swing, I shared few ideas that inspired the 'Origin: talking about "Fromness' event. If you are based in Phnom Penh, Cambodia. Please join this conversation on July 23, 2014.


Poster of Origin: Talking about 'Fromness' in Phnom Penh, Cambodia

Saturday, May 31, 2014

Skype Audio Quality Issues in gnu/Linux

Skype is an essential tool for a digital nomad. In some versions of gnu/Linux, you'll notice considerable audio quality issues and disturbance (white noise) in Skype. Had to resort to using Skype on Android until I found this solution on Skype community forum.

Run this command in the terminal to start Skype. You'll notice significant improvement in the audio quality.


$ PULSE_LATENCY_MSEC=30 skype

Happy Skyping!



Wednesday, April 30, 2014

The Web We Want: An Open Letter (Video)

The Web is our largest shared resource. Let's keep it free and open for us, and for the next generation.

What kind of Web do you want? Tell us: http://mzl.la/1hHyqBq


Learn more about at webwewant.mozilla.org and WebWeWant.org global movement to defend, claim and change the future of the Web.

Wednesday, April 23, 2014

Find the fastest DNS Servers with NameBench

In my last post I talked about configuring static DNS entries. Let's go about choosing the fastest DNS servers near your location using Namebench. This tool helps you find the fastest DNS server based on web history, tcpdump output and standardized datasets. You can install it from your package manager or download from code.google.com/p/namebench/.

Namebench DNS benchmarktool screenshot

Here is the list of fastest DNS servers near Nairobi. Tests were run from Zuku Internet connection on Ngong Road, Nairobi

Recommended DNS configuration (fastest + nearest) Nairobi, Kenya

  • Primary Server: 216.194.28.69 (MetConnect-2 US)
  • Secondary Server: 8.8.8.8 (Google Public DNS)
  • Tertiary Server: 78.143.192.10 (Fast GB)

Sunday, April 20, 2014

Configure Static DNS Entries in Ubuntu

Here is quick tip to configure custom DNS services like OpenDNS and Google Public DNS servers on gnu/Linux. Using custom DNS services offers performance benefits and enhanced security.

Append add 'dns-nameservers' to your /etc/network/interfaces file. This over-rides the DNS servers assigned by the DHCP service.


dns-nameservers  208.67.222.222 208.67.220.220

Happy Browsing!

Wednesday, March 26, 2014

Managing Configuration files with etckeeper

Managing your /etc configuration files using version control is a good practice. Trust me, someday this will save your skin.

In the post I'll share setup notes for using etckeeper with git version control. You can install etckeeper and git using system package manager.


# Initialize etckeeper
sudo etckeeper init 

# Commit all your /etc/ configurations into git
sudo etckeeper commit '...enable etckeeper...'

# Check the commit history of file 
$ sudo git log /etc/passwd
commit 322b63ede6cf3073a8f48a883b49d5b3b60fdfb9
Author: arky <arky@localhost.localdomain>
Date:   Wed Mar 5 07:11:47 2014 +0000

    ...enable etckeeper...


There is very little etckeeper documentation out there. You can learn more from this dated Ubuntu Server 10.04 etckeeper wiki page.

Saturday, March 22, 2014

So-Fi Sunrizer Solar bag with flexible panels

Robert Kaiser walks in with his Sunrizer bag and says "Here is what you need for Africa". This designer bag sports a flexible solar panel and provides USB connections to charge your devices while you carry. Stylish, Waterproof and rugged enough to hold your laptop, mobile phones, music player and charger cables. Love this bag but at €179.00 EUR it's expensive.




Checkout out www.So-fi.com for more solar products.

Wednesday, March 19, 2014

Using Archivemail to pruning Mailman archives

The mailman server I maintain for a local non-profit is running out of disk space.Time for some spring cleaning. Decided to archive all mailing-list archives older than 2 years. Grabbed the nifty Archivemail python program and installed with 'python setup.py'.

The archivemail is a tool for archiving and compressing old email in mailboxes. It moves messages older than the specified number of days to a separate mbox format mailbox that is compressed with gzip.

Don't forget to back up mailman mbox files before you start pruning mailman archives.


# Prune mbox file
$ cd /var/lib/mailman/archives/private
$ archivemail --days=550 name-of-list/list.mbox 

# Wipe and rebuild archive
$ cd /usr/lib/mailman
$ bin/arch --wipe 

Thursday, February 20, 2014

Sugar Learning Platform

Last weekend I attended the Vietnam Tech Conference 2014 in Hanoi. The event brought together educators from across south east asia to learn and share about the use of technology within the classroom.

My talk introduced the Sugar learning platform that was developed for OLPC laptops. Designed from the ground up especially for children. Sugar User Interfaces moves away from traditional 'desktop' metaphor. It makes collaborative learning a fun experience. There are numerous activities that promotes self-learning.




What is Sugar on a stick?

Sugar on a Stick is a Fedora® Spin Live USB operating system featuring the award-winning Sugar Learning Platform and designed to fit on an ordinary USB thumbdrive ("stick").

It will run on any recent x86-based computer that can boot from a USB stick (check the BIOS settings if it doesn't work straight away). This includes most Windows and Linux PCs and x86 Macs.

You can use SoaS to demo Sugar almost anywhere without disturbing the contents of the computer you use, and if people like what they see, you can install Sugar on a Stick to their hard drives or other sticks from the demo stick.

Learn more about Sugar on a stick here.

Sunday, February 2, 2014

WakaWaka Compact Solar Power Charger and Light

Growing up in rural India, we experienced severe shortage of electricity. I spent many nights finishing home work by the light of the gas lantern. The lack of electricity adversely effect education and the overall development of the country. The WakaWaka project ('Shine Bright' in Swahili) aims to bring low-cost solar-powered LED lamps to developing countries. The project was successfully funded on Kickstarter crowdfunding site and went into production two weeks later.

What is WakaWaka Power?

A sturdy, highly efficient, sustainable, solar-powered LED lamp. The WakaWaka Light is as much an indispensable product for those in the West, as it is the solution for the 1.3 billion people living without electricity. It is twice as efficient as any other solar lamp on the market and is making a significant impact around the world.

Wednesday, January 29, 2014

SamyGO: Modding Samsung TV

SamyGO project provides custom firmware for Samsung TV's. If you have any LED, LCD and Plasma TV models made by Samsung from 2009(Check the compatible TV list). Follow the instructions to load the custom firmware using serial interface.

SamyGO Demo


The project enables you to unleash the full power of the Smart TV. In this hack, you can watch movies from your local network media server running Samba/dlna using built-in Wifi connection.


Sunday, January 26, 2014

Pebble SDK 2.0 Developer Preview

Pebble smartphone SDK 2.0 will be released later this year. It introduces new build tools, support for accelerometer, data logging, persistent storage, JavaScript and Web API(Geolocation, Local Storage) API. Developers can distribute apps on Peeble Appstore for free.

Pebble SDK 2.0 Announcement

Check out the technical talk for full details. Grab the latest Pebble SDK 2.0 Beta7 and use iOS/Android 4.0 mobile device to flash your Pebble with latest Beta firmware.


You can view this presentation slides on slideshare

Wednesday, January 22, 2014

African WebMuses : African Women in Technology

African WebMuses presents portraits of women that the AfricaHackTrip team met during a journey in November 2013. We wanted to show powerful females from the East-African IT industry, working as programmers, teachers, tech events organizers and managers supporting technology development. It was a great pleasure to meet you. Thank you for being an inspiration!

African WebMuses from WebMuses on Vimeo.

The movie was made by WebMuses and AfricaHackTrip, with financial support of W4 – an organization dedicated to the empowerment of girls and women around the world.

Sunday, January 19, 2014

Open Hardware Shopping in Taipei

Getting anything shipped into Vietnam is difficult. During my travels, I hunt the local markets for hackable hardware. In Taipei I visited the Guang Hua Digial Plaza on tip-off from Mike.

This multistory shopping mall is packed with small electronic stores. Hidden in this huge market, there are two shops that sell open hardware such as Arduino boards, Raspberry Pi and various senors, robotics kits. You might find the prices are better than online shopping.

You'll find this first store on the fourth floor in a corner.

The second store is on the next floor. It has kits from dfrobot and books about robotics.

Here are the business cards. Have them handy if you want to find them quickly.

And don't forget to check out the Taipei Hackerspace. Happy Hacking!


Wednesday, January 15, 2014

Ubuntu Adobe Reader 9 Firefox Plugin Annoyance

Launching Firefox web browser on Ubuntu produces these debug files C:\nppdf32Log\debuglog.txt. It is quite annoying especially when developing Firefox Add-ons with Add-on SDK, I have to remove these debug files before committing my sources.

The Adobe Reader 9 plugin is source of this annoying problem. I usually remove the plugin and forget about it. However Robert Fleming provided a better solution.


$ cat C\:\\nppdf32Log\\debuglog.txt 
NPP_GetValue is called
NPP_GetValue is called
NPP_GetValue is called
NPP_GetValue is called
NPP_GetValue is called
NPP_GetValue is called
NPP_GetValue is called
NPP_GetValue is called
NPP_GetValue is called

Save this python program and run it with sudo to fix the problem.


#! /usr/bin/python3
# 
# Save and Run as:
# "sudo ./fix_nppdf.py /opt/Adobe/Reader9/Browser/intellinux/nppdf.so"
#

import mmap, sys

target = br'C:\nppdf32Log\debuglog.txt'
replacement = br'/dev/null'
replacement += b'\0' * (len(target) - len(replacement))

with open(sys.argv[1], 'r+') as f:
  m = mmap.mmap(f.fileno(), 0)
  offset = m.find(target)
  assert offset != -1
  m[offset:offset+len(target)] = replacement

Thursday, January 9, 2014

3D Printing a Prosthetic Hand

Richard Van As lost four fingers on his right hand in an accident. He started to build a prosthetic hand with set of mechanical fingers using tools in his woodworking workshop. I met Richard at Tech4Africa 2013 in Johannesburg, South Africa. His Robohand project provides 3D printed prosthetic hands for the disabled. Anyone with a 3D printer can download the shape files from Thingiverse and print a prosthetic hand.

Richard is a hero for tinkers and makers everywhere. His innovative use of 3D printing technology heralds of things to come. Watch the video about Robohand project on YouTube.


For more information visit robohand.blogspot.com

Sunday, January 5, 2014

Using Sugar Learning Platform on Ubuntu

Sugar makes learning fun. There are many activities that encourage children to develop critical thinking skills. The Sugar user interface was developed for One Laptop Per Child (OLPC) project.

In this blog post, I'll share instructions to setup Sugar as alternative desktop environment on Ubuntu. Perhaps schools will adopt this setup to provide different desktop environment for students of various ages groups. At home, parents can share the home computer with their children.

Installing the Sugar Environment

These instructions were prepared on Ubuntu gnu/Linux 13.04 operating system. Please read this wiki page for further instructions.

# Download the sweets installer shell script 
$ wget ftp://download.sugarlabs.org/packages/sweets-distribution.sh

# Add executable bit to the script
$ chmod +x sweets-distribution.sh

# Run the scripts with sudo program. 
$ sudo ./sweets-distribution.sh 

# Check the status of 'sweet-distribution' program.
$ sweets-distribution status
Platform:
   Ubuntu-13.04

Selected repository:
   Factory

Packages to sync:           
   (import GPG keys)

Available repositories:
   0.94:SugarNetwork            
   Factory

-- Hint: Use "sync" command to synchronize packages

# Select 'Factory' as default distrubution channel.
$ sudo sweets-distribution select Factory

# Download the package descriptions. 
$ sudo sweets-distribution sync 

# Now install all the packages using apt-get package manager.
$ sudo apt-get install sweets-desktop

# Test the deployment by launching Sugar emulator.
$ sweets-sugar-emulator

Unfortunately there aren't many Sugar activities packaged for Ubuntu. Let's start with installing browse activity. Download browser activity and save to your ~/Documents folder or external flash drive. To install open the downloaded .xo file with Journal activity in the Sugar emulator.

You can now use the browse to download and install more activities from activities.sugarlabs.org. You can learn more about installing activities by reading the Sugar manual.

That's all. Now you can select Sugar at the graphical login screen. Do share your experience using Sugar Learning Platform.

Popular Posts