Installing Urdu Support in Ubuntu

This is an update to the previous guide “Enabling Urdu Support in Ubuntu“. If you are using Ubuntu 9.04 or higher than you should follow the steps below to install Urdu read write support in your Ubuntu Linux Operating System. Ubuntu has the best support for Urdu Language, it renders Urdu fonts beautifully and using Open Office in Ubuntu you can create beautiful text documents, PDF files and presentations.

Step 1 – Installing Urdu Language Support

Go to System > Administration > Language Support

ubuntu language support

The language window will appear, now click on Install / Remove Languages… button:

Screenshot-Language

A new window will appear with a list of languages. Scrolldown to find Urdu and then mark it to be installed. Then press the Apply button.

install-languages

You will be then asked to provide your administrative password. Providing the password will the initiate the installation process which consists of downloading the necessary packages from the internet and installing them on your computer. After the installation you will be shown a message “Successfully applied changes”. Now we have completed the installation of Urdu support.

Step 2: Adding keyboard layout

Unlike other operating systems, Ubuntu comes with a variety of choices for Urdu Keyboard layouts installed on your machine. There are phonetic, Indian and Pakistani keyboard layouts. In my opinion the Pakistan keyboard layout is the most easy to use. It is phonetic which makes it easy for a newbie to understand where the keys are.

Right Click on an empty space anywhere on your top or bottom panel and select Add to Panel…

add-to-panel

This will show a list of applets that you can add to your panel. From this list select “Keyboard Layout Indicator” and press Add button.

panel-applets

You will see that a text icon “USA” will appear on your panel. This indicates that you are currently using the USA English keyboard layout. Right click on it and select Keyboard Preferences.

select-keyboard-preferences

The Keyboard Preferences windows will appear. Go to the Layout tab and press Add… button.

keyboard-preferences-add

Now you will see Choose the layout window with two tabs By Country or By Language. You can select either of these tabs to select your keyboard layout. Using By Country tab, in the Country menu you need to scroll down until you find Pakistan and select it. If you use By Language tab then in the Language menu you need to scroll down until you find Urdu.

Keyboard layouts come with different variants. Some are phonetic and some follow the Arabic keymap. In my opinion Phonetic keyboard layouts are the most easy to use. CRULP, Pakistan and NLA are phonetic keyboard layouts. I personally use Pakistan. So in the Variants menu you suggest your keyboard layout and finally you press the Add button.

choose-layout

Now you have added Urdu keyboard layout. But you need to know how to switch from US English keyboard layout to Pakistan Urdu. To do that we press the Layout Options button in Keyboard Preferences window. In the new Keyboard Layout Options window we go to the option Key(s) to Change Layout and from it’s submenu we select the key combination we would like to use for switching between our keyboard layouts. I personally use Alt + Switch as this is the same combination I used in MS windows.

layout-options

After that press the Close button in Keyboard Options window, and Close button on Keyboard Preferences window. Now to make sure that all these settings work as desired, you should restart your computer.

Below is a screenshot of Urdu on my Ubuntu. The font used here is Nafees Web Naskh which is installed on your computer when you install Language support.

Urdu in Ubuntu 9.10

Five Reasons to use Ubuntu 9.10

Ubuntu released it’s new version Ubuntu 9.10 Karmic Koala nearly the same time when Microsoft’s highly anticipated Windows 7 came into the market. This post is not a comparison of the two operating systems (If you want here is an unbiased comparison). This post is a simple attempt to describe some important qualities of Ubuntu. Qualities that make it a better option, specially for home desktop users.

1. Fast

Ubuntu uses a new technology called Upstart which has significantly improved the bootup performance. Ubuntu 9.10 Karmic Koala is fast. On start up it quickly boots up and takes you to your working space, the desktop. It comes with Firefox 3.5.4 web browser which is much faster than the previous versions of Firefox. Tuxradar posted an interesting video showing Microsoft’s Windows Vista, Windows 7, Ubuntu 9.04 and Ubuntu 9.10 booting up. Ubuntu 9.10 wins the race.

2. Good looking

Ubuntu 9.10 comes with many visual improvements. Animated boot splash, compiz visual effects, better font rendering, default theme improvements and improvements in Gnome’s user interface. All these changes give Ubuntu 9.10 a much sleeker and visually pleasing look of a modern Operating System.
Screenshot 1 (OpenOffice Writer):
ubuntu-910-screenshot

Screenshot 2 (Compiz visual effects):
ubuntu-910-compiz

3. Secure and Reliable

Ubuntu is a Linux based Operating System. It is generally considered to be much less vulnerable to security threats such as malware, adware, viruses and trojans. It comes with Firefox to make your browsing even more secure and better. Also Ubuntu offers free updates. These updates are not offered for the operating system alone. Ubuntu offers updates for each and every software installed on your machine. In Ubuntu’s default installation, update manager is configured to notify you when ever there are updates available for you to install. Using Ubuntu you can spend more time working without worrying about security problems.

