DesktopLinux
Home  |  News  |  Articles  |  Forum  |  Polls  |  Blogs  |  Videos  |  ITLink

Keywords: Match:
Hacking OpenSUSE
by Jem Matzan (Dec. 2, 2005)

Foreword: There's more to SUSE Linux than simply installing it and going to work. To get the most from the operating system, you'll probably want to do some post-install fine tuning. This article by Jem Matzan explains how to: add download sources to YaST; install the Mozilla Thunderbird email client; add support for Java, Flash, Acrobat, Windows Media, MP3s, and RealMedia; play DVDs -- and more. It serves as a useful supplement to Steven J. Rosen's excellent how-to, "Installing SUSE Linux 10 on a Laptop," recently published here on DesktopLinux.com. Enjoy . . . !



Hacking OpenSUSE
By Jem Matzan

When you're done installing SUSE Linux 10.0, your desktop system is not complete. If you installed the OSS version, you still need support for Java programs, MP3 audio files, and browser plugins for Macromedia Flash, Adobe Acrobat, RealPlayer, and Windows Media Video. If you installed the commercial edition you might have all of those things, but still not have support for playing DVD videos on your computer. Here's how to effectively make SUSE Linux 10.0 into a desktop powerhouse.

OpenSUSE is comprised entirely of free, open source software. What you will be doing in this tutorial is installing proprietary add-ons that add functionality. All of the browser plugins are proprietary and will require you to agree to software licenses. The DVD playback capabilities are in violation of the US Digital Millennium Copyright Act (and similar laws in other countries), which many believe to be unconstitutional and a violation of consumer fair use rights. (Further information on DMCA reform is available here.) In other words, installing the DVD decoding software could be illegal where you live; therefore I'm not telling you to do it, but I'll tell you how it's done for educational and informational purposes.

Adding sources to YaST

First you'll need to add some software repositories to your YaST installation sources list. Go into the YaST utility by clicking on the green Gecko menu in the lower left corner of your screen. Select System, then click on Control Center (YaST). You'll be prompted for your root password. Go ahead and type it in, check the box next to Keep Password, and click OK.

You're now in YaST, and the Software category is already selected by default. Click on the Installation Source icon. This will bring up a window that will allow you to add software repositories so that you can download the add-on software. You'll notice that your CD or DVD installation media is already listed. Go ahead and disable it by clicking the Enable Or Disable button -- we're going to add an Internet address that will replace your discs. That way if you need to add software from the CDs or DVD, you can get the packages from the Internet instead of putting a disc into your computer. If you need to, you can just as easily enable the CD/DVD source later.

Click the Add button, then click on HTTP in the popup menu. Add the following Internet address to the Server Name field and then click on OK:
    packman.rsync.zmi.at/suse/10.0
If that repository link does not work, you can choose one of the mirrors from this list.

Now repeat this process and add the following servers to your installation sources using the FTP option instead of HTTP:
  • mirrors.kernel.org/opensuse/distribution/SL-10.0-OSS/inst-source-java
  • mirrors.kernel.org/opensuse/distribution/SL-10.0-OSS/inst-source
  • mirrors.kernel.org/suse/i386/10.0/SUSE-Linux10.0-GM-Extra
Now next to all of your new software sources, change the Refresh option to On. You can do this by selecting each source and clicking on the Refresh On Or Off button. The default is Off, so you'll have to change all of the entries.

Without adding the preceding sources and ordering them to refresh, it will not be possible to follow the next three steps. You can now close the Installation Source window.

Installing Thunderbird

OpenSUSE 10.0 doesn't come with Mozilla Thunderbird. If you're a Thunderbird fan, rather than download it separately, why not install it properly through YaST?

Go back to YaST, then select Package Management. In the Search box, type in MozillaThunderbird and click on Search. Click on the MozillaThunderbird checkbox in the right-hand pane, then click on Accept. When it's done, click on Finish to go back to YaST.

Java support

To add support for the Java language both for standalone applications and as a browser plugin for Web applets, go into YaST, then select Package Management. In the Search box, type in sun and click Search. A bunch of packages will show up in the right-hand pane. Click the checkbox next to the following packages
  • java-1_5_0-sun
  • java-1_5_0-sun-alsa
  • java-1_5_0-sun-jdbc
  • java-1_5_0-sun-plugin
There is no harm in selecting all of the java-1_5_0-sun packages (you'll notice that there are a few more that weren't selected), but they are not necessary for running Java programs. If you're a Java programmer, of course you'll want at least some of the other packages. When you're done selecting them, click on Accept. When it's done installing, click on Finish in the popup window to go back to YaST. Your computer will now be able to run Java programs and applets.

Flash, Acrobat, Windows Media, MP3, and RealMedia support

Go back into the YaST software manager. In the Search box, type in w32codec-all and click on Search. A single package should appear in the right-hand pane. Click the checkbox next to it.

