Playing With Sid

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg
Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Sunday, 27 January 2013

Speeding Up Software Rebuilds with CCache

Posted on 10:23 by Unknown

Software developers who routinely rebuild large projects would love ccache. Ccache is a compiler cache. It speeds up software rebuilds by caching the result of previous compilations and detecting when the same compilation is being done again.

I use ccache when compiling Linux kernel, Debian/Ubuntu packages, GNOME applications, Mozilla Firefox, FirefoxOS and Android operating system. You could enable ccache by prefixing ccache to your compilation command or update your system path to include ccache.


# Add the following line to your ~/.bashrc file
export PATH=/usr/lib/ccache:${PATH}

Alternatively you could create symlinks in ~/bin directory. GNOME 3 jhbuild documentation provides a bash script for this purpose.


cd ~/bin
for cmd in cc gcc c++ g++; do
ln -s /usr/bin/ccache $cmd
done

To take advantage of ccache while building Mozilla Firefox, append the following line to your .mozconfig.


ac_add_options --with-ccache

If you are compiling Android(ASOP), CyanogenMod or Firefox OS. Android build system includes the ccache program, set the USE_CCACHE environment variable to enable ccache.

$ export USE_CCACHE=1

Further more in-depth information, read the ccache manual page. Please do comment and share your experiences using CCache.











Read More
Posted in android, boot2gecko, firefox, firefoxOS, gnome, Linux, Mobile, mozilla, ubuntu | No comments

Sunday, 20 May 2012

Samsung Galaxy S2 Accessories For Presentations

Posted on 01:20 by Unknown

In this post we'll explore some effective presentations techniques using Samsung Galaxy S2 accessories. Use the Droid@Screen (See this blog post) program to display the mobile phone screen on my computer during my presentations. This program works by taking a continues series of screenshots of the phone screen. There are some problems with this design, there is noticeable delay during application interaction and the video performance is not great on my Lenovo X120e Ubuntu computer.

You can not demonstrate audio and video capabilities of the mobile phone using such software. Planning to give a talk about using Firefox Mobile with Android 4 screen-reader and existing solutions doesn't work for me.

Samsung Galaxy S2 HDTV Adapter

This adapter allow you to plug in your phone directly into HDMI large displays and digital projectors. The mobile phone AC charger powers the adapter and no additional audio cable is needed. The Samsung HDMI adapters are available for Samsung Galaxy phones and tablet models.

This works really great if you are planning to setup large screen display in a exhibition booth. Connect the phone to large screen display with HDMI cable and play your video demo in a loop.



Samsung Galaxy S2 Power Pack

The Samsung Power Pack comes handy when phone runs out of battery in the middle of the presentation. It does extend the battery life of the phone during the presentation or an extending application testing session.

Few caveats using these accessories. The HDMI adapter will not work when the phone is attached to the power pack .

This power pack has some issue with power sensing, sometimes it starts and stops charging with annoying beeps every 10 seconds. And you need to press locking mechanism tight to get the phone to charge. Hope someone at Samsung fixes this problem.




Read More
Posted in accessibility, android, firefox, mozilla, samsung, ubuntu | No comments

Wednesday, 16 May 2012

Unset Google Chrome as default browser on Ubuntu

Posted on 11:30 by Unknown

Update: After further investigation, I found is the problem is in google-chrome application not in Chromium-browser. My Mistake!

Dietrich Ayala brought this problem to my attention. For some reason google-chrome browser constantly makes itself the default browser on Ubuntu 10.10 and later versions. This is annoying when you are testing Firefox Nightly Ubuntu builds. You can choose to remove the google-chrome, but that is not a solution.

First, I tried to reproduce this problem on multiple Ubuntu machines. To reproduce this problem, installed Firefox nightly using Firefox Nightly PPA. Remove any other browsers expect google-chrome.



It took very long time to find the solution to this problem. The chromium-browser package adds /usr/local/share/applications/mimeinfo.cache which supersedes the default system application settings. The solution is edit this file and make it read-only using chattr command.


$ sudo nano /usr/local/share/applications/mimeinfo.cache
[MIME Cache]
application/earthviewer=google-earth.desktop;
application/keyhole=google-earth.desktop;
application/vnd.google-earth.kml+xml=google-earth.desktop;
application/vnd.google-earth.kmz=google-earth.desktop;
application/xhtml_xml=google-chrome.desktop;
text/html=google-chrome.desktop;
text/xml=google-chrome.desktop;
x-scheme-handler/ftp=google-chrome.desktop;
x-scheme-handler/http=google-chrome.desktop;
x-scheme-handler/https=google-chrome.desktop;

#Remove all the google-chrome entries, like this.
[MIME Cache]
application/earthviewer=google-earth.desktop;
application/keyhole=google-earth.desktop;
application/vnd.google-earth.kml+xml=google-earth.desktop;
application/vnd.google-earth.kmz=google-earth.desktop;

# Make it read-only even for super-user
sudo chattr +i /usr/local/share/applications/mimeinfo.cache







After making these changes. Open Firefox Nightly and make it the default browser. Now this system setting will remain unchanged.



Read More
Posted in Chromium, firefox, google, mozilla, ubuntu | No comments

Getting Started with Arduino in Hanoi

Posted on 02:14 by Unknown

