From Windows to a Debian GNU/Linux desktop, sans the geekness
The Original - since June 2006 - Run Debian GNU/Linux and be Happy.
I cuss when angry. I told my kids that it makes me look weak - an amateur. We'll see how that goes.
 

this site  web    
The Goods
Home Page
Forum
debiantutorials.org Licensing
Website Disclaimer
Site Map
Links
w32codecs
How to really switch Mom to Linux
Documentation
Release Notes
Developers Reference
Debian Survival Guide
Debian Books
Manuals
Debian Security
Linux Dictionary
Leaving Windows
Resize Windows Partition for Dual-Booting
Back up your Partitions, Imaging
Still Suffering Windows
Keep your Money, your Sanity and your Self-Respect
Installing Debian Etch
Debian GNU/Linux (Etch) Installation Tutorial
My Etch Desktop in 150 words or Less
Upgrade Sarge to Etch
Configure Debian Etch
Multimedia on Debian Etch
Install nVIDIA 3d driver on Debian Etch
Wireless on Debian Etch: Broadcom - bcm43xx
Klikit, Klikit good
Handy Little Things
Package Management
Peripherals & Debian Etch
Set up your web cam on Debian Etch
Printing in Debian (Browsers, too)
Your ipod on Debian Etch
Atheros Wireless
Broadcom Wireless
Etch on the Desktop
Visitors apache log reader
Andrea del Sarto
(Poetry snippet for your Ignorant Ass)
Beagle on Debian Etch
Convert Digital Camera .mov Files
Some Debian Etch System Files
My Debian Desktop
Using wget
Copying or Ripping DVD's in Linux (Debian)
Reset root password
So, you want to run Linux
Convert mov files
Securing Debian
Password Protect Grub Boot Loader
Debian Etch as Server
Debian Linux file and print server: NFS, CUPS, LPR
Stream your music with gnump3d
Simple local web server on Etch
Web Server on Debian Etch
Miscellaneous Linux
Linux Conventions
Can People read my Documents?
Install Software on your Linux System (Debian)
Partition your Hard Drive
History of debiantutorials.org
A School Without Windows (PDF)
How to talk to Tech Support
Linux Demystified
Off Topic
A DRM Dissertation
An Artist's take on Downloading Music
An Insane and Damaging lack of Understanding
On Children and Drugs
On Visitor Q
Intellectualism for the Masses
debiantutorials.org stats
Smart Crows
How old are We?
Why we run Debian
How not to ask an egomaniac like myself for an article
Sarge Specific Tutorials
Installing Debian Sarge, net install, no DHCP
Easy Graphical Sarge Installation Tutorial
Rebuilding my Debian Sarge Machine
Multimedia for Sarge
w32codecs
nVIDIA on Sarge
Trouble Burning discs: cdrecord
Athcool on Debian Sarge
Where are my Newly Installed Apps?
Easy LAMP on Debian Sarge
Archive
Sites Worth a Look
Debian Mailing List
spidercider
Linux Comparison at PolishLinux.org
Thin Clients
Common Commands
Common iptables Filtering
iwouldntsteal.net
Big-Ass iptables info Page
iptables Port Reference
README: Firewall
General Security Tips
Newbie Security
Kickass RFC's
Data Breaches
Hemp Seed Oil
linux-hardcore.com
Search for a local Computer Tech
Evelyn's Linux Cheat Sheet
Lotsa (687) Linux Commands

Favorite Utilities

Super Grub Disc
System Rescue Disc
News Feeds
visitors run
operating system
Linux
Windows
Mac
Unknown
BSD
54.8 %
39.8 %
3.40 %
1.50 %
0.10 %

web browser
Firefox
Mozilla
IE
Opera
Epiphany
41.4 %
25.1 %
15.8 %
8.40 %
3.50 %
updated 17apr08
What's Root?
Root is the super-ultra-mega. All system commands on a Linux box need to be done as root. This means installing software and changing files not in your /home directory, etc. In your terminal, if you're logged in already become root by typing su at your $ prompt, then the root password. Log in the system directly as root from a terminal, but not the graphical login. # shows root.
dediantutorials.org is ad-free
debiantutorials.org has always been and will always remain ad-free I make no unrealistic demands that you "owe me for my time and bandwidth" in order to use my site. I detest all those scumbags out there that think that they are owed something for putting a web site up. I do debiantutorials.org because I love it. You owe me nothing.
If you can walk and chew gum at the same time, you can run Linux

    Thursday, May 15, 2008      Contact  Etch Info  what's new in Etch  Linux Demystified  Our Forum