Erase your previous search term in the Search box, type in acroread and click on Search. Click the checkbox next to the acroread package in the right-hand pane. You'll have to accept a software license agreement to continue.

Now search for flash and click Search. Select that package for installation by clicking its checkbox and agreeing to its license.

Search for realplayer and click Search. Click its checkbox. You only need the RealPlayer package itself -- the other search results are not necessary.

Search for mplayer and click Search. Click its checkbox. You don't need the other package that appears in the search results.

Search for kaffeine-mozilla and click Search. Click its checkbox.

When you've done all of this, click on Accept. Other packages will be dependent on some of these, so you'll have to click Continue in the Automatic Changes screen that comes up. After that, all of the packages you just selected will be installed and your Firefox Web browser will have all of the plugins it needs. You'll also have the ability to play MP3 music files. A popup window will appear when it's done -- just click on Finish and you'll be brought back to YaST.

DVD playback

(64-bit users, skip down to the next section). I couldn't find any SUSE installation sources for the DVD decoding program, so you'll have to download it on your own. Go to your Gecko menu, then select Internet, then Web Browser, then click on Web Browser (Konqueror). When Konqueror opens, copy and paste in this address:
    http://download.videolan.org/pub/libdvdcss/1.2.9/rpm/libdvdcss2-1.2.9-1.i386.rpm
Or just click here if you want a link. Konqueror will ask you what you want to do with the file. You could save it to your Desktop, then double-click it to install it, but an easier way is to select the Open With button. That will bring up a popup window. In that window, click on System, then Configuration, then Package Manager (KPackage). (If you do not have KPackage installed, go back to the YaST software manager and install the kdeadmin3 package, then restart this process.) The KPackage program will read the DVD decoding package from the Web. Click on the Install button at the bottom of the KPackage window, then click on Install in the next window too. You will be asked for your root password; type it in and press Enter. Shortly thereafter, the DVD decoding library will be installed. Click on the Done button, then close KPackage and Konqueror.

Next you'll have to modify the video player so that it will play DVDs. While it originally had this functionality built in, Novell has removed it to make life more difficult for people who want to watch DVDs on their computer.

Go into YaST and select Software Management. The familiar package selection screen will come up. In the Search box, type in xine and then click Search. About two dozen entries will appear in the right-hand pane. Right-click on all of the blue-colored packages (there should be at least two) and select Update from the drop-down menu. Click on Accept when you're done, and then click on Continue in the ensuing Automatic Changes screen. The updated software will now download and install properly. When it's finished, a popup window will ask you if you'd like to install more software. Click on Finish and you'll be brought back to YaST's software manager.

You now have the ability to play commercial DVD movies on your computer -- put one in and try it, if it's legal where you are. A popup message should appear when you put in a DVD movie. If it asks you if you want to play the movie with Kaffeine, click on Yes and you'll go straight to the video player. In some instances the disc may be recognized as a data disc, and SUSE will ask you if you want to open the DVD with K3b. In that case, click on Ignore, then go to the Gecko menu, select Multimedia, then Video Player, then click on Media Player (Kaffeine). When Kaffeine starts, click on the Open DVD icon.

For 64-bit users

Those using the 64-bit edition of SUSE 10 will need to compile deCSS from the source code. This is not as difficult as it sounds; just follow the directions below.

First, download the deCSS source RPM from here (RPM download address).

Save it to a location that is easy to get to, like your user's home directory or a "downloads" directory therein (the example assumes you saved it to /home/user/downloads/). Next, open a terminal by clicking on the gecko menu, then System, then Terminal, then Konsole. Use the cd command to change to the directory you saved the source RPM to. Then type in su and press Enter to switch to root permissions. Navigate to the directory where you saved the deCSS source RPM, then type in this command:
    rpmbuild --rebuild --target=x86_64 /home/user/downloads/libdvdcss-1.2.9-1.src.rpm
This will build a binary RPM from the source code you just downloaded. Now it's time to install it. Type this into your terminal:

You now have the ability to play DVD movies. Follow the directions in the previous section to install Xine and/or Mplayer.

Welcome to SUSE

And that's all you need to do to make SUSE a super-powered desktop operating environment. Aside from running Windows binaries, OpenSUSE 10.0 can do everything that Windows XP can and more.


Copyright (c) 2005 by Jem Matzan. All rights reserved. Reproduced by DesktopLinux.com with permission.


Talk back!


Do you have comments or questions on this article? Let us know what you think in the talkback thread for this article:

Join the discussion



About the author


Jem Matzan is the author of three books and the creator/editor of The Jem Report, a respected hardware and software review site. He has written for such sites as NewsForge.com, IT Manager's Journal, and Linux.com and resides in Orlando, Fla.


Related Stories


(Click here for further information)