Spent the weekend learning basic electronics with Arudino open source prototyping platform. La 4uatrieme creative lab organized a two day Arduino workshop in Hanoi.

Designer and teacher Eoin Kinsella delivered a very interactive workshop. We learnt basic electronics, Arduino hardware and software environment by tinkering examples from the popular Getting Started with Arduino book. We spent the day building simple prototypes with sensors, switches and LED's on solderless breadboard and programed it using Arduino development environment.

The Arduino IDE on Linux is not well tested. During the workshop I found a minor bug in Arduino package in Ubuntu and fixed it right away.

Arky with Arduino LED circuit

The inexpensive Arudino hardware makes it easy to build interaction design and physical computing prototypes. With 3D printing services such as Shapeways you can now bring your ideas to life much faster than ever.

You can buy Arduino hardware in Vietnam from Soatec (www.sotatec.com) in Ho Chi Minh city.

Watch Arduino The Documentary (2010)

Read More
Posted in 3dprinting, arduino, ubuntu | No comments

Sunday, 25 March 2012

Building Boot2Gecko(B2G) on Ubuntu

Posted on 21:10 by Unknown

You heard about Mozilla Boot2Gecko(B2G) mobile operating system. Boot2Gecko's Gaia user interface is developed entirely using HTML, CSS and Javascript web technologies. If you are an experienced web developer you can contribute to Gaia UI and develop new Boot2Gecko applications with ease. In this post I'll explain how to setup the Boot2Gecko (B2G) development environment on your personal computer.



You can run Boot2Gecko(B2G) inside an emulator or inside a Firefox web browser. Using Boot2Gecko(B2G) with QEMU emulator is very resource intensive, so we will focus on the later in this post. I'll assume you are comfortable with Mozilla build environment. So, get that pot of coffee brewing and prepare for a long night of hacking.



Building Boot2Gecko(B2G) Firefox App



Before you start, let us make sure that you have all the prerequisites for building Firefox on your computer. Please have a look at the build prerequisites for your Linux, Window and OSX operating system.





# Let get the source code
# Download mozilla-central repository

$ hg clone http://hg.mozilla.org/mozilla-central mozilla-central

# Download the Gaia source code

$ git clone https://github.com/mozilla-b2g/gaia gaia

# Change directory and create our profile

$ cd gaia

$ make profile


# Change directory into your mozilla-central directory

$ cd mozilla-central


# Create a .mozconfig file inside your mozilla-central directory:

$ nano .mozconfig
mk_add_options MOZ_OBJDIR=../b2g-build
mk_add_options MOZ_MAKE_FLAGS="-j9 -s"
ac_add_options --enable-application=b2g
ac_add_options --disable-libjpeg-turbo
ac_add_options --enable-b2g-ril
ac_add_options --with-ccache=/usr/bin/ccache

# Build the Firefox B2G app and wait for the build to finish

$ make -f client.mk build


# Create a simple b2g bash script to launch B2G app; change paths you suit your environment
# Note: Have to use to -safe-mode option due to bug on my Ubuntu box

#!/bin/sh
export B2G_HOMESCREEN=http://homescreen.gaiamobile.org/
/home/arky/src/b2g-build/dist/bin/b2g -profile /home/arky/src/gaia/profile





If everything goes well. You should have boot2gecko running inside a firefox now.



Boot2Gecko running inside firefox on Ubuntu




Customizing Firefox B2G App

For better Boot2Gecko (B2G) experience, we will customize Firefox features offline cache and touch events using a custom Firefox profile.





Create a Custom Firefox Profile



You can use dist/bin/b2g -ProfileManager option to launch Firefox Profile Manager. Create a new profile called 'b2g'. Now we can add customizations to this new profile.



On Linux computers, the profile is created under ~/.mozilla/b2g/ directory. You can find the information about location of firefox profiles for your operating system here.





You launch B2G with your new custom profile using the '-P' option. Modify your B2G bash script and add the custom profile option. dist/bin/b2g -P b2g



Disable offline cache



Create a user.js file inside your custom 'b2g' firefox profile directory. Add the following line to disable offline cache.

user_pref('browser.cache.offline.enable', false);




Enabling Touch events



Add the following line in your user.js file inside your custom 'b2g' Firefox profile directory to enable touch events.

 user_pref('dom.w3c_touch_events.enabled', true);






That's it. You now have a Boot2Gecko(B2G) running inside Firefox on your computer. Happy Hacking!

Read More
Posted in boot2gecko, firefox, mozilla, ubuntu | No comments

Sunday, 9 October 2011

Setup RubyGems path in ubuntu

Posted on 22:44 by Unknown

Building Virtual Machines (VM) using Vagrant this week. Unfortunately the Ubuntu Natty does not add Ruby Gems directory to system path variable. Using Ruby Gems on command line is tedious if you have to type the full path prefix everytime. For example I have to type /var/lib/gems/1.8/bin/vagrant .



Instead I used the solution suggested in libgems-ruby bug #145267 .






sudo echo "PATH=/var/lib/gems/1.8/bin:$PATH" > /etc/profile.d/rubygems1.8.sh




Perhaps someone could add this to Vagrant Ubuntu installation documentation.

Read More
Posted in ruby, ubuntu, vagrant, virutalization | No comments

Saturday, 1 October 2011

Mytop MySQL Monitoring Tool

Posted on 20:40 by Unknown

