Thursday, March 06, 2008


I just tried openSUSE with the main feature is KDE4 ...

Quite cool ... but one thing make me drop it. It didn't include bluetooth stack by default. So I can't connect to internet due to my main connection is via bluetooth + GPRS mobile phone.

Wednesday, March 05, 2008

Oracle Environment shell script on Ubuntu

I install Oracle 10g Express edition in my Ubuntu machine from oracle-xe_10.2.0.1-1.0_i386.deb
Before that you need to install a library : libaio1 .

To run sqlplus you need to run a shell script first to update your environment variables. The script is at /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/ .
But I got this error line twice each time I run the script.

/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/ 114: [[: not found

You need to edit the /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/
at these lines :

if [[ -n "$LC_ALL" ]]; then
elif [[ -n "$LANG" ]]; then

Edit [[ to [ and ]] to ] , so it will be like these :

if [ -n "$LC_ALL" ]; then
elif [ -n "$LANG" ]; then

Actually I don't know is there any side effect but as long as I use it there is no problem with my revised .
So, if you have any better solusion please comment this post. Thank you.

Blank Netbeans 5.5 on Ubuntu

Did your netbeans 5.5 can not start ?
After I installed netbeans5.5 and netbeans5.5-platform in my Ubuntu machine. I started the netbeans from menu but only shown a blank window.
I found the solution for this issue from ubuntu forum article .
It's due to the Swing is not compatible with Beryl. You need to set your desktop visual effect to "None".
You do that from the Desktop menu "System" >> "Preferences" >> "Appearence" >> "Visual Effects" tab , and select "None" .
Other choices will activate Beryl, so Netbeans can not display anything inside the window.

Blogged with Flock