Java is unable to print to CUPS printers

If you’re using a CUPS printer on Ubunutu (or other linux distro) you may not print from Java.
There is a quick fix taken from here.
Add an /etc/cups/client.conf file containing:

Terminator – nice multi terminal application for Linux

Hi folks!

I’ve been using Terminator for quite a long time now and I find it very usefull.

Install it in Ubuntu by running:

There is a feature I would like to see in the future releases: saving the layout of the […] Continue Reading…

Cannot use USB devices on Virtualbox 2 in Intrepid

There is a quick fix if you get some USB related errors when opening Preferences in Virtualbox 2.
You only have to add these lines in your /etc/fstab file:

Nokia N73 synchronization with opensync under Ubuntu 8.04

Yeap, Nokia N73 is a great phone and the N-Series PC Suite looks very nice.
But if you are using Linux, you can’t use the Windows PC Suite. Don’t hurry to fire up a Virtualbox or VMWare machine running Winblows […] Continue Reading…

Ubuntu 8.10 on Lenovo ThinkPad T61

Just installed Ubuntu 8.10 on my T61. Works great!
I hated that bloated Vista Business!

Items that work out of the box:
– Nvidia: 2D works, 3D requires the installation of the proprietary drivers (nVidia Quadro NVS 140)
– Wireless: Atheros card
– Bluetooth […] Continue Reading…

My custom bash prompt (PS1)

Pimp out Linux / UNIX shell prompt!
You can find a nice guide here, and a nice collection here.
Here is mine:

Have fun!

aria2 – wget and curl replacement

aria2 is a command line utility for downloading files. The supported protocols are HTTP(S), FTP, BitTorrent (DHT, PEX, MSE/PE), and Metalink. To install it on Ubuntu, just type in terminal:

Enable/Disable GDM in Ubuntu

By default Ubuntu Loads Gnome GUI.
If you need to disable X.org / Gnome under Linux, so you can get text only login, this is the right guide to follow.

Using command line (CLI):
Ubuntu comes with rcconf and update-rc.d command.
rcconf allows […] Continue Reading…

PulseAudio and 5.1 surround sound on Hardy Heron

The new Ubuntu 8.04 look very good and has many improvements over the older releases. I will not discuss about them now. I’ll just stick on the new default sound server, PulseAudio that offers sophisticated mixing capabilities and network […] Continue Reading…

Reset the root password on MySQL

Have you ever forgotten the root password on one of your MySQL servers?
This is a quick h00tow (how to) reset your MySQL root password. It does require root access on your server.

First things first. Log in as root and […] Continue Reading…