Friday, January 30, 2009

My Adventure with Photorec

The whole story started when my cousin ask me to restore data on her broken hard disk, I don't think it is broken btw, more like corrupted partition. Either way, I still need to recover her data.

That's where photorec comes in. Photorec is a tools to recover data from harddisk, it is a program comes with testdisk. Don't be fooled by the name, it can recover documents, video, mp3 etc, not just photos.


First you need to find the partition, you can just type in terminal
fdisk -l
Then in terminal
photorec /dev/
replace device name with sdb, hdb etc.

Then just follow instructions.

And there you have it, it will create a folder on where you create it, with all the data. It is quite easy to use.

To install on ubuntu
system -> adminstration -> synaptic package manager
 Find testdisk

On fedora
system -> administration -> add/remove software
search testdisk.

BTW there is a windows version. But i test this on ubuntu.

P.S This actually is a bit anticlimatic, I actually expect to create a disk image, and use sleuthkit. photorec is much more easier. That atchek, hehe.
 

Monday, January 26, 2009

my little( cousin's) adventure with Sugar

It is the lunar new year, and I got relatives visiting us.

With them is my little cousin, which is around 7 years old. Since I got Sugar Desktop installed. I let them play with it a little. And it is an interesting experiment in a way. Because they did produce something with turtle art activity, and they seems to like Memorize activity. Either way enjoy it.

Btw, Sugar is a dekstop environment used in the olpc. And it is actually available in repository. But the thing is, not everything is there. So I actually consider to compile it.

But it is an interesting experiment

Friday, January 23, 2009

screwed up internet in malaysia

I rediscovered miro, like last. Which is a very cool open source apps, that subscribe to video feeds, and download it for our viewing features.

But of course, there is one problem. The thing is there is plenty of interesting stuff to watch, from feed from Revision3, Discovery, Make, TED, etc. And really the video is not small. Quite a number of it is around > 100 megabyte. And because I only have time on weekends, so I do it in  batch.

That's where problem comes. You see, TMNET, is giving substandard service, worst we still stuck with slow speed, around 100 Kilobyte. So it could take me like half a day to download it. And last time, I use maxis 3g, it gives Bandwitdh limit of 3gig. My download already taken half of it already.

I mean seriously, it is about time, for someone to actually fix the ISP or network malaysia. I mean, with many (legal)content online. With organization actually provide online videos. We cannot keeping thinking that 1 megabit is enough, it is not. And we cannot actually 3gigabyte limit is enough for everyone.

With the number of media, online, it probably not enough, for most people. This is not the 90's where people just use the web for emails, and searching. Videos is online, song is online, software is online, finally even documents is online, etc.

Really I am just sick of have to wait for the whole day just to finish a video.

Saturday, January 17, 2009

Sharing Keyboard and Mouse using synergy

Some time it is nice to actually able to share keyboard and mouse between my laptop and desktop. 
 
The good news is, synergy actually allows such functionality, and it give the ability to share the clipboard too, meaning you can drag and drop between 2 computer. 

To start using synergy

On ubuntu go to the menu

system -> administration -> synaptic to install it. Or you can just

sudo apt-get install synergy

On fedora go to menu
system -> administration -> add/remove software and search synaptic

Or you can just
yum install synergy

To start using synergy
create a text file called synergy.cond
section: screens
        comp1:
        comp2:
end
section: links
        comp1:
                right = comp2
        comp2:
                left = comp1

end

change comp1 into the name main computer or the server, and comp2 into the secondary computer

On your main machine, open a terminal and type

synergys -f synergy.conf

On the second machine

synergyc -f 
Now you can share keyboard and mouse, with another machine. BTW there is a windows version too. http://synergy2.sourceforge.net/
 
 
this article originally in mandarin, on myclug.my, written by me
http://www.myclug.my/wordpress/?p=74 

Friday, January 09, 2009

Malaysian Ubuntu Kit



A member of the malaysian ubuntu loco, have comes out with a kit. Comes with a handbook, and packaged, it is meant to make it for most people to learn linux. And yes, it is meant for malaysian in general, which is why, it is in Bahasa Melayu, Malay language.

It comes with a booklet(printed in color), ubuntu stickers, cd and a casing.And it is RM 13.99.

http://kit.jomlinux.com/index.php?option=com_content&view=article&id=3&Itemid=3

More info,
http://kit.jomlinux.com/

Saturday, January 03, 2009

A useful tools: Powertop


One problem with my eeepc now, is that I didn't get the battery life it claim, on windows and linux on the eee pc. That is 8 hours. Currently it is only 4.5 hours.

One way to figure out what is using the power is, using powertop. It is a open source tools to use to display the process that is using the power, and give recommendation. Which is cool, because, it actually very convenient. But of course, you really need to do it manually, because the solution is missing after a reboot.

For ubuntu user, just

sudo apt-get install powertop
And powertop need to be run by root.