Screenshot 3 (Update manager):
Screenshot-Update Manager

4. Amazing software

Ubuntu is an Open Source operating system and it comes with the greatest Open Source applications. Unlike other Operating Systems which come only with a limited default set of a few very basic applications. Ubuntu comes with Open Office suite, instant messaging, photo manager, media player and Gimp image editing program. It also comes with Ubuntu Software Center which is a great way to browse through the thousands of free software offered by Open Source community.

Screenshot 4 (Software Center):
ubuntu-software-center

5. All of this is free
All of this is free for you to download and install.

Migrate to Ubuntu

You must have heard from people that installing Linux is difficult. Yes they are right, But they forget to tell you that Linux based Operating Systems come in many flavors from many distributions. Ubuntu is a distribution that gives importance to ease of use. Hence, Downloading and Installing Ubuntu is a piece of cake. In fact Ubuntu’s installer is easier than MS Windows. In six easy, well designed, well described and well documented steps you can install Ubuntu with in 15 to 20 minutes. You can download and burn a CD image, then you can try Ubuntu with out making any changes to your current Operating System. Or you can try Ubuntu from with in your MS windows installation.

Trying Kubuntu Karmic Koala (Beta)

Two days ago I installed Kubuntu 9.10 Karmic Koala Beta on my Acer Travelmate 5730. I often try KDE based distros hoping that I will eventually find something that doesn’t crash often.

Kubuntu 9.10 Beta Karmic Koala is improved in many ways. The new installer Bling is beautiful yet simple. Installation went smooth and finished with in 10 or 15 minutes. After the installation I logged in to a beautiful desktop. This beautiful desktop is KDE 4.3.1 which has many improvements. Well it is improved since the last time I used KDE 4. First of all it uses a new theme “Air” by default instead of Oxygen. Air looks better because it matches the over all look of KDE 4.

Kubuntu boots faster but on my computer it switches to text from boot screen which looked a little ugly. Once logged in, Kubuntu acts like MS Windows it starts loading applications in the taskbar and plays the start up music when everything is loaded. On my computer this sound appears 10 seconds after login. I think that the start up music should be played as soon as the Desktop appears. Otherwise it is a little distracting when I have already started working.

There is this one particularly wonderful improvement that I loved; Dolphin file browser’s file and folder previews, moving the mouse to a file displays a preview of the file in the information bar on the right. There is a scroll bar at the bottom of Dolphin window for zooming in and out. The animations are fantastic.

There are some very useful widgets added with Plasma desktop. I was particularly happy to see the social web applications for microblogging and facebook. However I was unable to use microblogging widget because there appeared a Configure.. button right in the middle of the widget and I was unable to find a way to make it disappear. But I am glad that KDE desktop is thinking about future by bringing the web to the desktop. I personally think that this is a wonderful approach.

In Kubuntu Karmic, OpenOffice feels more like home and so do some other GTK+ applications. Also there are many improvements in KDE applications. Like Amarok is using the latest release candidate, there is DBpedia an application to look for reference. I don’t know why I would use an application instead of web browser to look up at Wikipedia?

Overall I am very impressed with Kubuntu 9.10 Karmic Koala Beta. But I would like to warn you that there are two very annoying bugs in this beta version. First of all the new package manager KPackageKit does not work. So you will have to use apt from command line to install updates. Secondly you can not log out and log back in. I am also having problems at start up. During the start up KDM would hang without asking for login details. I can easily restart KDM but its really annoying. Hopefully these issues will get resolved with the final release.

The conclusion is that Kubuntu Karmic Koala is worth trying, it is improved and hopefully it will get better. So if you are like me, a person who wants to try KDE but often failed due to one reason or another, now is the time. Give it a try and file bug reports if you find any.

How do I Modify Notification Area? – Ubuntu 8.10

How do I modify notification applet so that it only notifies me about things that I want to be notified about. For example I don’t want it to display notifications about network connection but I want it to display notification when there are updates available to install.

Twitter Applications on Ubuntu Linux

I am using twitter a lot since last few days (Follow me) and naturally I looked around for applications that I can install on my Ubuntu Linux to make tweeting easier. I fired up Synaptic and found these two applications:

Twitux

A GTK+ Twitter client, using Twitux I can send messages to twitter without opening a new tab in browser. It can display notifications when a new message arrives. The interface is very simple, easy to understand and use.

gTwitter

Gtwitter is also a simple intutive Twitter client. What I loved about gTwitter is that it has a text box right there in the main window to send messages. In Twitux you need to open the new message text area from menu.

Both these applications are very similar in their interface but both of them has this problem that the links in messages are not clickable. You can read the messages but you can not click and open a URL. I also felt that there should be a button or something to reply individual messages quickly. Just like the tiny reply button that appears on messages in Twitter homepage.

