How to switch between different Java (JVM) in Ubuntu and Debian GNU Linux

Sometimes its hard to avoid installing multiple Java Virtual Machines (JVM) on your computer because it has something to do with application compatibility or software development purposes.

This creates an annoyance when you just want to run one of the JVM instead of another for a specific task, then having to switch to another JVM for other tasks.

Here’s an easy way to setup a default JVM (Java interpreter and javac) and switch between several JVM in Ubuntu / Debian based distribution.

From the console execute

[code]
sudo update-alternatives –config java
[/code]

Then you’ll be presented with this menu,

jvmtn.jpg

Select the Java distribution which best suits you and press enter. You’re done. You can always change the default JVM for your Ubuntu/Debian distribution by repeating this steps.

[tags]java,jdk,j2sdk,ubuntu,debian,linux,jvm,vm,javac[/tags]

How to Enable More Compiz effect in Ubuntu Gutsy Gibbon

One of the changes made in Ubuntu Gutsy Gibbon is Compiz enabled by default on installation. However the Compiz desktop effect setting are modest at best when enabled out-from-the-box in Ubuntu Gutsy Gibbon.

How to Customize Compiz effect in Ubuntu Gutsy Gibbon
From Desktop, go to Applications->Add/Remove…, search for ‘compiz’ and then install the CompizConfig utilities.

CLI lover might want to “sudo apt-get install compizconfig-settings-manager”.

To customize Compiz effects, just go to System->Preference, and select Advance Desktop Effects Settings.

There you go, a simple guide how to enable Compiz setting manager for Ubuntu 7.10 (Gutsy Gibbon). From here, you can add and remove compiz effects according to your needs and processing power budget. Hope you’ll find it useful !

[tags]ubuntu,debian,compiz,linux,opensource,desktop,effects,graphics,opengl,glx[/tags]

Install Ubuntu Theme for Windows

Love Ubuntu but can’t live without Microsoft Windows? Then this might be the solution for you. As funny as it sounds, there are people who took time the to port the Ubuntu-feeling for Windows users to experience.

Read How To Make Windows look like Ubuntu Linux article from The Indie Tribune for a quick guide to make your Windows look like an Ubuntu machine. Have fun!

[tags]ubuntu,gutsy,gutsy gibbon,gnome,windows,windows vista,vista,windows xp[/tags]

Crispy Clear Font on Ubuntu Gutsy Gibbon?

Maybe after spending hours of wading through http logs makes me imagining things, such as the font typeface on Ubuntu Gutsy Gibbon. They seems to look crispier and clearer than on Feisty Fawn, even on my old CRT monitor.

The differences is analogous to letter printed with Bubble-Jet printer versus one that is printed with a Laser Printer, you can just spot the differences.

[tags]ubuntu,gutsy,gutsy gibbon,feisty fawn,gnome,font,typeface,windows,opensource,gtk,ttf[/tags]

Howto Send and Recieve files over Bluetooth with Ubuntu Linux

With advancement of wireless technology, bluetooth has become a de facto standard for transferring files (and synchronizing data) between mobile devices (PDA, smartphone) and personal computer.

In this post I’m going to show you how to send and receive files over bluetooth using obexftp and obexpushd package from OpenOBEX project.

Send files to mobile device
First install obexftp and obexpushd

sudo apt-get install obexftp obexpushd

Insert a bluetooth dongle and activate bluetooth on your mobile phone. Do a scan of nearby bluetooth device (your mobile phone) by executing :

obexftp -b

obexftp then will display the scan result on your screen, like this :

Scanning ...
Using  00:15:A0:53:6F:85   Nokia 6680
Browsing 00:15:A0:53:6F:85 ...
Channel: 10

Pick a file, and try sending it over bluetooth by executing :

obexftp -b 00:15:A0:53:6F:85 -p example.txt

obexftp will then send the file to your bluetooth device (address : 00:15:A0:53:6F:85 – taken from previous command). Make sure that you set the mobile device to accept the file.

How to receive files over bluetooth
Insert bluetooth dongle and turn it into discoverable mode

hciconfig hci0 piscan

Continue reading “Howto Send and Recieve files over Bluetooth with Ubuntu Linux”

Ubuntu Mobile Edition running on Sony Ericsson P990i?

While Ubuntu Mobile and Embedded Edition isn’t quite ready yet, seems to me somebody tries to get creative by posting this video on Youtube.

[coolplayer width=”425″ height=”350″ autoplay=”0″ loop=”0″ charset=”utf-8″ download=”1″ mediatype=””]
Ubuntu on Sony Ericsson P990i
[/coolplayer]

Meanwhile, here’s the correct video that shows the current progress of Ubuntu Mobile and Embedded Edition UI.
Continue reading “Ubuntu Mobile Edition running on Sony Ericsson P990i?”