If you are a developer or systems administrator who know the MySQL server performance in real time. MyTop tool is just for you. Designed like the traditional 'top' unix program Mytop displays MySQL server information, current mysql processes. It also lets you view complete query information and allows you to kill any MySQL processes. You can get mytop program using systems package installer or download it from mytop project website.




Usage:

You can launch the mytop in the system terminal using the following command line options.

$ mytop -u username -p password -d database



Press f to view full description of selected MySQL query and k to kill the the MySQL process.




You press ? anytime to view more keyboard commands.






$ mytop -u username -p password -d database

MySQL on localhost (5.1.54-1ubuntu4) up 0+06:01:44 [16:26:50]
Queries: 91.0 qps: 0 Slow: 0.0 Se/In/Up/De(%): 21/00/00/00
qps now: 0 Slow qps: 0.0 Threads: 4 ( 2/ 0) 00/00/00/00
Cache Hits: 17.0 Hits/s: 0.0 Hits now: 0.0 Ratio: 89.5% Ratio now: 0.0%
Key Efficiency: 100.0% Bps in/out: 0.2/ 19.0 Now in/out: 8.3/ 2.1k

Id User Host/IP DB Time Cmd Query or State
-- ---- ------- -- ---- --- --------------
50 root localhost narro 0 Query show full proce
53 narro localhost narro 24 Sleep
54 narro localhost narro 24 Query SELECT DISTINCT
45 root localhost 543 Sleep


Read More
Posted in mysql, ubuntu | No comments

Sunday, 27 February 2011

Make FLOSS Software Speak Your Language, BarCamp Yangon 2011

Posted on 04:16 by Unknown

I gave a talk entitled "Make FLOSS Software Speak Your Language" at BarCamp Yangon 2011. The talk covered web-based localization tools Launchpad Translations and Narro that are used to translate Ubuntu Linux and Mozilla applications. The translators can use these tools to contribute translations in a wiki-like collaboration.




This talk was designed as a hands-on session beginning with a short talk that introduced the software localization concepts in a simple non technical language, followed by a practical session where the workshop participants logged on and started translations guided by experienced members of the local translation community.




Make FLOSS Speak Your Language


Ahkeno, a Joomla! localization contributor from Myanmar translated the talk and explained some of the concepts in the Burmese language. She also shared her experience with the Joomla! localization project.



Myanmar based Mozilla Firefox localization community member Steven Zaw Htut talked about the Burmese language package for Firefox 3.6. He explained how to install the package and change the default language of the Firefox Web browser. You can visit the http://www.wordpress-my.tk/ website to download this package.




There was a good turnout for the talk. The audience was mostly young college students who were excited about participating in localization projects. The presence of active contributors from the Myanmar localization community offered them a chance to meet and join these localization efforts. I finished the talk with a few key points about working in teams, asking new contributors not to be afraid of criticism and focusing on quality translations.



Unfortunately we did not have the Burmese (my-MM) locale enabled on Launchpad Translation and Narro. It was therefore not possible to do the practical exercises without the locale and the slow internet connection would have made it difficult for many people to sign up and work on translations. This event nevertheless helped me develop the framework to begin developing material, both printed and online for the future localization workshops. The overall response to the workshop was positive. It showed me that there is definitely a need for these types of exchanges not only in Myanmar but in many different Asian countries.



Stay tuned. More about this event to come!






Make FLOSS Software Speak Your Language audience,  BarCamp Yangon 2011



Audience listening to Make FLOSS Software Speak Your Language talk at BarCamp Yangon 2011



Arky giving the talk at BarCamp Yangon 2011



Ahkeno at Make FLOSS Software Speak Your Language,  BarCamp Yangon 2011




Steven at Make FLOSS Software Speak Your Language,  BarCamp Yangon 2011
Read More
Posted in bcy2011, free software, mozilla, myanmar, travel, ubuntu | No comments

Tuesday, 1 February 2011

How to install adobe AIR on ubuntu 10.10 "Maverick Meerkat"

Posted on 05:31 by Unknown

Adobe AIR is actively supported on Linux. Few weeks ago I decided to try to install Mockups software, it is developed with Adobe AIR. I found Adobe AIR installation easy but very inconvenient.





  1. Install Adobe AIR: http://get.adobe.com/
    air/


  2. Choose Adobe AIR Installer for
    Linux and select software to download as .deb


  3. Download and install the .deb package with Ubuntu Software Center or using dpkg -i command


  4. The Adobe AIR is installed to /opt/Adobe AIR/Versions/1.0/ directory. You can install .air Adobe application on command line or select from Applications > Accessories > Adobe AIR Application Installer.



    cd /opt/Adobe AIR/Versions/1.0/
    sudo ./Adobe\ AIR\ Application\ Installer





  5. You can also associate .air to open by default with Adobe AIR Application Installer. Select .air application and right click to get properies, then change the open with custom command with path '/opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer'.





Read More
Posted in adobe, AIR, ubuntu | No comments

Wednesday, 26 January 2011

HOW TO: Copy a CD-ROM in Ubuntu

Posted on 00:25 by Unknown

Here is a quick tip on how to make a copy of CD/DVD when the standard CD/DVD burning software is not available. We can use the 'dd' command to copy the CD/DVD as an ISO image file on your harddrive.






dd if=/dev/cdrom of=/tmp/cdimage.iso

