Archive for June, 2006
Killer Looks of KDE in Kubuntu Entices a Long Time GNOME User!
8
I had been a KDE user for more than 3 years at one time and those were my early days with GNU/Linux operating system. Once I felt comfortable enough with GNU/Linux to start trying different window managers, I evaluated a few and finally settled down with the GNOME desktop environment as my primary desktop manager, mainly for its simplicity and ease of use. It was less cluttered than KDE and more featureful than XFCE. Above all, I personally preferred the sleek look of GNOME to that of KDE. I tried my best to stay clear of all the KDE vs GNOME flame wars but got really frustrated my the insolent remark made by Linus that GNOME developers treat the users like noobs. Incidents like these might have converted me from being ‘just another fan’ of GNOME desktop to a loyal user of it, but that was not to be. Enter the newly released Dapper Drake version of Kubuntu.
amaroK: Media Player for the KDE Desktop. Strongly recommended to give it a try.

The look and feel of the Kubuntu operating system totally blew me away! For the first time I have understood that no other distribution had put enough effort in customising the look of KDE targetting the casual users, barring Kubuntu and SuSE. Perhaps the fact that Kubuntu(all Ubuntu family of distributions) ships with minimal set of essential applications(only one application for any given job) did the trick for me. I hated to see multiple text editors, web browsers, media players, and even terminal emulators, being installed for KDE by most of the popular distributions. It was abused in GNOME too, but only to a limited extent. The main menu of KDE always used to contain many more items present than the GNOME menu for the same distribution. Its different with the Ubuntu family of distributions.
Hold the mouse over a file and it will display all the information related to that file in a nice popup window.

Using Kubuntu for less than 3 days was compelling enough to convert a long time GNOME user to a KDE fan! Though I have become used to a lot of GNOME applications over time and can’t imagine living without any of them, or having to always install them separately on the KDE desktop, I will surely be using the KDE environment more regularly from now. The fact that a lot of KDE applications in Kubuntu are crash-prone isn’t helping me if I want to consider a complete shift to the KDE environment – its only good for fun as of now. (This is a Kubuntu specific issue, not related to KDE, that too only on my hardware; I haven’t seen too many Kubuntu users complaining about the stability issues that I am experiencing.)
Edit programs in MS Windows-like Kate editor or in the powerful emacs editor.

So shall I take this as a sign of more fierce competition between KDE and GNOME desktops in the Ubuntu family of operating systems in the coming months or will the GNOME desktop remain the undisputed king for still a very long time to come?
Below are some screenshots of KDE desktop on Kubuntu operating system.
Akregator: RSS Feed Aggregator for the KDE Desktop

Kopete: Instant Messenger for the KDE Desktop

Adept: Package Manager for Kubuntu Operating System

K3B: A CD/DVD burning application for the KDE Desktop(I use it in GNOME too)

Hold the mouse over one of the Workspace tabs in the taskbar and it will list all the Windows in that Workspace in a popup balloon.

Sticky note taking application that supports rich text editing and various background colors. I love this tool.

Kontact: Personal Information Manager for the KDE Desktop.

Connecting iPod to GNU/Linux System(Gentoo, Ubuntu, Fedora etc) Using Gtkpod
3A lot of media players on GNU/Linux support the iPod MP3 players these days(for eg: amaroK, Banshee, Rhythmbox etc). I personally use Gtkpod to transfer the music from my Gentoo machine to the iPod player. Once configured, its really easy to use the Gtkpod application to do the music transfers. First install it using the package manager available on your operating system:
On Gentoo:
(I have added ‘aac’ support to Gtkpod by adding a line ‘app-pda/gtkpod aac’ to /etc/portage/package.use file before doing the emerge)
On Debian/Ubuntu/Kubuntu:
On Fedora/SuSE/Mandriva:
Use RPM files or Yum/Yast/urpmi/etc package managers to install Gtkpod.
Its a GTK application, so if GNOME is installed, Gtkpod should be very easy to install on any GNU/Linux distribution, even if it means compiling it from the sources.
Now connect iPod to the USB port of the computer using its data cable and use ‘dmesg’ command to find its device name:
sdb: Write Protect is off
sdb: Mode Sense: 6c 00 00 08
sdb: assuming drive cache: write through
SCSI device sdb: 58605120 512-byte hdwr sectors (30006 MB)
sdb: Write Protect is off
sdb: Mode Sense: 6c 00 00 08
sdb: assuming drive cache: write through
sdb: sdb1 sdb2
Attached scsi removable disk sdb at scsi4, channel 0, id 0, lun 0
usb-storage: device scan complete
Don’t panic; just try to find the names that look like sdaX, sdbX, sdcX etc from the output. You can see sdb1 and sdb2 in the above output, so these are the two devices that represent iPod on my machine. The music files are stored in the second partition of the iPod, so I need to mount sdb2 in my filesystem before I run Gtkpod so that it can see the iPod music folders. Mount the device and run Gtkpod:
sh# mount /dev/sdb2 /mnt/ipod
sh# gtkpod