Closing the synaptic I looked around the web for more Twitter applications on Linux and found Phil Wilson’s hack that allows you to post to twitter from deskbar widget. I also found Saad Hamid’s list of Twitter clients for Linux which lists some more applications that use Adobe AIR framework.

For now I think I will be using Twitux as it displays notifications when there is a new message in the timeline. I may not be using it for sending messages though and I think without clickable links it is not very useful for reading messages either.

Update Apr 1, 2009. 03:19 PM: In the comments below and on Twitter every one mentioned Gwibber and how cool it is. Thank you all for your suggestions. So I installed Gwibber and its wonderful. Gwibber makes it easier to reply, send and read messages not only from Twitter but also from facebook and identi.ca and it could also be used as a feed reader. The interface is simple and intuitive. Links are clickable and there is a reply button with each message in my timeline. It can also search messages and display results in a new tab. So Gwibber is now my Twitter Client on Ubuntu Linux. There is just this one little thing, since I am using Gnome Global Menu the menu bar for Gwibber does not show anything under the Accounts. But then again Both of these applications are not officially supported on Ubuntu 8.10. Gnome Global Menu does not even work with Firefox and other non-GTK+ applications.

Totem Youtube Search and Play Plugin

I recently started using Totem movie player. Before that, VLC was my prefered media player on Ubuntu and Debian. It is still default media player on my Windows partition. But on Linux I think Totem is wonderful. I love the simplicity of Totem’s interface. Which is weird because in past I disliked Totem for the same interface but after using it a while I have become a fan. The interface is not only simple, it is also very intuitive. Totem is also feature rich in its own Gnomish way.

I specially liked Totem’s Youtube video search and play plugin. It looks fantastic, you can search and play youtube videos right inside Totem and it works great with Ubuntu 8.10. I loved it but I don’t think I will be using it that much. Totem also has BBC video plugin but unfortunately I failed to connect to the BBC servers.

Screenshot Totem's YouTube plugin - Click to enlarge

Screenshot Totem's YouTube plugin - Click to enlarge


While watching videos on YouTube you can read description provided by the uploader, you can read comments, add yours, add the video to favorites and do lots of other cool things. It is currently not possible to do all these things in Totem. You can add a video to a playlist in Totem and save that playlist on your computer, but what about the playlists I have on my youtube account?

I think some added features will make this plugin more interesting for users. Like for example the description and comments could be displayed just like it displays related videos in an extra tab on the sidebar when a video is played.

I am also thinking how one can add other video sites to totem?

Trying Debian Lenny

Debian’s latest stable release Lenny arrived on Valentine’s day. Previously, I installed Debian using the net-install CD. This time Debian has made it easier, now you can download a single CD and install a fully functional Debian GNU linux with Gnome Desktop Environment. This CD or DVD is the first CD or DVD in the set. Debian Lenny is very easy to install in both text mode or a Graphical installer. The disk partition portion of the graphical installer was a little difficult for me to get familiar with but after a little difficulty I finally got it working. After that installation went smooth, it automatically detected all hardware and Internet settings and I logged into the same old Gnome desktop.

But the system you log on after the installation is very basic. It has two web browsers Epiphany and IceWeasel but it does not have Synaptic package manager. I am comfortable using apt but I prefer synaptic because I am lazy. This single CD install method does not install Open Office and Gimp. I decided to download the software I needed. But when I tried to install them from root terminal I got errors. After some troubleshooting I found that Lenny’s graphical installer installs packages not from the latest stable release but from debian-volatile. What is Volatile?

Some packages aim at fast moving targets, such as spam filtering and virus scanning, and even when using updated data patterns, they do not really work for the full time of a stable release. The main goal of volatile is allowing system administrators to update their systems in a nice, consistent way, without getting the drawbacks of using unstable, even without getting the drawbacks for the selected packages. So debian-volatile will only contain changes to stable programs that are necessary to keep them functional.

After changing the sources.list I installed Synaptic package manager and after that I will make a list of software I need to install. I will be downloading VLC media player, Urdu fonts, Pidgin, Gimp and Open Office. I am also thinking about installing Firefox but I am not too sure about it. I feel that Firefox is no more a lightweight web browser. It is heavy, slow and does not match the Desktop environment. I am forcing myself to like Epiphany web browser.

If you are an Ubuntu user trying Lenny, then remember that Debian uses a package called locales for dealing with National or native language support. If you did not add your language during the installation then you can run dpkg-reconfigure locales from root terminal to reconfigure locales.

If you are trying to write in Urdu language on Debian lenny and characters do not join correctly then you should replace the default Urdu keyboard layout ‘pk’ (found in /usr/share/X11/xkb/symbols/ ) with this one. I have filed a bug report for this error and hope it will get fixed.

I also tried LXDE on Debian and I am very excited about testing it on an old computer.