1313832+0 records in
1313832+0 records out
672681984 bytes (673 MB) copied, 127.532 s, 5.3 MB/s


Read More
Posted in command line, ubuntu | No comments

Thursday, 20 January 2011

Snapstick, watch internet content on TV

Posted on 02:42 by Unknown

Just stumbled across Snapstick on Mozilla-based applications page on Mozilla.org .



Snapstick combines the ease of discovering content on your laptop, tablet, or smartphone with the viewing pleasure of a big screen TV.




Now that sounds really cool. But it still doesn't explain what's the technology behind all this. Digging through the Snapstick.com site, I found the Engadget.com Snapstick review that explained the full details. Perhaps someone at Snapstick is listening, you need to put up relevant content where we geeks can find it easily.


BTW did I mention that this product is powered by Ubuntu. :)

Read More
Posted in gadgets, mozilla, ubuntu | No comments

Tuesday, 21 December 2010

Firefox 4 Daily builds on Ubuntu 10.10

Posted on 01:21 by Unknown

Last evening I met Firefox Hacker Dietrich Ayala in Hanoi. He was surprised that I don't use firefox 4 yet. So here what I did to get the daily builds of firefox 4 onto my Ubuntu 10.10 machine.





# Add the mozilla daily builds PPA
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa

sudo apt-get update

sudo apt-get install firefox-4.0

# Make Firefox 4 as default browser
sudo update-alternatives --config x-www-browser
There are 3 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser).

Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/chromium-browser 40 auto mode
1 /usr/bin/chromium-browser 40 manual mode
2 /usr/bin/firefox 40 manual mode
3 /usr/bin/firefox-4.0 40 manual mode

Press enter to keep the current choice[*], or type selection number: 3
update-alternatives: using /usr/bin/firefox-4.0 to provide /usr/bin/x-www-browser (x-www-browser) in manual mode.





Testing Firefox Babies



Firefox is my most commonly used application, coming next only to terminal and Emacs text editor. Perhaps I would able to isolate and report more problem in the coming months. Accessibility and UI issue are at the top my list right now.



Have a look at the presentation of how you can help to make firefox better.




Testing Baby Foxes
Read More
Posted in accessibility, firefox, firefox4, fx4, ubuntu | No comments

Saturday, 18 December 2010

How to install Sun JDK on Ubuntu 10.10 “Maverick meerkat”?

Posted on 23:37 by Unknown

Surprised to find that Sun Java packages were missing in Ubuntu Maverick (10.10). The new Ubuntu release uses OpenJDK by default. I needed sun-java6-jdk package to use a eclipse IDE development Android ADT plugin.



Found the solution in this StackOverFlow thread
How to install Sun JDK on Ubuntu 10.10 “Maverick meerkat”?





# Add this line to your /etc/apt/sources.list file
deb http://archive.canonical.com/ubuntu maverick partner

sudo apt-get update

sudo apt-get install sun-java6-jdk

# Get rid of OpenJDK
sudo apt-get remove openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib



Read More
Posted in 10.10, android, eclipse, Java, maverick, ubuntu | No comments

Thursday, 16 December 2010

Managing Creative ZEN Mozaic with mtp-tools

Posted on 19:49 by Unknown


Using the Creative Zen Mozaic in Ubuntu 10.10 is a nuisance. The ubuntu standard Rhythmbox Music Player has problems with this MTP portable player. In previous version of Ubuntu Gnomad2 was used to manage these devices, but it is no longer available in latest verion.



My solution is to use the mtp-tools on command line. You can install the package by typing the following line on the terminal or use Ubuntu software center program.


sudo apt-get install mtp-tools



Next get rid of the Gnome Gphoto2 VFS program that will try to automount the device as a camera.

killall gvfs-gphoto2-volume-monitor



Now you are all set. Connect the device and lets see if we can detect the player with mpt-detect command.






$ mtp-detect
libmtp version: 1.0.3

Listing raw device(s)
Device 0 (VID=041e and PID=4161) is a Creative ZEN Mozaic.
Found 1 device(s):
Creative: ZEN Mozaic (041e:4161) @ bus 1, dev 6
Attempting to connect device(s)
USB low-level info:
Using kernel interface "usbfs"
bcdUSB: 512
bDeviceClass: 255
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 041e
idProduct: 4161
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
Raw device info:
Bus location: 1
Device number: 6
Device entry info:
Vendor: Creative
Vendor id: 0x041e
Product: ZEN Mozaic
Vendor id: 0x4161
Device flags: 0x00000001





Now to get the list of folders on the device, use mtp-folders command.



To deleting a folder, type mtp-delfile -n <id> .

Lets create a new folder and copy all the mp3 files from the current folder to the device.




mtp-newfolder Classic_Hits Music 0


find -name *mp3 -exec mtp-sendfile {} <folderid> \;




If you have a similar MTP portable player, hope this short tutorial will get you started.

Read More
Posted in 10.10, gadgets, ubuntu | No comments

Wednesday, 15 December 2010

Change Samba Password Expiry Setting with pdbedit

Posted on 19:13 by Unknown

We have a Zentyal (Formerly EBox) Linux Small Business Server running as our office file/print server. Its runs smoothly hardly needs any maintenance. Except for this one issue, every few weeks I hear complains from staff that they can't logon to file server.




