Enable Network Printer Sharing with Ubuntu Linux computers

Having a shared printer within a computer network is a nice thing to have. Since all computers within the network can access a remote printer to print documents. Maintenance cost is much more cheaper and easier since you only need to service only a single printer within a network.

Here’s how to enable Printer sharing with Ubuntu (or other Linux based computers) through GNOME :

At the computer with the printer

Administer Printers Ubuntu
  • First at the Desktop, go to System->Administration->Printing. A dialog will appear
  • Go to Server Settings, and check the “Share published printers connected to this system” checkbox

    Administer Printers Ubuntu

  • You may, optionally select “Allow users to cancel any job”
  • Click Apply, and close the dialog

At the client computer(s)

Network Printer Sharing Ubuntu, using Samba

  • From the Desktop, go to System->Administration->Printing. A dialog will appear
  • Check “Show shared printers from other systems” checkbox. Click Apply
  • Repeat the first step, this time click “Refresh Printer Queues” button. You shall see the list of shared printer from the server computer
  • Repeat this on other computers on the network to share the printer

That is all to it! Now you can print documents across your computer network.

Awesome Web apps integration with Mozilla Prism (Google, Facebook)

Being a relatively newcomer with Desktop + Web apps application, I tried to experiment with Mozilla Prism in a newly installed Ubuntu Hardy on my sister’s laptop.

At first glance, Mozilla Prism really hits the spot. as it allows seamless integration of various web application within your computer. Prism made it easier for me to access various web application from my desktop with relative ease, as if they were local applications.

Screenshots of Prism in action

Google Reader

Google Prism

Google Docs

Google Docs in Prism

Google Facebook

Google Docs in Prism

Prism enhances web experience greatly by integrating web application into desktop environment.

How to Install Prism
From desktop, go to System->Administration->Synaptic Package Manager, and search prism. Install “prism” package together with its associated web application (called “bundles”)

Installing Mozilla Prism

Facebook and Google Groups Integrated inside Applications Menu

Installing Mozilla Prism

How to Synchronize Current Time in Ubuntu

As some of you might aware, the time kept by computers (or other timepieces such as clocks) are not accurate as there are various factor that causes time drift. Quartz inaccuracy, temperature, quality of the equipment, power from battery, mechanical wear and tear and so on.

These minor drift while might not seems to be significant, it will give you inaccurate measure of time. This might affect your other productivity work as the time kept by your computer is not accurate to the last second. Plus, certain application such as Stellarium and GPredict depends heavily on the time kept on your computer to give accurate result.

How to get accurate time in Ubuntu
You can ensure your computer gets the most accurate time by synchronizing it with an NTP server .

To do this you need to right click the Tray Clock in Ubuntu, and selects “Adjust Date & Time”.

Adjust Date and Time

A dialog will appear, press “Unlock” and enter your Administrator password to enable the menus.

Adjust Date and Time

Answer “yes” to install NTP packages. If your computer is connected to the internet it will be automatically synchronized with an NTP server.

Bonus :You can select the nearest NTP server to your place for faster synchronization, as shown on the picture. The nearest NTP server to Malaysia is maintained by SIRIM – mst.sirim.my.

NTP Time Servers in Ubuntu

Synchronize Time using command-line
Alternatively you can synchronize time by using ntpdate command-line tool, which is covered previously in this blog.

mypapit gnu/linux blog is now 3 years old!

It has been 3 years since I first started this blog, a cause that worthy of celebration. It was a long way to go when I first stated this blog in mid-April 2005, i never thought it would last this long, since I’m not much of a writer. Looking back, I still wish I had written a lot more useful articles on this website for my readers’ benefit.

birthday cake

For my readers, it is my hope that you will continue reading my humble posts for years to come. Thank you for your support

Putting Colors to GRUB Bootloader menu

Some distro like Ubuntu installs a plain white on black color scheme of GRUB on your computer. Nothing wrong with it, only it look like as if the computer is running with a monochrome monitor. Rest assured, there are ways you can do to spruce up your GRUB menu

Grub Ubuntu mypapit.net

Add colors to GRUB menu
The easiest way is to add colors to the plain vanilla grub menu. First edit the /boot/grub/menu.lst using your favorite editor.

Then, uncomment the line
# color cyan/blue white/blue

GRUB Color Explanation
cyan/blue = color of the GRUB menu
whte/blue = color when a particular menu item is highlighted

It follows this format : foreground/background … cyan/blue

Finally, save the file and reboot. You shall see your new colorize GRUB menu. Other color combination you might want to try are :

# black
# blue
# green
# cyan
# red
# magenta
# brown
# light-gray

Foreground color :
# dark-gray
# light-blue
# light-green
# light-cyan
# light-red
# light-magenta
# yellow
# white

GRUB boot menu similar to OpenSUSE and Linspire
Alternatively you can use themeable GRUB boot menu similar to those of OpenSUSE and Linspire bootloader. To do this you need to install gfxboot and grub-gfxboot package.

Follow the instruction from ubuntuforums.org, Howto : GfxBoot ( Grub menu like suse )