Multimedia on your bad-ass Debian Etch Desktop PDF Print E-mail
Multimedia on your Etch Box
Written by machiner   
Monday, 12 February 2007
I dig the fact that it only takes a minute before/while/after installing my desktop for me to be groovin' on my favorite tunes or catching a funny video on-line. OK -- I don't watch that many videos, but sometimes the chillen and I will watch some movie previews on Apple trailers. We say things like " COOL!" and "Did you see that?!". "That was darn cool" is a favorite of my almost-six-year-old. How 'bout you? Got music?  [EDIT: no sound on etch.]

With this short multimedia tutorial we'll get you groovin' in no time, too. It's a snap, and as usual, everything is as easy as an

# apt-get install [cool-app]

I love using the command line. Of course, you can always use Synaptic after you've installed and have logged in to your desktop. Linux is known for "the choice is yours" and some of us appreciate that we are able to make these choices ourselves. I think you'll like having that sort of power on your own machine, too. Should be a given, I think, but some operating systems take this control out of your hands.

The first thing that I do when setting up my desktop's multimedia capabilities is to get my sound working. I do this when I'm installing Debian. In fact, I do this as root, from the command line right I've installed my hardware specific kernel image and rebooted! I set-up the video and codec stuff at this time, as well. When I log in (after the initial kernel install and reboot) I get alsa (Advanced Linux Sound Architecture) on and configured straight away:

# apt-get install alsa-base alsa-utils alsa-oss

When it's in, I simply run alsa's configuration script # alsaconf

This only takes a second and it is probably all that you will need to do, as well. However, we all have different hardware, so it would probably behoove you to check out alsa's hardware support page.

Hey now, being the knowledge-thirsty hell-hound that you are, you may want more sound information. Read up a little on some other aspects of sound on Linux:

ESD isn't really a "sound system" like Alsa, read their Abstract:

"Esound (also referred to as ESD) is a small sound daemon for both Linux and UNIX. ESD was created to provide a consistent and simple interface to the audio device, so applications do not need to have different driver support written per architecture. It was also designed to enhance capabilities of audio devices such as allowing more than one application to share an open device. ESD accomplishes these things while remaining transparent to the application, meaning that the application developer can simply provide ESD support and let it do the rest. On top of this, the API is designed to be very similar to the current audio device API, making it easy to port to ESD."

Example, you may like to hear sounds for desktop actions while you're listening to your favorite Megadeath track.

Oh, just so you're aware, there is a "muting-bug" present in Alsa. You may not have any sound after setting up Alsa. If you would like to fix this immediately from the command-line, (and if you're this person then you probably know what to do anyway) simply run:

$ amixer set Master 100% unmute

$ amixer set PCM 100% unmute

Of course, you can wait until you have your desktop set up, go up in your menu bar, right-click on the volume-control widget and uncheck mute. Like I say, it's a known bug, but you may not be affected. Pfft!

With Etch you don't have to do much. Installing Rhythmbox will add enough of the gstreamer back-end that you can hear sounds from multiple sources concurrently. I can remember that in Sarge this could get a little tedious. However, that's relative anyway!

For example, I like to listen to my favorite local Jazz station in XMMS. In Etch I have nothing to do to ensure that while I'm groovin' on Mingus I can also get sound if I open another source. Who wants some "jackass" video on YouTube corrupting the sweet stirrings of Mingus? Not I.

Following your sound set up, it's time for video. This is just as simple and if you've installed Gnome instead of gnome-core you'll have the back-end that you need. Totem-xine gets installed and xine is a terrific back-end. You may be perfectly happy with the gstreamer back-end coupled with xine. If you like using the Multimedia Properties widget and/or aren't too fond of embedded media, count me in there, then Totem will make you happy. Some folks complain that Totem chokes on certain codecs -- I haven't noticed this. There may be limitations but I haven't seen them.