Quick peek at the Samba server logs reveals that 'password expired'. So there is password aging setting in force here.


 
[2010/12/05 17:33:45, 1] auth/auth_sam.c:sam_account_ok(179) sam_account_ok: Account for user 'tom' password expired!.
[2010/12/05 17:33:45, 1] auth/auth_sam.c:sam_account_ok(180) sam_account_ok: Password expired at 'Sat, 04 Dec 2010 15:20:57 SST' (1291515657) unix time.



Lets remedy that using Samba pdbedit tool. We are gonna reset the 'Password must change' policy to all the users on the server.



Zentyal uses LDAP to manage the passwords, so we use '-b' option to point to the LDAP backend. And we change the default policy to passwords never expire.





pdbedit -b ldapsam:ldapi://var/run/slapd/ldapi -P 'maximum password age' -C -1

account policy "maximum password age" description: Maximum password age, in seconds (default: -1 => never expire passwords)
account policy "maximum password age" value was: 0
account policy "maximum password age" value is now: 4294967295

# Defaults Before reset
Unix username: tom
NT username: tom
Account Flags: [U ]
User SID: S-1-5-21-3818554400-921237426-3143208535-5056
Primary Group SID: S-1-5-21-3818554400-921237426-3143208535-513
Full Name: Tom Thumb
Home Directory: \\filesrvr\homes\tom
HomeDir Drive: H:
Logon Script: logon.bat
Profile Path:
Domain: SRV
Account desc: Thumb Sucker
Workstations:
Munged dial:
Logon time: 0
Logoff time: never
Kickoff time: never
Password last set: Sun, 05 Dec 2010 17:46:51 SST
Password can change: Sun, 05 Dec 2010 17:46:51 SST
Password must change: Sat, 05 Mar 2011 17:46:51 SST
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
init_sam_from_ldap: Failed to get password history for user director

# After reset

Unix username: tom
NT username: tom
Account Flags: [U ]
User SID: S-1-5-21-3818554400-921237426-3143208535-5056
Primary Group SID: S-1-5-21-3818554400-921237426-3143208535-513
Full Name: Tom Thumb
Home Directory: \\filesrvr\homes\tom
HomeDir Drive: H:
Logon Script: logon.bat
Profile Path:
Domain: SRV
Account desc: Thumb Sucker
Workstations:
Munged dial:
Logon time: 0
Logoff time: never
Kickoff time: never
Password last set: Sun, 05 Dec 2010 17:46:51 SST
Password can change: Sun, 05 Dec 2010 17:46:51 SST
Password must change: never
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF


Read More
Posted in ldap, samba, ubuntu | No comments

Monday, 18 October 2010

Ubuntu On ARM : Changing Game Plan

Posted on 21:14 by Unknown

My friend Tim Denny believes that ARM powered devices will drive the future of netbook and tablet computer technology. I agree with him, ARM delivers great performance and its low power usage makes it ideal. Perhaps the lightweight Ubuntu Netbook desktop would be a choice distribution for ARM powered devices.



The new release of Ubuntu 10.10 has all the right ingredients. There is better support for ARM, the Ubuntu netbook desktop is lightweight and Unity bring fresh design thinking for small screens. And now there is multi touch support as well. Here are some of the stories that that deal with this trend.




Ubuntu Gives Maverick a shot in the ARM



Excuse the dodgy pun but Ubuntu 10.10 is going to be a fantastic release for many reasons, not least of which is improved ARM architecture support.



Toshiba AC100 hacked to run Ubuntu 10.10 RC



The Toshiba AC100 is one of the first netbook-style devices to ship with Google Android installed. The operating system is typically installed on smartphones or tablets with touchscreen devices — not computers with keyboards and touchpads. The Toshiba AC100, on the other hand, looks like a netbook, with a 10 inch. 1024 x 600 pixel display, a keyboard and touchpad, and no touchscreen.





Marvell Armada 510 running Ubuntu 10.04



Is not it amazing when you see these power-sipping ARM processors running a powerful operating system so smooth? Here is an ARM processor, the Marvell Armada 510 running Ubuntu 10.04 Netbook Edition.




Unity and uTouch


One of the most exciting things about the Ubuntu 10.10 release has been the delivery of the Unity ‘shell’ in Ubuntu Netbook Edition. For the uninitiated, this delivers a very different user experience to that in the main desktop edition.







Ubuntu 10.10 Multi-touch



As many are aware, we released our maverick Maverick a few days ago. Part of what comes with Ubuntu 10.10 is the new uTouch stack.




Multitouch And Qt



Until recently, there has been no Multitouch stack for Linux. The great news is that the folks at Qt are very interested in getting Qt to work with uTouch.

Read More
Posted in 10.10, android, ARM, maverick, netbooks, ubuntu, uTouch | No comments

Tuesday, 5 October 2010

Installing Python on Android

Posted on 20:38 by Unknown

Had left the Openmoko Linux phone and aging Nokia N70 back in India. Now I travel with a basic model phone, do miss hacking phone.



This morning I decided to change all that. Checking out Python Scripting Layer For Android using the Android SDK. My Nokia also ran Python S60 until the project lost wind. Getting the android environment on Ubuntu was easy thanks to Eric's tutorial












Read More
Posted in android, Linux, Mobile, n70, Nokia, openmoko, python, s60, ubuntu | No comments

