Posts Tagged ‘howto’

Better battery life on your Android-based HTC phone

June 15th, 2010

Apparently out-of-the-box HTC Incredible phone has an issue with Flickr application and battery usage. The application simply prevents phone from going to sleep mode even when screen turns off.

Here is how to verify if your battery life is affected by (possibly) bug in flickr sync:

Go to

All Programs > Settings > About phone > Battery

Check if your Up time is the same as Wake time.

If so then it means your phone never goes to sleep and constantly drains battery.

Here is a quick solution which will work for many (except those who care about synchronizing contacts with Flickr activity).

Basically what needs to be done to prevent Flickr app keeping phone awake is to disable contacts synchronization between Flickr account and in-phone contacts. You will retain ability to upload photos to and browse on Flickr as normal. Just no Flickr activity will be shown on your phone contacts (not many use this feature).

Go to

All Programs > Settings > Accounts & sync > Flickr

Disable Sync Stream and Sync Contacts

Turn off your phone and turn back on to reset Up time and Wake time counters. Leave it be for like 5 min and check Up and Wake times again in

All Programs > Settings > About phone > Battery

Up time should be > Wake time. If not you need to keep looking for a solution.


Mobiles , , ,

Fix for slow performance of WD15EARS WD10EARS WD20EARS

March 29th, 2010

Long story short – need to create partition which starts from sector dividable by 8 – 48,56,64 etc.

Here is linux how-to:

# parted /dev/sdX
# Set units to sectors (in this case 512B):
(parted) unit s

(parted) rm
Partition number? 1

(parted) print
Model: ATA WDC WD10EARS-00Y (scsi)
Disk /dev/sdb: 1953525168s
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags

(parted) mkpart
Partition name? []?
File system type? [ext2]?
Start? 64
End? -1
Warning: You requested a partition from 64s to 1953525134s.
The closest location we can manage is 64s to 1953525071s.
Is this still acceptable to you?
Yes/No? Yes

(parted) print
Model: ATA WDC WD15EARS-00Z (scsi)
Disk /dev/sdb: 1953525168s
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 64s 1953525134s 1953525071s

(parted) quit
Information: You may need to update /etc/fstab.

Original –


Linux ,

Fix for contacts problem in Pidgin for Sametime client on Linux

March 2nd, 2010

If your Sametime contacts appear/update slowly in Pidgin you probably need to update sametime library.

Christoph Lukas has compiled patched sametime library which can be found here:

Direct link to 32-bit .deb package
Direct link to 64-bit .deb package

Exit Pidgin and replace existing library. I replaced the symbolic link and left original library in /usr/lib

ar vx libmeanwhile1_1.0.2-3*
tar xvfz data.tar.gz
sudo cp usr/lib/ /usr/lib/
sudo ln -fs /usr/lib/ /usr/lib/

Start pidgin and your sametime should be fixed now


Linux , ,

Adobe flash player 64-bit on Linux

December 4th, 2009

1. Download Adobe Flash Player 64-bit from . Unpack the file. You will get

2. Remove existing version of flash player(s)

sudo apt-get remove -y --purge flashplugin-nonfree mozilla-plugin-gnash
sudo apt-get remove -y --purge swfdec-mozilla libflashsupport nspluginwrapper

3. Copy and link the plugin to browser(s) directories

sudo cp /usr/lib/mozilla/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/  /usr/lib/xulrunner-addons/plugins/


Internet, Linux , , ,

How to install VMware Server 2.0.x on Ubuntu 9.10 Karmic Koala

November 25th, 2009

Original article:

How to install VMware Server 2.0.x on Ubuntu 9.10 Karmic Koala

After I have upgraded to Ubuntu 9.10 Karmic Koala I have noticed that VMware Server 2.0.1 or 2.0.2 fail to install using the default installer. I then thought that I should use again the install script I wrote for installing the server in 9.04. Wrong! Since the kernel had changed a bit, the modules from VMware Server failed to compile correctly. Browsing the VMware Communities forums, I have discovered a post that discusses using a new patch. The only patch that seems to work for the 2.6.31-14 kernel that is shipped with Ubuntu 9.10 is the one for 2.6.30-4.

The process, even if it was handled by a script, assumed the user should stop the install process in the middle, patch some files here and there and then recompile his modules keeping his fingers crossed. Because  I really do not like that kind of approach, I decided to build my own script based on that one that will automatically patch the files and lead you to the install without the need for you to stop until you are done.

