Monday, October 12

3 things you never expect to learn from life when it happens

1. weather - the weather is something we know in life but never expect it to happen in certain occasion of time. different people have different perspective of how weather interfere their daily life. for instance office workers hate raining during on-off peak hours while hawkers hate raining during all day.

2. music - music is known as international language before English. yet it is hard to expect what kind of feelings it might give to a person depending on his mood, events and location. there are so many genre of music but not everyone like all of them.

3. love - love is the only thing in the human life that being hated and yet pursued in life. again, each person have their own definition of love and happiness and different people needs different ways of love. some hurts and some warming, and no one would know all about love, never and ever.

there is a fish swimming across my LCD while i writing this and the weather outside the window is bright shinning. 天黑黑,bey落雨
Share/Save/Bookmark

Monday, September 14

using ibus 1.2 in Opera 10

there are many questions asked about iBus input system does not work under Opera browser. the following short tutorial describes how to replace SCIM with iBus and make it works under Opera browser, the configuration i used here are:
  • Ubuntu Jaunty 9.04 32 bit with Gnome desktop
  • Opera 10
  • iBus 1.2
  • Ubuntu Tweak 0.49 or Synaptic Manager
first, you have to uninstall SCIM from the system, fire up Synaptic Manager and search for installed packages with name suffixed "scim". From the list you will see im-switch also shown but DO NOT select for removal. Do the removal of all SCIM related packages including language-input-zh and some chinese font (here i uses Chinese input as example).

after the removal, you need to enable iBus repository, you can easily enable it using Ubuntu Tweak 0.49 and do a reload. then install iBus within Ubuntu Tweak itself. after everything finished, save all your work and open up a terminal.

inside the terminal do $> vi ~/.xinput.d/en_US to see if there are any contents, mine was empty. then remove the file by issue command $> rm ~/.xinput.d/en_US

now we need to initialize the iBus configuration by issuing command $> im-switch -v -s ibus (remember not to use sudo here unless you wishes to make this configuration system wide).

now you can logout and login again. you shold see iBus icon in the system tray (notification area). Right click and select Preference to customize the setting you like.

next thing you need to do is to enable Opera to be used by iBus. the Opera shipped with Jaunty is 9.64 (outdated), even you might had downloaded a copy of version 10 from Opera website, the version provided will not work with iBus because its build with Qt3 and Gcc3/4. what you need to do is to access the FTP website of the opera and download the Qt4 version. iBus 1.2 above will work with Opera in Qt4 version out of the box.

hope this helps!
Share/Save/Bookmark

Monday, August 31

how to update nvidia ubuntu driver

Image representing NVidia as depicted in Crunc...Image via CrunchBase
if you were just like me prefer to run ubuntu with compiz and 3D acceleration graphic driver, perhaps you already done it during initial jaunty installation by activated the Hardware Proprietary Driver using System > Administration > Hardware Drivers.

 
click image to zoom
this is the easiest and safest way to run nvidia driver as it is tested by Ubuntu developers despite its proprietary license. unless you are die-hard open source whom totally against it, otherwise read on.
the current version of nvidia driver shipped with jaunty updates are 180.44 and this tutorial i will show you how to update to version 185.18 that contains alot of fixes and enhancement. if you keen to get the latest, there is this version 190 beta just released, but i ain't recommending it.
steps:

  1. add the following lines into /etc/apt/sources.list using terminal or via Software Sources:


    deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu jaunty main
    deb-src http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu jaunty main
    

  2. ensure you have the PPA keys imported as well via here.
  3. now, backup important files for safety, save all your work. if you are running Compiz, disable it using System > Preference > Appearance then switch to Visual Effect and select "None".
  4. goto Hardware Drivers (above) and click "Remove" to uninstall current version of driver. it will take a while and after that, do a software update using System > Administration > Update Manager.
  5. you should be prompted with new version of nvidia drivers, do mark all of them for upgrade then Apply them.
  6. after the upgrade, reboot the system.
  7. back to the desktop after login, open up Synaptic Manager to ensure you have the latest version.



    click image to zoom
  8. once the version is right, then head back to Hardware Drivers and select 180 and click Active button. it will take a while for additonal files to be downloaded.
  9. the final step is to ensure it installed correctly. goto System > Administration > NVIDIA X Server Settings and see if the version is right.





    if you need help, please post under the comments. enjoy!

Reblog this post [with Zemanta]

Share/Save/Bookmark

vacuum firefox for all platforms

Mozilla FirefoxImage via Wikipedia
if you read my earlier post on how to optimize firefox 3.5 using sqlite and vacuum method, here comes an easy way for windows and mac os x platform.

head-on to firefox add-on page here and look at the following extensions. all of these do the same thing, to vacuum the firefox places files.

 
click image to zoom
personally i am using Vacuum Places Improved but you can try out each of these.

Reblog this post [with Zemanta]

Share/Save/Bookmark

Friday, July 31

you know you addicted to restaurant city when...


Share/Save/Bookmark