Tuesday, 17 August 2010

Ubuntu Netbook Remix (UNR) UI on Ubuntu 10.04 Lucid LTS

Posted on 23:04 by Unknown

Transformed my standard Ubuntu Lucid Desktop into Ubuntu Netbook Remix (UNR) this morning. This interface allows netbook users to make better use of screen space and few great interface enhancements.




Desktop running Ubuntu UNR UI


The Ubuntu UNR wiki page gives all the information about the packages and the required steps to convert your standard ubuntu desktop to UNR interface. Don't forget to report bugs to
Canonical Desktop Experience Team
.

Read More
Posted in lucid, netbooks, ubuntu, UNR, UX | No comments

Saturday, 7 August 2010

Nortec SurfBoard Running Ubuntu 10.04

Posted on 06:10 by Unknown

Just heard that Lekan got the SurfBoard running ubuntu 10.4. The video shows Google Chrome running Youtube videos. The video perform flawlessly in fullscreen mode.






The SurfBoard is an ultra low-cost, energy efficient computer keyboard selling for only $119.95. Ideal for classrooms, thin clients, hotels, banks and anywhere else where an energy efficient, silent, low cost computer can be used.

Read More
Posted in gnome, Linux, netbooks, ubuntu | No comments

Wednesday, 7 July 2010

Orca Caps Lock Issue

Posted on 02:22 by Unknown

Caps Lock key doesn't work is the most common complaint from Orca screen readers users. On Ubuntu 10.04 Lucid Lynx I found that Caps Lock is reset mysteriously. Here is workaround you can use until we find the culprit responsible for this.




Debugging with xmodmap


You find the present keymaps setting with xmodmap command. You can see that the line starting 'lock' is empty. We can set it properly with xmodmap -e "add Lock = Caps_Lock".



$ xmodmap
xmodmap: up to 4 keys per modifier, (keycodes in parentheses):

shift Shift_L (0x32), Shift_R (0x3e)
lock
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)

# Set the Caps_Lock with xmodmap
$ xmodmap -e "add Lock = Caps_Lock"

# Now caps lock works properly
$ xmodmap
xmodmap: up to 4 keys per modifier, (keycodes in parentheses):

shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)



Bash Autostart script for setting Caps lock



Now we know that this can be fixed so I used a bash script to call the modmap script everytime we boot. Somehow '.Xmodmap' settings are not getting loaded so I am using an alternative script '.xmodmaprc' and call it from .bashrc file manually.

# .xmodmaprc
xmodmap -e "add Lock = Caps_Lock"

# .bashrc
if [ -f ~/.xmodmaprc ]; then
. ~/.xmodmaprc
fi





Reboot the computer and enable the modmap file to be loaded at boot time.


Enable Modmap load at book dialog


PS: Kudos to dotslashblog for the xmodmaprc solution

Read More
Posted in accessibility, keyboard, lucid, orca, ubuntu | No comments
Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Vietnamese Language Tools: Developing Keyboards and Spell-checker
    Mentoring Mozilla Vietnamese localization team to develop Vietnamese keyboard and spell checker for Firefox OS . We built and tested Vietna...
  • Multimedia/Internet Keyboards in GNU/Linux
    As the resident Gnu/Linux guru, I sometimes help new users making transition from other OS’s.Over the years I’d ask anyone who installed Gnu...
  • Bollywood Afternoon In Hanoi
    A lot can happen over a cup of Masala Chai. Sunday afternoon's are usually Indian food at Foodshop 45 in Tay Ho, Hanoi. After a good mea...
  • Locate Configuration Example
    Keep things found is not an easy skill to master. The disk drive turns into a deep and dark jungle after the first few weeks on road. Tradit...
  • Mapping The Internet
    I watched the map of internet mentioned in the recent "Download: The True Story of the Internet " on Discovery Channel , it sound...
  • foss.in 2008 :: Sorting In Indic Locales Workout
    Day 3 : Sorting In Indic Locales workout at foss.in 2008 . Indic Workout In Progress Brainstorming Live interaction and collaborative edi...
  • foss.in 2008 :: Day 4
    Day 4 @ foss.in 2008 IndLinux Project BOF Beacon Workout Sharing ideas after Apertium talk Sachin Joshi demo's his Hindi ASR syste...
  • Cellphone Woes of a Weary Traveller
    'Somethings' they say, 'remain a mystery until someone comes along'. Few hours into the journey, I could feel some discomfor...
  • foss.in 2008
    Photos from Day One of foss.in in Bangalore. JN Tata Auditorium, IIsc Bangalore Event Registration Counters Waiting for my turn Securit...
  • National Conference on Free Software 2008 :: Day 1
    The YMCA camp building is just a stone throw away from the Cochin backwaters, I spent some time looking the slow churning waters and the sun...