If you want to go the gstreamer route, then you'll need to install the w32codecs. You can find them in the Marillat repository. I use this mirror in my /etc/apt/sources.list file:

deb http://mirror.home-dn.net/debian-multimedia/ etch main
deb-src http://mirror.home-dn.net/debian-multimedia/ etch main

Add the debian-multimedia key:

# aptitude install debian-multimedia-keyring

Check this page for a mirror closest to you. So, for the w32codecs we would do this:

# apt-get install w32codecs

Cake.

I happen to like Totem because I don't really like embedded media on web pages. I like to size what I'm watching and embedded media doesn't let me do that.

You don't mind embedded media? You like it? Well then, you can install Mplayer in addition to, or in place of, Totem. Mplayer will handle just about everything and there are some really cool things that you can do with Mplayer -- like record streams and rip/convert/re-size video. Now, take note of this: If, you're watching a wma file and you see an error about directshow, what can you do? You can install the w32codecs. Note that these codecs aren't essential for Mplayer. You will still see and hear your video just fine.

These days, for my video and plugin needs I simply install the following and I'm off -- wasting time:

# apt-get install mplayer mozplugger ffmpeg

That's it. I know, I hear you. "What about watching DVDs,?" Well, personally, I think watching movies on my computer(s), terrific monitors notwithstanding, seems kind of silly. Although sometimes it can be handy. I'm also pretty sick of buying movies from that cartel. Besides, our movie collection is big enough, thank you very much, and the space allocated for all of the back-up copies that I've made ( see: ripping DVDs ) is full. But that's me -- do what you feel.

To watch those DVD movies on your box, just install libdvdcss2. It is in the Marillat repository, as well.

# apt-get install libdvdcss2

That's it, you're done. All you need is a minute, like I wrote, and you only need to install a couple of things to get that sound working.

Cake: chocolate, and homemade from scratch, baby!

I also install flash because many sites are using it to display videos. The ads on web pages suck, but there are plenty of ways to block those. You can get it here. Close your browser after you've downloaded it, go to the directory where the downloaded file is, extract the files, move into the extracted directory and run:

$ ./flashplayer-installer

You'll be fine. I install flash after my desktop is finished and I'm logged in.

Some useful multimedia programs include:

  • streamtuner
  • xmms
  • camstream
  • VLC
  • quodlibet
  • sox (sound converter)
  • geekcast
  • gnump3d
  • hotkeys

Realplayer is also in the Etch repos if you need that.

For those of you with nVIDIA cards, I guess this fits in with multimedia, as well -- check out our nVIDIA tutorial. 'Cos games are multimedia, right? I dig Nexuiz. I will frag yer ass! LOL

KDE has its own collection of multimedia apps as well, but KDE gives me a headache.

That's it -- enjoy the show.

Any trouble -- post it here

--machiner 12 Feb 2007
Edited By: Rob Hodgins

Feel free to add your comments below -- I may have forgotten something, as I only got 3 hours of sleep last night and I'm beat. Let me know below and I'll fix-up this guide right-quick ↓:





Reddit!Del.icio.us!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!Free social bookmarking plugins and extensions for Joomla! websites!
Trackback(0)
Comments (14)Add Comment
Flash
written by 'Guest', February 13, 2007
You really need to change the flash section. Its in the repositories.

http://packages.debian.org/testing/web/flashplugin-nonfree

from the contrib repository will setup flash for you, if you download flash files then VLC can play them and I think there may be a flash player in the Marillat repos
KDE and additional plugins
written by 'Guest', February 13, 2007
mozilla-mplayer - MPlayer-Plugin for Mozilla,realplay and kplayer along with acroread pretty much complete the multimedia thing along with all the above. KDE is my thing so I don\'t use totem instead I use mplayer.

Amarok, and Kaffeine round out the other necessary multimedia apps for me as well. Especially now that Amarok plays Shoutcast.

Flash 9 is now in non-free so a simple apt-get install flashplugin-nonfree will install the latest Adobe flash.

