Tuesday, 23 November 2010

Inside Nokia N900

Complete details on the components inside the Nokia N900 can be viewed from the electronicproducts.com website.
You have the model number, vendor, build material type etc, which can help you in learning more about those electronic components in depth.

Sunday, 21 November 2010

Root Access In Nokia N900

The Maemo Operating System which comes with the Nokia N900 allows you to have super user (root) privilege without you having to jailbreak like most other devices.
1. In-order to get root access you need to install the package called
rootsh
2. Open your App Manager -> Download -> System. Find it, you will. You must ensure that you have the extras repository in your Application Catalogue which will have the name maemo.org by default.
3. Install rootsh.
4. Open the Terminal using:
Ctrl + Shift + X
or by going to the installed apps & clicking the Terminal icon.
5. Type:
whoami
You'll get a response "user".
Now type:
sudo gainroot
Alternatively, you can type 'root' or 'sudo su -'
Now check with "whoami" and you'll get the response as "root".

Take & Share Screenshots from Nokia N900

Taking screenshot and sharing them online is really easy.
To take screenshot (print screen) you simply have to press:
Ctrl + Shift + P
To press that combination is easy, you just have to keep the index finger on the shift, middle finger on Ctrl and the right thumb on P (or which ever way you are comfortable with using the combination).
You can goto the photos from the application and see them there.
Add tags, choose share and choose the service you want (like flickr).

Sunday, 14 November 2010

Compiling GTK+ Programs in Ubuntu

There are easy to follow gtk+ 2.0 tutorials. I learn by referring to the official gnome gtk+ tutorials and from zetcode.com
When compiling most often many of us newbies have got the error: "No such file or directory" even if you have all the gnome-gtk-devel and other required packages. Also you don't need to set any environment variables to make it work.
Error:
gcc: pkg-config --cflags --libs  gtk+-2.0: No such file or directory
simple.c:1: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
If that's the case then just see what command you have entered. Most probably you might have entered:
gcc -Wall -g simple.c -o simple 'pkg-config --cflags --libs  gtk+-2.0'
where simple.c is the filename. Note that the quote in which the pkg-config is written is ' character which is near to your Enter key. If so then that's the mistake. The character must be ` which is in the tilde (~) key, above the tab key.
So the correct way will be:
gcc -Wall -g simple.c -o simple `pkg-config --cflags --libs  gtk+-2.0`
The character ` is called 'backtick
If you are still confused with those little nasty quote characters, which makes newbie life miserable you can all together forget about this and use the one shown below:
gcc -Wall -g simple.c -o simple $(pkg-config --cflags --libs  gtk+-2.0)
It does the same thing, outputs the list of files, to be included and linked and likewise. To know more about that you can read the docs.

Wednesday, 3 November 2010

File Manager in Ubuntu Maverick Meerkat

If you are using the netbook remix edition of the Ubuntu 10.10 Maverick Meerkat, then by default you can see the 'Files & Folders' icon in the dock bar, which will display the files inside your home directory only. So if you need to mount other partitions, you can use bash if you are a power user. But if you want our good old simple file browser, then what you need to do is:
1. Open the trash.
2. Trash is opened in the file browser.
3. Now the 'File Browser' icon appears in the dock.
4. Right-click the 'File Browser' icon and choose 'Keep in Launcher'.