Categories

  • "Blog Action Day 08 - Poverty"
  • "blog action day"
  • "Compiz Extras "
  • "compiz-fusion"
  • "film making"
  • "FSUG-Bangalore"
  • "GISS"
  • "Graphic Design"
  • "Linux"
  • "martial art"
  • "New Media"
  • "open movie editor"
  • "OpenCV"
  • "web authentication"
  • "web automation"
  • "web testing"
  • 01-18-2012
  • 10.04
  • 10.10
  • 3dprinting
  • 9.04
  • a
  • a11y
  • accerciser
  • accessibility
  • acpi
  • Activism
  • adobe
  • adzap
  • aegis
  • africa
  • AIR
  • ajax
  • alsa
  • AMD64
  • Andhra Pradesh
  • android
  • angling
  • Animals
  • anusaaraka
  • apache
  • apertium
  • api
  • apm
  • apple
  • apport
  • Apps Script
  • apt-get
  • apt-key
  • architecture
  • archmage
  • ardour
  • arduino
  • ARM
  • art
  • asterisk
  • atom
  • audio description
  • backlinks
  • bangalore
  • barcamp
  • barcamphanoi
  • barcampkl
  • barcamppp
  • barcampsaigon
  • barcampvte
  • bash
  • bbc
  • bcy2011
  • beagle
  • beercamp
  • Beryl
  • big buck bunny
  • biofuel
  • bittorrent
  • blackout
  • blender
  • blind
  • blogger
  • blogging
  • book
  • Boot-Process
  • boot2gecko
  • bootparam
  • braille
  • brazil
  • breakpad
  • broadcom
  • bugs
  • bzr
  • Calicut
  • cambodia
  • canon
  • Canopy
  • cartoons
  • cat
  • CC
  • CDAC
  • CDMA
  • celliax
  • censorship
  • CES 2008
  • CES08
  • CHDK
  • chennai
  • children
  • china
  • CHM
  • chmsee
  • Chromium
  • classmate PC
  • cleaning
  • Climate Change
  • cloud computing
  • cms
  • codec
  • Comedy
  • comics
  • command line
  • CommandLine
  • compiz
  • Computational Linguistics
  • console
  • cpan
  • Creative Commons
  • cron
  • css
  • curl
  • cut
  • cyanogenmod
  • DAISY
  • debian
  • debian documentation
  • debian upgrade-system
  • Debian-IN
  • deborphan
  • delhi
  • design
  • dhvani
  • django
  • DJvu
  • dmesg
  • documentation
  • dontzap
  • dots
  • dpatch
  • drupal
  • drush
  • earth hour
  • easy_install
  • ebay
  • eclipse
  • Ecuador
  • education
  • eee pc
  • eeepc
  • elinks
  • Elinks2
  • emacs
  • embedded linux
  • Environment
  • equivs
  • espeak
  • etch
  • events
  • fennec
  • ffmpeg
  • fiction
  • film
  • film making
  • find
  • findutils
  • firefox
  • firefox3
  • firefox4
  • firefoxOS
  • firmware
  • fishing
  • flying
  • foss.in
  • fossasia
  • fossin2008
  • FOSSMeet
  • free culture
  • free software
  • FreeNode
  • fsf
  • fsfs
  • fx4
  • G1
  • gadgets
  • gdm
  • gedit
  • geek humour
  • geocoding
  • Gimp
  • GISS
  • GIST
  • git
  • gnewsense
  • gnochm
  • gnome
  • google
  • google app engine
  • google earth
  • gplv3
  • grep
  • grub
  • GSM
  • gstreamer
  • gta02
  • GUI Testing
  • habba.in
  • hack
  • hackable1
  • hacker
  • handbrake
  • hanoi
  • hanoitweetup
  • hardware
  • hardy heron
  • HCU
  • hindi
  • hipatia
  • history
  • hosting
  • hotkeys
  • how to
  • HowTo
  • html
  • html5
  • HTTP
  • humour
  • hunspell
  • hyderabad
  • i810
  • ICANN41
  • iceweasel
  • identi.ca
  • IEEE
  • iffk
  • iframe
  • IISE
  • ILS
  • ILUG-D
  • IM
  • imacros
  • india
  • india_engg_students
  • Indian Languages
  • indic
  • indlinux
  • initscripts
  • Inkscape
  • intel
  • interaction design
  • internet
  • internet kiosk
  • intersat
  • Intrepid
  • Intrepid Ibex
  • ipod
  • IRC
  • jam
  • jaunty
  • Java
  • Javascript
  • Jet Man
  • josm
  • jquery
  • JSSH
  • Kannada
  • karmic
  • Kchm
  • kerala
  • kernel
  • keyboard
  • keycode
  • kid
  • kiddy video
  • kids
  • kinect
  • kiosk
  • koha
  • l10n
  • laos
  • launchpad
  • layout
  • ldap
  • lenny
  • less
  • lftp
  • libchm
  • library
  • libreoffice
  • lilo
  • Linux
  • lisp
  • local weather
  • locate
  • logging
  • lttoolbox
  • lucid
  • lv
  • machine translation system
  • madras
  • maemo
  • mailing-list
  • mallard
  • MALT
  • malware
  • man
  • manga
  • maps
  • maverick
  • mediawiki
  • meego
  • mencoder
  • merkaartor
  • Mibbit
  • micro-blogging
  • midori
  • mlocate
  • Mobile
  • moblin
  • mod_pagespeed
  • modem
  • more
  • most
  • mother
  • mozcamp
  • mozilla
  • Mozilla Crash Reporter
  • mplayer
  • MT
  • mukt.in
  • music
  • mwc2012
  • myanmar
  • mymozl10n
  • mysql
  • n70
  • nature
  • nedumangad
  • neo freerunner
  • Neo1973
  • nepal
  • netbooks
  • newbies
  • news
  • NGO
  • NITC
  • NLP
  • NLTK
  • Nokia
  • Nonprofits
  • notify-osd
  • novell
  • NUI
  • nvda
  • OCR
  • oddmuse
  • OLPC
  • ooffice
  • open movie
  • openDNS
  • openmoko
  • openNI
  • openOffice
  • openoffice.org
  • OpenStreetMap
  • opensuse
  • openvt
  • orca
  • OS
  • oscar
  • OSM
  • Package-Management
  • packaging
  • pager
  • parenting
  • patents
  • pbx
  • PDF
  • people
  • perl
  • Pets
  • Phatch
  • photography
  • php
  • php-nuke
  • phpnuke
  • pidgin
  • PIL
  • pipa
  • podcast
  • podcasting
  • pokhara
  • POS Tagger
  • postfix
  • potlatch
  • poweroff
  • powershot
  • proc
  • programming
  • pune
  • puppylinux
  • pyCairo
  • python
  • pythonegg
  • QA
  • Qmail
  • radio show
  • Recycling
  • red nose day
  • redhat
  • regex
  • RFC
  • RHEL
  • rms
  • RND
  • robots
  • rockbox
  • RSS
  • RSS/XML
  • rtorrent
  • rubber
  • ruby
  • rural
  • s60
  • sahana
  • samba
  • sampada
  • samsung
  • sbcl
  • science
  • scipy
  • search
  • security
  • SFD2011
  • shell
  • short-stories
  • shutdown
  • silk
  • singapore
  • sitecopy
  • skype
  • slocate
  • social media
  • software patents
  • software-center
  • softwarefreedomday
  • solar
  • solar eclipse
  • sopa
  • space
  • spam
  • SPE editor
  • speakers
  • spins
  • squid
  • stallman
  • stanford parser
  • startups
  • startx
  • stumpwm
  • SUSE
  • system-adminstration
  • sysvinit
  • t-shirt
  • tablet
  • tactile watch
  • tea shops
  • teacher
  • technology
  • tee
  • telugu
  • terminal
  • terminal Tags: command line
  • Tesseract
  • Testing
  • The IT Crowd
  • theatre
  • tibet
  • tracker
  • travel
  • trek
  • trekking
  • tux4kids
  • tuxmath
  • tv
  • tweets
  • twitter
  • ubuntu
  • UMPC
  • unicode
  • UNR
  • uptime
  • urdu
  • User friendly
  • uTouch
  • UX
  • UXA
  • vagrant
  • VCS
  • veli
  • vidarbha
  • video
  • video hamming
  • video hams
  • video-ham
  • vim
  • virutalization
  • visualization
  • voip
  • vsat
  • w3c
  • watches
  • water from dew
  • WATiR
  • weather stations
  • weave
  • web automation
  • web standards
  • web testing
  • web-browser
  • web2py
  • webmaker
  • wget
  • Wiki
  • wikia
  • wikipedia
  • Windows
  • Windows XP
  • wmv
  • Word Press
  • wordpress
  • worm
  • wrapzap
  • writing
  • wvdial
  • X-Window-System
  • X11
  • xchm
  • xev
  • xml
  • xmlstarlet
  • XO Laptop
  • xorg
  • xserver
  • xvidcap
  • yahoo groups
  • yahoo maps
  • yelp
  • Yves Rossy
  • Zii
  • ZTE