The name of the iPod device should be visible in the left pane of the Gtkpod application(along with the label ‘local’ which is used to store local playlists). Select the name that represents your iPod device and select File->Read iTunesDB (or “Read” button from the toolbar). All the tracks and playlists from iPod should now be imported into Gtkpod. You can click the visible tracks to play them on the computer.

To transfer music to iPod from the computer, either create a new playlist or select an existing playlist in the iPod. To create a new playlist, highlight the name of the iPod device as visible in the left pane of Gtkpod and click “New PL” from the toolbar. Enter a name for the playlist when prompted. Now highlight the playlist into which you want to add the new music files and then select File->Add Files or File->Add Dir. Select the music files and press “Open” or the “OK” button. To finally write the added files/directories to iPod, click the “Sync” button from the Gtkpod toolbar. Wait for the files to be transferred to the device and then quit the application. Before you disconnect iPod from the comupter, don’t forget to first unmount the device:
sh# eject /mnt/ipod
Now you can safely unplug iPod from the computer. Browse through the playlists in iPod to check if the files have been properly added to the device or not. Once you are satisfied, you can make the above process simpler by automating some of the steps that we have performed. As a first step, add the following line to the /etc/fstab file:
/dev/sdb2 /mnt/ipod noauto,users 0 0
Replace sdb2 and the mount directory as appropriate for your case. Now a simple command will mount the iPod player:
Gtkpod can be configured to automatically do this step for us at its startup time(and unmount the device when it exits). Go to Edit->Edit Preferences (or press Ctrl-P) and enter the mount directory(/mnt/ipod) in the first text field. Then check the field“Handle mounting/unmounting of ipod drive” visible just below the text box. Click the OK button. Now you can just plug the device to the USB port and start the gtkpod application; it will automatically handle mounting and unmounting of the device. However, if ever you get an error message while quitting the application that it was not able to unmount the device properly, make sure that you manually unmount the device before unplugging it.
You can do a lot more with your iPod from GNU/Linux using the Gtkpod application; more details are available in its ReadMe file.
Libraries like libnjb make it possible to connect a lot of other popular MP3 players(many of the Creative MP3 Players) to the GNU/Linux machines. The latest MTP devices released by Creative are a tough nut to crack though, but the cousin project of libnjb, called libmtp, might just make it possible within a short period of time. One of the several frontends available for the Creative MP3 Players that are supported by libnjb library is Gnomad2.
Installing C#, Mono(.NET) & MonoDevelop in Ubuntu Dapper Drake 6.06
14Installing the complete Mono environment, including the runtime, the compiler and the development environment(MonoDevelop), is no more difficult in Ubuntu 6.06 than it was in Ubuntu 5.10.(The procedure for installing Mono for Kubuntu 6.06 is also similar, but GTK and related packages are needed to install the MonoDevelop IDE, which will be a big download if GNOME is not already installed.) After adding Multiverse and the Universe repositories to the Ubuntu source list, run the following commands in a shell(or use Synaptic/Adept Package Managers):
Except ‘mono’ all other packages are optional. mono-gmcs is C# 2.0 compiler(By default, mono-mcs C# 1.0 compiler is installed). MonoDevelop is a GUI development environment for Mono development(primarily). The above command will also install the Mono documentation manual(monodoc-manual). For a standalone Mono documentation browser, install monodoc-browser. If you prefer to read the documentation in a web browser, then install monodoc-http(which needs mono-xsp):
In the above command, monodoc package automatically installs monodoc-browser. Now you can view Mono documentation either in the stand-alone browser or in the web browser, by selecting the appropriate menu item from the GNOME/KDE menu:

Click the Monodoc(Documentation Browser) to browse through various help topics on Mono development:

You can install many other Mono based development manuals too, like Mono iPod manual, Mono njb manual(njb is a library used to talk to Creative MP3 Players etc), Mono NUnit manual etc.
Search for more documentation packages using ‘sudo apt-cache search mono | grep manual’ command or using Synaptic/Adept Package Manager.
The following related tools are also available in the repositories:
monodevelop-java: To develop Java applications in MonoDevelop. Needs Java to be installed.
monodevelop-nunit: NUnit support in MonoDevelop. Strongly recommended.
monodevelop-versioncontrol: Only subversion is supported(no CVS).
mono-xsp is a standalone webserver that can be used to run ASP.NET 1.0 & 1.1 applications. mono-xsp2 runs ASP.NET 2.0 applications.
If you would rather host the ASP.NET applications through Apache webserver, then you need mono-apache-server package. Note:
mono-apache-server + libapache-mod-mono –> Apache 1.3
mono-apache-server + libapache2-mod-mono –> Apache 2.0
Similarly, mono-apache-server2 is for ASP.NET 2.0.
This will automatically select the mono-apache-server2 package. Remember that this will also install Apache server and related packages if they are not already installed. The next post will be about creating a sample Mono program using the MonoDevelop development environment.
Installing Ubuntu & Kubuntu Dapper(6.06 LTS) For NVidia GeForce Cards
2After trying every one of the Ubuntu family of operating systems and failing to boot into any one of them, I had to believe that the graphics card might be the main culprit, as the monitor was frequently dying off as soon as X was getting started(among other ‘can’t load the driver’ and kernel errors). Here is what I had to do to get both Ubuntu and Kubuntu work with my NVidia GeForce 5200 graphics card.
First I tried to install Ubuntu 6.06 LTS from the ‘alternate’ CD which gave me strange kernel stack trace errors when I tried to boot into it after installation; tried to install Kubuntu 6.06 LTS from the Live CD but it couldn’t even get to the desktop(where I could have run the graphical installer) – even in the ‘Safe Graphics’ mode. Kubuntu installed successfully from the ‘alternate’ CD(text mode installation) but then it refused to boot into X just like its Live CD did. With my suspicions now firmly set on some problem with the configuration of the graphics card, I booted into the ‘recovery’ mode of Kubuntu(second option in the boot menu) and reconfigured the X server:
Leaving most of the settings with their default values and selecting ‘nv’ as the graphics card(instead of the default ‘vesa’) solved my problem. The X loaded without any problems when I rebooted into Kubuntu.
Encouraged by the results, I wanted to repeat the process with Ubuntu too, but it didn’t even give me the shell in the recovery mode to get me started. The last error message looked related to a USB device; so by disconnecting the two USB hard-disks and the USB TV tuner card, I was able to get to the shell, where all I had to do was run ‘dpkg-reconfigure xserver-xorg’ again, select ‘nv’ as the graphics card and the rest went as smoothly as with Kubuntu. After successfully booting into the GNOME desktop, I tried to connect the two USB hard disks to the computer, which were instantly detected by Ubuntu implying that the USB TV tuner card was the source of the problem earlier. I will recheck this and will post it in the Ubuntu forums/launchpad if the problem persists.
More than Ubuntu, I found the look of Kubuntu to be awesome. I never knew KDE can also look so beautiful and provide such a rich navigational experience. Look of KDE in SuSE 10.1 wasn’t bad either. I am tempted to switch from GNOME to KDE now because of the support for it from these two operating systems! Konqueror web browser is better than Firefox in many ways, my favourite applications amarok, K3B and Akregator are installed by default, and though Adept Package Manager is no Synaptic, I like the text editors in KDE, for the most part, better than gedit. I will try to compare KDE and GNOME after using them for some period as shipped by Kubuntu and Ubuntu distributions.
The next job for me now is to install Xubuntu desktop in either Ubuntu or Kubuntu OS, and possibly, Edubuntu also. Hoping for an easy ride this time :)
Recent Comments