Jimmy’s Blog

Solving (fixing) ubuntu 10.04 (lucid) screen flicker/distortion

by jimmy on Jun.23, 2010, under English, Linux

I experiencing random screen distortion & flicker after upgrading to Ubuntu 10.04, I’m using Acer Notebook.
After searching in internet, there’s many forum thread & bug report discuss about this but mostly they have different hardware.
Finally I tried this method and no flickering so far.

What I do is I change my grub configuration, adding kernel parameter “i915.powersave=0”.

For Linux expert probably this is not an issue, so I dedicate this step for the newbies like :)

  1. What I do is I modify the grub configuration which is located on /boot/grub/grub.cfg (backup before you edit it)
  2. Because the access right is set to read only, let’s change it so the owner can modify it.
    > sudo chmod -c u+w /boot/grub/grub.cfg
  3. Use vi or your other prefered editor to edit it.
    > sudo vim /boot/grub/grub.cfg
  4. Locate the menuentry of your Linux. Example:
    menuentry ‘Ubuntu, with Linux 2.6.32-22-generic’ –class ubuntu –class gnu-linux –class gnu –class os {
    recordfail
    insmod ext2
    set root=’(hd0,4)’
    search –no-floppy –fs-uuid –set xxx-xxx-xxx

    linux /vmlinuz-2.6.32-22-generic root=UUID=xx-xx-xxx-x-xx ro quiet splash
    initrd /initrd.img-2.6.32-22-generic
    }
  5. Add “i915.powersave=0” to the linux kernel line as parameter. It will become:
    menuentry ‘Ubuntu, with Linux 2.6.32-22-generic’ –class ubuntu –class gnu-linux –class gnu –class os {
    recordfail
    insmod ext2
    set root=’(hd0,4)’
    search –no-floppy –fs-uuid –set xxx-xxx-xxx
    linux /vmlinuz-2.6.32-22-generic root=UUID=xx-xx-xxx-x-xx ro i915.powersave=0 quiet splash
    initrd /initrd.img-2.6.32-22-generic
    }
  6. Save & restart to check if you still experiencing screen flicker

That’s it :)
Hope it can work on other Notebook/PC

Leave a Comment :, , , , , , more...

Basic LWUIT tutorial/sample with Eclipse Pulsar

by jimmy on Apr.17, 2010, under English, Java, Programming, Technology

I was really want to try LWUIT since several months ago. It’s look promising and it’s developed by SUN so I think every Java ME developer should take a look on this technology.
I’m also still new in LWUIT so there won’t be a lot that I can share for now, but at least I will show you a basic demonstration of how to use Form, Label, Command, and 3D Form transition (sound cool huh :p)

REQUIREMENT

What you need:

  1. LWUIT
  2. Eclipse Pulsa
  3. Emulator like Sun WTK
  4. Know basic Java ME programming :) (continue reading…)
16 Comments :, , , , , , , , , , , , , more...

Updating Pidgin to latest version in Ubuntu

by jimmy on Mar.14, 2010, under Uncategorized

Since the latest pidgin not available in 9.04 repository you need to setup PPA just like instruction in pidgin website. My instruction here is the same although the command a bit different. This will also solve cannot connect to Yahoo Messenger issue. (continue reading…)

1 Comment :, , , , , , , , , more...

Java ME (J2ME) JSON Implementation Tutorial/Sample

by jimmy on Mar.03, 2010, under English, Java, Programming

JSON is one of the most popular format used for communicating between (Java ME) J2ME client and App Server. Strangely it’s hard to find JSON implementation sample in J2ME. So I decide to write a sample.

(continue reading…)

7 Comments :, , , , , , , , more...

Set up Centos yum repository to Kambing UI server (kambing.ui.ac.id)

by jimmy on Jan.19, 2010, under Indonesia, Linux

[base]
name=CentOS-$releasever – Base
baseurl=http://kambing.ui.edu/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-$releasever – Updates
baseurl=http://kambing.ui.edu/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever – Addons
baseurl=http://kambing.ui.edu/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-$releasever – Extras
baseurl=http://kambing.ui.edu/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

Untuk menggunakan server kambing.ui.ac.id sebagai repository di Centos :

  • Buat file dengan extension repo di directory /etc/yum.repos.d/ (Contoh: vim /etc/yum.repos.d/Kambing-Base.repo)
  • Isi file:

(continue reading…)

1 Comment :, , , , , , , , more...

Bind JBoss to specific IP address

by jimmy on Dec.28, 2009, under Java, Linux

Simple but I think it will help JBoss newbie (like me :]) when searching the internet.

By default when you run JBoss ( ./run.sh in Linux) it will bind to localhost/127.0.0.1
This will cause the JBoss default port 8080 cannot be access from other computer, because you need to open http://127.0.0.1:8080/ instead of your IP http://<your IP>:8080/ (continue reading…)

4 Comments :, , , , more...

Kehilangan uang di safety box Hotel Kuta Lagoon Resort, Bali

by jimmy on Dec.21, 2009, under Life, My Life

CIMG0103.resized

Kemarin tanggal 17 Des – 21 Des 2009 saya berkunjung ke Bali untuk pertama kalinya, tetapi mengalami pengalaman yang tidak menyenangkan (masalah) di Hotel Kuta Lagoon Resort yaitu kehilangan amplop berisi uang yang saya letakkan didalam safety box dalam kamar saya.

Artikel ini bertujuan untuk mengingatkan teman-teman untuk waspada dalam menyimpan uang dalam berpergian, supaya tidak seperti saya yang percaya dengan keamanan safety box di dalam hotel.

Kronologisnya seperti ini: (continue reading…)

2 Comments :, , , , , , , , , , more...

Fixing network slow transfer in Windows Vista

by jimmy on Oct.08, 2009, under Uncategorized

If you find that copying from your Windows Vista extremely slow  (50KB/s) from wifi you must try this.

Go to your device manager: (continue reading…)

1 Comment :, , , , , , , , , more...

Blackberry sending delivered notification email

by jimmy on Jun.26, 2009, under English, My Life, Technology

I just realize that when sending to blackberry device when the email received on blackberry and the sender request delivered notification, it will automatically send delivered notification back to the sender.

And there’s no option to disable this.
Maybe it’s like a ‘feature’, but in my opinion it’s suck to cannot select whether we want to sent this delivered notification or not.
For spammer this could be good ‘feature’ since they will know which email still actively receiving their spam.

In my blackberry curve there’s only option to disable ‘read notification’, which located at message – options – email settings.
But read notification is not delivered notification, when I disable sending read notification still the blackberry sending delivered notification automatically.
This is sucks, anyone know how to solve this issue?

1 Comment :, , , , more...

Solving Pidgin cannot connect to Yahoo Messenger (YM)

by jimmy on Jun.19, 2009, under English, Linux

Starting June 18 I started having problem connecting to YM with Pidgin.
Somehow it’s random I can connect or not.

I google and several article/forum writing that need to flush dns cache and also about several YM server cannot be accessed from Pidgin.

I try my friend advice to change YM server configuration to IP rather than domain name.
And it’s worked..
You will need to use cn.scs.msg.yahoo.com as Pager server since June 24, or you can update to pidgin 2.5.7 to solve this problem

Some people are reporting changing the Pager server didn’t solve the problem, you can follow these instruction to update your pidgin to latest version (for Ubuntu) : Updating Pidgin to latest version in Ubuntu

The steps: (continue reading…)

64 Comments :, , , , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...