Blog Archive

  • ▼  2013 (23)
    • ▼  December (3)
      • Turn your old iPod speakers into wireless speakers
      • Kinect-Powered Interactive New Media Installation
      • Mozilla Taiwan Localization Sprint
    • ►  November (3)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ►  June (2)
    • ►  May (3)
    • ►  April (1)
    • ►  March (1)
    • ►  February (5)
    • ►  January (2)
  • ►  2012 (26)
    • ►  December (3)
    • ►  November (1)
    • ►  October (1)
    • ►  July (1)
    • ►  June (3)
    • ►  May (6)
    • ►  April (1)
    • ►  March (8)
    • ►  January (2)
  • ►  2011 (43)
    • ►  December (2)
    • ►  November (7)
    • ►  October (8)
    • ►  September (4)
    • ►  August (5)
    • ►  June (1)
    • ►  February (6)
    • ►  January (10)
  • ►  2010 (73)
    • ►  December (17)
    • ►  November (5)
    • ►  October (10)
    • ►  September (3)
    • ►  August (8)
    • ►  July (9)
    • ►  June (4)
    • ►  March (5)
    • ►  February (7)
    • ►  January (5)
  • ►  2009 (108)
    • ►  December (7)
    • ►  November (10)
    • ►  October (8)
    • ►  September (6)
    • ►  August (8)
    • ►  July (4)
    • ►  June (5)
    • ►  May (6)
    • ►  April (15)
    • ►  March (15)
    • ►  February (9)
    • ►  January (15)
  • ►  2008 (223)
    • ►  December (45)
    • ►  November (28)
    • ►  October (32)
    • ►  September (4)
    • ►  August (11)
    • ►  July (6)
    • ►  June (11)
    • ►  May (3)
    • ►  April (11)
    • ►  March (7)
    • ►  February (3)
    • ►  January (62)
  • ►  2007 (2)
    • ►  December (2)
Powered by Blogger.

About Me

Unknown
View my complete profile