Java is a necessary multimedia browser plugin in todays internet as well. apt-get install sun-java6-jre sun-java6-plugin sun-java5-bin
using again the non-free will install the latest Sun Java6.

Flash
written by 'Guest', February 13, 2007
apt-get install flashplugin-nonfree
Flash
written by 'Guest', February 19, 2007
* add non-free to source.list
# apt-get install flashplugin-nonfree flashplayer-mozilla
Flash
written by 'Guest', February 19, 2007
Activate Debian Etch contrib repository, then you can install Flash 9 using apt-get:

# apt-get install flashplugin-nonfree
...
written by 'Guest', February 19, 2007
Sheesh!!! Thank you for the eligntenment!! You guys ROCK!!

--machiner
need alittle help with libdvdcss
written by 'Guest', February 26, 2007
wow, thanks for making it so easy.

one Q - I\'m using Ubuntu and trying to set up DVD and all went well till I ran:

apt-get install libdvdcss2

I have the file I downloaded on the desktop and it\'s labelled

libdvdcss_1.2.5.orig.tar.gz

all I can do is extract it to a folder. When I run:

apt-get install libdvdcss2

it tells me:

Reading package lists... Done
Building dependency tree... Done
Package libdvdcss2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libdvdcss2 has no installation candidate
gary@HAL:~$
gary@HAL:~$


also, two other items, HP PSC 1210 set up and WInGo TV card

I don\'t wanna go back to the other OS\'s so please help me thru this?

THANKS!

Gary
hey Gary
written by 'Guest', February 26, 2007
contact me through the admin - machiner contact page.
Post something in the forum, http://www.debiantutorials.org/talkitup/index.php

We get more visitors to that new forum all the time.

--machiner
...
written by machiner, March 12, 2007
I'm glad that my tutorial was helpful to you but this site is specific to Debian. Telling users to add Ubuntu's repositories does no good for my visitors.

Most things that I write about on debiantutorials.org will work on an Ubuntu system, but it is not certain to be the other way around. Debian is not Ubuntu.

Thanks for visiting.
libdvdcss2 in ubuntu
written by 'Guest', March 12, 2007
this is a great guide - thanks

gary - you need to enable the multiverse and universe repos

[edited]

seshomaru samma

Laptops... Mute External Amplifier to Ge
written by 'Guest', March 13, 2007
May my pain save you from this simple mistake.

Symptom: No sound on laptop. Modules are loaded. Alsaconf tells you to \"Have Fun\" but there is no fun, cause there is no sound.

Solution: start some sound application (from the command line try \"speaker-test\") if at this point you hear nothing. Try this
open a second terminal and run \"alsamixer\" and navigate right until you find the external amplifier controller. The press \"m\" (mute) wait a second and see if you hear some white noise.
If you do, this problem is solved!

If not, try messing with the other levels, good luck!!
Thank you
written by 'Guest', June 21, 2007
All of you that add helpful tips in your comments, and not just on this page, but this whole site....

You guys ROCK. Thank you!

--machiner
GreySpace
written by 'Guest', June 28, 2007
I am glad I found your,
\"Klikit, Klikit good\" topic
for DVD information and more.

I was kinda hoping that you would mention if you have found anything what would \"Backup\" High Def Sony DVD\'s?

Great site, keep it up!

GreySpace
.mov stuff and more.
written by 'Guest', July 05, 2007
Well, Debian since Etch has \'apple trailers\' playback (mov files) - including web browser, and much more formats support out of the box (about:plugins in the URL address to list them) using FLOSS! No need to clutter your desktop with non-free software for that.

Btw, wasn\'t your sound device detected automatically? Missed that point also. Feel free to mail me at This e-mail address is being protected from spam bots, you need JavaScript enabled to view it I also read the debian desktop mailing list (http://lists.debian.org/debian-desktop). Thanks in advance for any feedback.

[EDIT]People will still want ffmpeg installed

Write comment

security code
Write the displayed characters


busy
 
Creative Commons License © debiantutorials.org Thanks for dropping by. I hope you have found this site to be helpful.   Search for a local Computer Tech  debiantutorials.org