SpringOne 2GX 2011

Chicago, October 25-28, 2011

A new Linux desktop

Posted by: Thomas Risberg on 2006-08-13 22:29:00.0

I'm taking some time off this week and there is nothing like starting out by wasting a few hours on your computer system. I was kind of bored with my current Linux setup (SUSE 10) and wanted to switch from KDE to GNOME anyway. So instead of going to SUSE 10.1 I decided to try something new. I have to mention that this Linux system is not my primary work machine. I have been using a Mac PowerBook as my main computer for the last year and a half, and i have been getting spoiled with things that just work. I don't think I would be willing to give up the seamless wireless connectivity, the easy multi display setup (including projectors) and the near perfect performance of sleep/resume that the PowerBook has been providing. So, for a laptop I'll continue to use a Mac. The system I am reconfiguring this time is my desktop that I primarily use for Java development and to run an Oracle XE database.

The distros that drew my attention were the latest Ubuntu and SUSE Enterprise offerings. I've tried both brands before and decided to compare the ease of use and the out of the box experience this time around. I'm getting older and more lazy, and am not willing to spend hours configuring my Linux systems anymore. They either work out of the box or they don't. I will spend 15-20 minutes searching the web for some answers, but after that I tend to give up and try a different distro. I'm also not unwilling to pay a modest fee for the latest SUSE enterprise system. To pay $50 for a year seems well worth it if it provides a superior ease of use and less time fiddling with configuration files.

Installation was easy enough for both versions and afterwards I installed the "commercial" Nvidia drivers for both systems without any trouble - so far so good. Next I will try a few common tasks and compare the ease of use for both systems. I'm not trying to figure out if something is possible to get working, I'm more looking for if it is easy enough for me to configure or use the feature within 15-20 minutes.

Appearance wise there is not much difference - one is blue and the other a brownish orange. Both use a current GNOME desktop and they include the usual suspects like Open Office 2.0 and Firefox 1.5. SUSE's main menu system is a bit different with the main menu including Search, System, Status and Application launch areas, but it seemed pretty easy to use. Ubuntu's menus are traditionally clean without a lot of applications (that I would never use anyway) cluttering up things. I really like that approach. If I need something oddball I'll use the command line or add it manually.

Here are the things I tried and my notes.


Ubuntu 6.06 LTS Desktop

SUSE Linux Enterprise Desktop 10 (SLED)

Connect a USB stick and copy files and then unmount

YES - no problems here.

YES - unlike some previous SUSE versions I did not have any problems this time. Have had some issues unmounting without being root before.

Browse a site using Macromedia Flash (only provided in 32-bit)

MAYBE - you have to click on the link that searches for the plug-in, download it and install it manually. Now, on a 64-bit system you can't install the 32-bit flash player. Saw some posts that you could replace Firefox with the 32-bit version and use the 32-bit plugin. I didn't try that.

YES - the Flash player plug-in is pre-installed by default. This was also true for the 64-bit system. Not sure how they accomplished this since I have not been able to locate a 64-bit flash plugin. But it works.

Connect and play mp3's from my iPod

OK - Rhythmbox refused to play any mp3 files. Installed all gstereamer-plugins that I could find but still got an error message that the MIME type of the file could not be identified. Also there is a confusing array of software involved -- Music Player, Rhythmbox, gstreamer, serpentine and Sound Juicer.

After experiencing the ease of use of Banshee on the SLED system I installed it on the Ubuntu system as well and did manage to get it to work. Now, of course, I can also play the mp3 files with Music Player - go figure.

Have to mention that the Ubuntu desktop icon actually looks like an iPod while the SLED icon looks like a generic mp3 player. I like the iPod icon better.

YES - easy. Banshee detected the mp3 files automatically and played them

Also, I can play the Apple non-DRM AAC music files in SLED, but couldn't figure out how to add that to Ubuntu. I believe its part of a "non-free" Helix package that is included with SLED. Not a big deal, I can live with using mp3 files. I would actually prefer to use ogg, but that is not directly supported by iTunes or by the iPod itself.

Hook up a digital camera and import photos

OK - works with JPG but not CRW files. Camera detected and able to import picture but the gThumb application that pops up to do the import is not able to handle Canon's RAW format it seems. You can install F-Spot to get the same functionality as SLED though.

YES - works with both JPG and CRW files. The F-Spot application that automatically pops up looks fairly nice too - similar to iPhoto.

Connect to my HP Deskjet 6840 and print a picture

YES - selected Network Printer - HP JetDirect and provided the IP address - test page and photos printed without trouble

YES - same experience as for Ubuntu.

Install the latest Java 6 Beta 2 release

YES - download the non-RPM binary install and copy the directory to /usr/java. Add paths to .bashrc and it works fine.

YES - download the corresponding RPM, install it and add the paths to the bash profile.

Install Oracle 10g XE (only provided in 32-bit)

MAYBE - on a 32-bit system it's a very easy install - followed the directions from Oracle OTN.

On a 64-bit system I was not able to install the software since it is only provided in a 32-bit version. The dpkg utility refused to install saying that the package architecture (i386) didn't match the system (amd64) . Added the -force-architecture option and got the software installed. The database configuration step doesn't create the database though. This is most likely due to the fact that I couldn't find a 32-bit libaio package to install using Synaptic. Did not try to work around this any further since it was getting late. It should be possible though - see Valery's Mlog for more details.

YES - the rpm installer complained about libaio not being installed. Once that was taken care of the install went smoothly. (Note: on a 64-bit system make sure to install libaio-32bit since libaio by itself will satisfy the rpm check but it won't work with the Oracle 32-bit executables)

So if we look at the scorecard, SUSE Linux Enterprise Desktop has the ease-of-use edge over Ubuntu 6.06 LTS Desktop. Ubuntu would have worked well on a 32-bit system, once I figured out how to overcome the shortcomings with the media integration. On a 64-bit system though, I wouldn't be able to do everything I wanted to. So, for my 64-bit desktop machine it looks like SLED will save me considerable time, since everything worked out of the box. I do like the support provided on the Ubuntu forums and haven't found the same kind of community for SLED. But maybe I won't need it if everything just works.

Overall I'm impressed with both of these distros, but I have to choose one and this time SLED won out due to the fact that everything just worked. Let's see how long it lasts. I think I'll still keep a copy of Ubuntu running on an older 32-bit machine I have sitting around.




About Thomas Risberg

Thomas Risberg

Thomas has been a developer on the Spring Framework project since early 2003, contributing to enhancements of the JDBC framework portion.

Thomas currently works as a consultant for SpringSource specializing in Java EE and database projects. He has been involved with developing database applications, both as a DBA and as an application developer for over 20 years, using a wide variety of languages and databases.

Thomas is co-author of "Professional Java Development with the Spring Framework" together with Rod Johnson, Juergen Hoeller, Alef Arendsen, and Colin Sampaleanu, published by Wrox in 2005.

More About Thomas »

NFJS, the Magazine

2011-10-01 00:00:00.0 Issue Now Available
  • Plugging into Gradle Plugins

    by Tim Berglund
  • Enterprise Integration Agility

    by Jeremy Deane
  • Relax with Couch DB

    by Johnny Wey
  • Sass...CSS Evolved

    by Mark Volkmann
Learn More »