How to

  1. Download VMware Server (2.0.1 or 2.0.2) – gz format, not rpm. For the 2.0.2 version you might need to wait a couple of hours until you will receive the license key. Whichever version you choose, keep the license key near.
  2. Download my script from here (right click, save as).
  3. Run the script with super user rights either in the same folder where you have downloaded the server archive, either by providing it the path to that folder. The script will download the needed patch from my server. Make sure the folder where you have downloaded the server’s archive doesn’t contain spaces in its path name or the script will exit (giving you this reason as an error message). You will reach to a point where a lot of warnings appear on your terminal. Do not worry unless the script exits. If it exists, it will give you a decent warning from which you should be able to tell what’s wrong. Also, the VSOCK module will not work (will fail to compile), giving you a hint that your kernel sources might not be the ones for your running kernel. This is not true, as the script takes care of this before doing the hard work. Anyway, VMware Server will work without it. Example:
    chmod +x
  4. When you are asked about adding users to the server, if you do not provide your own account, the user used for loging in the web console of the server will be root (maybe you should add yourself there).
  5. Provide the license key when asked about it.
  6. For the ones installing Windows guests in VMware Server, you must pick one of the following two solutions to avoid having problems with the mouse in the console:
    • you run this script in the terminal every time you want to launch a VMware Server console, but after you have installed the VMware plug-in for Firefox
    • you export this variable in the environment right after login such that it will be set before starting Firefox:

    Credit for this one goes to Holger.

  7. Drop me a Kudos line in here and one for Holger here. If the solution worked well for you please share this info wherever you can. :D

Until a new patch will appear or until VMware will start writing more better and actual code, this is the only way of installing VMware Server 2.0.x on Ubuntu 9.10 Karmic Koala. Best of luck to you all!


Linux ,

Hackintosh fix for “_cfgethostuuidstring unable to determine uuid for host. error 35″

September 24th, 2009

Add following text inside <array></array> in /Library/Preferences/SystemConfiguration

 <key>BSD Name</key>

Original post:,83.0.html


Hackintosh , , ,

How to integrate google contacts and calendar with your iPhone

August 24th, 2009

Original document location:

Requirements and Upload

1. Make sure your device has version 3.0 firmware or above. You can check your current version by going to Settings > General > About > Version. To upgrade, follow the instructions at

2. Perform a sync with iTunes to ensure that Contacts and Calendars from your iPhone are backed up to your computer.

Note: Mail sync is not yet supported. You may receive error messages if you attempt to turn on Sync for Mail.

Getting Started

1. Open the Settings application on your device’s home screen.
2. Open Mail, Contacts, Calendars.
3. Tap Add Account….
4. Select Microsoft Exchange.

Enter Account Info

5. In the Email field, enter your full Google Account email address. If you use an address, you may see an “Unable to verify certificate” warning when you proceed to the next step.
6. Leave the Domain field blank.
7. Enter your full Google Account email address as the Username.
8. Enter your Google Account password as the Password.
9. Tap Next at the top of your screen.
9a. Choose Accept if the Unable to Verify Certificate dialog appears.
10. A new Server field will appear. Enter
11. Press Next at the top of your screen again.

12. Select the Google services you want to sync. Currently only Contacts and Calendar are supported.

13. Unless you want to delete all the existing Contacts and Calendars on your phone, select the Keep on my iPhone option when prompted. This will also allow you to keep syncing with your computer via iTunes.

You’ve set up Google Sync for your iPhone. Synchronization will begin automatically if you have Push enabled on your phone. You can also open the Calendar or Contacts app and wait a few seconds to start a sync.

Next learn how to choose which calendars to sync, if you’d like to enable multiple calenders.

Tip: If your business, school, or organization uses Google Apps, your administrator will first need to enable Google Sync before you can take advantage of this feature.


Internet , , , ,

Custom BitTorrent Search Engine Demonstrates Google’s Proximity to The Pirate Bay

April 24th, 2009

Forbes calls Google the New Pirate Bay because it’s great at finding torrents—acting as a sort of meta-aggregator. With this custom Google search engine, it’s even easier to find and download torrents via Google.

As the Forbes article linked above points out, doing a simple search for wolverine torrent turns up several popular BitTorrent trackers, meaning you’re just two clicks away from downloading the leaked movie via BitTorrent. The custom search engine in question just streamlines the process slightly by explicitly defining which popular torrent trackers Google should search.

This isn’t the first time we’ve seen Google used for quick and easy file sharing. Previously mentioned G2P uses some custom Google-fu to find publicly hosted media files in a quick and easy search.



Fun stuff, Internet , , , ,