Tag Archives: howto

How to recover lost pictures from memory card?

Recently, my friend asked me to rescue her pictures in the digital memory card because she accidentally formated it. I came across Ubuntu Help and i found testdisk an awesome app.

Photorec is file data recovery software designed to recover lost pictures from digital camera memory or even Hard Disks. It has been extended to search also for non audio/video headers. It searches for 80 different types of files. Photorec is part of the Testdisk package

To install testdisk

sudo apt-get install testdisk

To recover pictures from device, execute photorec (part of testdisk package) as root and follow the wizard to recover your pictures. It’s very simple and straight forward. Just select the appropriate partition type, file system and where you want to save the recovered files, then you’re good to go.

sudo photorec

With photorec, i was able to recover 100% lost pictures since my friend didn’t do any disk operation on the memory card after she accidentally formated it.

A Complete Guide To Customize Gnome Panel

1. Basic customizations

– Make it transparent: Right click on Gnome panel and go to Properties. On tab Background, select Solid color and move the slider to choose your desire transparent level.

– Choose custom background image: on the same dialog, you can also choose the background image. For the background, you can search on Gnome-look with the keyword “gnome panel”. The screenshot below was taken with cKPanels.

2. Customize the menu bar

I’m talking about the custom menu bar with “Applications, Places and System”. You can edit those text with a little tweak.

– First, create a file with the content same as in here and save it as “messages.so” for example.
– Edit the file with your preferred text. I myself chose “Apps, Goto and System”.
– Issue the command below in the terminal. If you save the file as “messages.so” so the command would be “msgfmt messages.so”. If you got an error of missing ‘gettext‘ package, you can get it from the synaptic or from here.

sudo mv messages.mo /usr/share/locale-langpack/en_US/LC_MESSAGES/gnome-panel-2.0.mo

– And restart gnome-panel at last to take effect.

pkill gnome-panel

3. Mac-like menu bar

If you are a Apple maniac, you would definitely love gnome-globalmenu. For Karmic Koaloa, add the PPA here to your source, update and install gnome-globalmenu. Other Ubuntu distro, you can grab gnome-globalmenu on its homepage.

There’s more? Share it with me and others : )

Automatically start iBus on startup on Ubuntu

On Karmic, go to System > Preferences > Startup Applications. Click the Add button and enter anything for name and comment. For command box: /usr/bin/ibus-daemon -d.  Click Add to confirm.

You’re done. IBus should automatically start everytime you login.

How-to: Downgrade iTunes 9 to iTunes 8 on Mac OS X

Recently, i wrote a short article about iTunes 9’s new features. I’m happy with those new features but some people, they don’t. So  here’s how you can bring your iTunes 8 back.

This short tutorial only works for Mac OS X. Windows-people just have to simply uninstall iTunes 9 and re-install with iTunes 8.

  • First, quit iTunes 9. Then go to Applications folder and delete iTunes 9.
  • Go to your ~/Music/iTunes folder. In there, you will see a file “iTunes Library”. Delete or rename it.
  • Go to “Previous iTunes Libraries”, there is one backup file of old iTunes library. Copy it to ~/Music/iTunes and rename it to “iTunes Library”.
  • Go to Apple Website and grab iTunes 8, then execute the installer.

Your iTunes 8 should be back and running by now.