Archive

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.

Share

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 – http://community.wdc.com/t5/Desktop/Problem-with-WD-Advanced-Format-drive-in-LINUX-WD15EARS/td-p/6395

Share

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:

https://launchpad.net/~christoph-lukas/+archive/other/+packages

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/libmeanwhile.so.1.0.2 /usr/lib/libmeanwhile.so.1.o.2.patched
sudo ln -fs /usr/lib/libmeanwhile.so.1.o.2.patched /usr/lib/libmeanwhile.so.1

Start pidgin and your sametime should be fixed now

Share

Linux , ,

Adobe flash player 64-bit on Linux

December 4th, 2009

1. Download Adobe Flash Player 64-bit from http://labs.adobe.com/downloads/flashplayer10_64bit.html . Unpack the file. You will get libflashplayer.so.

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 libflashplayer.so /usr/lib/mozilla/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/libflashplayer.so  /usr/lib/xulrunner-addons/plugins/

Share

Internet, Linux , , ,

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

November 25th, 2009

Original article: http://radu.cotescu.com/2009/10/30/how-to-install-vmware-server-2-0-x-on-ubuntu-9-10-karmic-koala/

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 vmware-server-2.0.x-kernel-2.6.31-14-install.sh
    sudo ./vmware-server-2.0.x-kernel-2.6.31-14-install.sh [PATH _TO_VMWARE_ARCHIVE]
  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:
      VMWARE_USE_SHIPPED_GTK=yes

    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!

Share

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

<dict>
 <key>BSD Name</key>
 <string>en3</string>
 <key>IOBuiltin</key>
 <false/>
 <key>IOInterfaceType</key>
 <integer>6</integer>
 <key>IOInterfaceUnit</key>
 <integer>3</integer>
 <key>IOLocation</key>
 <string></string>
 <key>IOMACAddress</key>
 <data>
 ABbPoF5V
 </data>
 <key>IOPathMatch</key>
 <string>IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/P0P3@1C,2/
 IOPCI2PCIBridge/pci14e4,4311@0/AirPort_Brcm43xx/IO80211Interface</string>
 <key>SCNetworkInterfaceType</key>
 <string>IEEE80211</string>
</dict>

Original post: http://forum.netkas.org/index.php/topic,83.0.html

Share

Hackintosh , , ,

How to integrate google contacts and calendar with your iPhone

August 24th, 2009

Original document location: http://www.google.com/support/mobile/bin/answer.py?answer=138740&topic=14252

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 http://www.apple.com/iphone/softwareupdate/.

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 @googlemail.com 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 m.google.com.
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.

Share

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.

Source: http://lifehacker.com/5220108/custom-bittorrent-search-engine-demonstrates-googles-proximity-to-the-pirate-bay

Share

Fun stuff, Internet , , , ,