Approaching the Linux Desktop
The purpose of this paper is to help organizations evaluate the Linux desktop against their own enterprise needs and discover what benefits the Linux desktop might bring to their organizations.

Migrating To Linux: Application Challenges and Solutions
Several solutions exist to help organizations migrate in an orderly fashion from Windows to Linux desktops. This paper establishes the characteristics of an ideal cross-platform solution and reviews these alternatives in light of this ideal standard. The paper takes a closer look at the pros and cons of various solutions and outlines the business benefits that can be achieved.

Linux Advantages: Publicly Available Information on Linux Software
This paper offers a brief summary of readily-available Linux information to help businesses sort out this widely misunderstood operating system.

Top 5 Strategies for Managing Linux
Despite continuous evolution in the manageability of Linux, a 2006 survey cited manageability concerns as a top reason why organizations are hesitating to adopt Linux. Levanta believes Linux can be as manageable, if not more so, than other operating systems by following key strategies. These strategic recommendations were developed from experiences in numerous customer environments, both large and small.

Why Choose Novell for Linux?
This paper outlines the benefits of switching to the Linux platform and choosing Novell as a high-performance, enterprise solution.

Enterprise Linux Selection Guide
Considering moving your enterprise to the Linux operating system? Since there are so many similar versions, choosing the right one can be tough. This paper offers a clear process to help you make an informed decision and get the features, support, and cost that are right for your business and technical needs.

Overcoming Challenges in Managing Linux
Levanta has created a new administration model with innovative technology that breaks down the barriers to making the most of Linux systems. This paper will provide an in-depth look at the workings of Levanta’s product, the first Linux appliance of its kind.

SUSE Linux Enterprise 10 for Retail Businesses
Discover why major retailers have switched to SUSE Linux Enterprise Desktop in the back office. SUSE Linux Enterprise Desktop 10 is a low-cost desktop that offers a complete set of productivity applications and interoperates seamlessly with the other Windows, Macintosh and UNIX desktops in your store.

Moving to a Linux Desktop
Migrating from Windows to Linux on the desktop can be a substantial undertaking because it has the potential for touching -- and perhaps disrupting -- every user in your organization. Unlike a data center (server and infrastructure) migration that is largely transparent to users, the cultural and administrative transitions and environment readiness required to support a Linux desktop migration are extensive.

Seven Good Reasons to Exchange Exchange
This paper describes seven compelling reasons why you should switch from Exchange to Scalix.

 



Got a HOT tip?   please tell us!

ADVERTISEMENT
(Advertise here)

Popular recent stories:
• Lightweight GNOME alternative emerges
• Linux gains action RPG
• World's cheapest Linux-based laptop?
• WiFi software arrives on Linux desktops
• BeOS-like distro focused on content creation
• Graphics board vendor touts faster Linux drivers
• Linux mini-PC takes two Watts to tango
• Hats off to Fedora 9
• Debian looks to launch lenny in Sept.

All-time Classics:
• Choosing a desktop Linux distro
• Banshee -- the next best thing to Linux iTunes
• The Best Free Desktop Linux . . . and how to make it better
• Running World of Warcraft on Ubuntu
• Linux-powered Asus Eee PC mini-laptop arrives
• A simple Linux backup method
• The well-tempered Debian desktop
• What's the best Linux for beginners?
• VirtualBox: The best virtualization program you've never heard of
• Getting to know Puppy Linux
• Xandros 4: The best desktop Linux for Windows users


Desktop Linux books

Join our Desktop Linux discussion forums:
•  Moving to Linux
•  Linux/Windows debate!
•  Linux Q&A
. . . and more


BREAKING NEWS

• Summit debuts for Linux end users
• "UbuntuLite" reviewed
• Linux in the SME
• Linux: not yet photo-friendly
• Linux to gain anti-virus software
• Linux gains backup utility
• Testing Lenny
• HP offers Linux on low-end mini-notes
• Dell shipping five Hardy Heron systems
• IBM pushes "Microsoft-free" desktops
• Unified communications groupware comes to Linux
• Lightweight GNOME alternative emerges
• Freespire lives! Goes back to Debian
• gOS 3.0 goes Gadget crazy
• WiFi software arrives on Linux desktops


Linux-Watch headlines:
• Linux -- not yet photo-friendly
• Microsoft buys additional Linux support
• SFLC publishes GPL compliance guide
• Linux switch vendor sued over GPL
• Judge Kimball rules -- the sequel!
• Microsoft tactics push India toward Linux
• Bell, SuperMicro sued over GPL
• "Business intelligence" software goes GPL
• Will Atom bomb?
• LF Summit videos posted


Visit the...


news feed

Home  |  News  |  Articles  |  Forum  |  Polls  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Linux is a registered trademark of Linus Torvalds. All other marks are the property of their respective owners.