Showing posts with label debian. Show all posts
Showing posts with label debian. Show all posts

Monday, 7 February 2011

Debian Is No Longer Just A Linux Distribution

Debian stable version 6.0 code named "Squeeze" has been released. After 24 months of arduous testing, the Debian team has finally released v 6.0 which brings many firsts among its features. They are -
Read more »

Tuesday, 16 June 2009

mplayer: Error opening/initializing the selected video_out (-vo) device

That was indeed the error message that mplayer was presenting me:
Error opening/initializing the selected video_out (-vo) device
Now, I had not chose one. I even deleted my ~/.mplayer folder but nothing, it got stucked there. It's strange, because mplayer should have chosen automatically a video_out device on startup and I swear I never had this problem before on my Debian/testing.

In fact, I had just reinstalled a Debian/testing distribution on Sun xVM VirtualBox on a Solaris Express Community Edition host, because I'm using it as a platform for video transcoding. I'd like to do that on Solaris but I haven't found the time to recompile at least ffmpeg, if not mplayer and all of its dependencies. Blastwave's ffmpeg, indeed, is way too old and I found some bugs that prevented it doing its job. Until then, and thanks to VirtualBox, I'll use Debian/testing instead.

Now, the solution's pretty easy but I'd like to rely on autoprobing... Anyway:
enrico@debian:~$ gmplayer -vo help
MPlayer dev-SVN-r29241Available video output drivers:
xmga Matrox G200/G4x0/G550 overlay in X11 window (using /dev/mga_vid)
mga Matrox G200/G4x0/G550 overlay (/dev/mga_vid)
tdfxfb 3Dfx Banshee/Voodoo3/Voodoo5
s3fb S3 Virge over fbdev
xv X11/Xv
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
gl X11 (OpenGL)
gl2 X11 (OpenGL) - multiple textures version
dga DGA ( Direct Graphic Access V2.0 )
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
ggi General Graphics Interface (GGI) output
fbdev Framebuffer Device
fbdev2 Framebuffer Device
svga SVGAlib
aa AAlib
caca libcaca
dxr3 DXR3/H+ video out
v4l2 V4L2 MPEG Video Decoder Output
directfb Direct Framebuffer Device
dfbmga DirectFB / Matrox G200/G400/G450/G550
xvidix X11 (VIDIX)
cvidix console VIDIX
null Null video output
xvmc XVideo Motion Compensation
mpegpes MPEG-PES to DVB card
yuv4mpeg yuv4mpeg output for mjpegtools
png PNG file
jpeg JPEG file
gif89a animated GIF output
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame
If you're using gmplayer or another mplayer front-end you can probably access some video preferences menu, such as the following, and set your preference there. It will be remembered the next time you launch mplayer.
In my case I'm using VirtualBox 3D Acceleration so I chose gl:
mplayer -vo gl [my-movie]
By the way: KDE 4.2 just got its way into Debian/testing, but I'll tell you another day. Amazing experience! I wish I could use it on Solaris as well.

Sunday, 15 February 2009

Debian GNU/Linux 5.0 Lenny Released

A new release of Debian GNU/Linux namely version 5.0 aka Lenny has happened. The previous release version 4.0 code named Debian Etch was made 22 months ago that is 2 months short of 2 years. Debian is infamous for its long release dates. For example, a transition from Woody to Sarge took a whooping 35 months to happen. Though Sarge to Etch happened in a mere 22 months. But compared to some of Microsoft Windows releases, this time duration can be considered to be fair play. Having said that, Debian is widely respected for rolling out a robust and secure GNU/Linux distribution that supports a broad machine architecture. And the latest official stable release "Lenny" is no different.

Debian Lenny doesn't come bundled with the latest versions of software. For instance, you will not find OpenOffice.org ver 3.0 in it's repositories. And KDE is still at ver 3.5.10, and GNOME at 2.22. But you can rest assured that what you have is a rock solid Linux distribution which will never roll over and die on you.

For the very first time, Debian has rolled out a Live system which you can try without installing it on your computer's hard disk. It is made available as a Live CD, on USB Sticks, or via netboot.

Debian GNU/Linux version 5.0 (Lenny) can be downloaded at Debian.org.

TuxRadar has published an indepth review of Debian Lenny dwelling on its pros and cons. The site also carries an interview with Steve McIntyre, the Debian Project Leader providing us more insight behind the new Debian release.

Thursday, 15 January 2009

Google portable device runs Debian Linux

The portable device I am talking about is the T-Mobile G1 Android cellphone. Android is a software stack for mobile devices that includes an Operating System, Middleware and key applications. Presumably, the T-Mobile G1 contains an ARM EABI architecture which is supported by Debian.

So a group of people (hackers) set out to install Debian on their T-Mobile G1 Android phone. The end result, at the least, is quite interesting. They have succeeded in running a full fledged Debian OS on their G1 Android cellphone at the same time, retain all the features which allow it to function as a cellphone such as receiving and making calls.

Read a detailed writeup on the steps needed to install Debian on a TMobile G1 Phone at the following website. AndroidFanatic.com has released a Debian installer script for your Android cellphone which you can download here.

Also watch the following video which shows Debian running on the Android G1 cellphone.

Tuesday, 9 September 2008

Debian successor to Lenny - a three-eyed space alien

Debian team is infamous for sticking to hard to remember names for each of its releases. Thankfully, they have stuck to one theme while naming the distribution releases - that of the "Toy Story" movie. Each release is named after a character in the Toy Story movie.

So you have Sid, Lenny, Etch, Sarge, Woody, Potato and so on. The following is the explanation given by the Debian team regarding these names. So now with the impending official release of Lenny as a stable version, it is now the turn of the next build of Debian in Sid to be promoted to Testing and it has been named Squeeze (after the three-eyed monster in Toy Story).

Read the official Debian announcement to know more.

Tuesday, 17 July 2007

Ubuntu plus Dell equals better support for devices in Linux

One of the best things that has happened to Linux enthusisasts the world over is the confluence of two big players one in the Linux arena (Ubuntu aka Canonical) and the other in the PC hardware space (Dell). And the end users have already started reaping the benefits.

The benefits include device driver support for hardware components which were otherwise not compatible with Linux. A couple of years back, I had to struggle getting my internal modem based on a conexant chip to work with Linux. These internal modems are infamously known as winmodems because they delegate some of its job to the parent operating system and work flawlessly only in Windows.

Because they were not full modems, most of them are incompatible with Linux and are as good as paper weight. I have documented how I got my internal modem to work with Linux with some difficulty.

Now the good news is that Dell has released device drivers for the conexant internal modems for their E1505n and 1420n machines which is available here for download.

The driver is provided as a deb package and so will be compatible with other Debian based Linux distributions.

Sunday, 13 May 2007

Using netselect-apt - Tip to select the fastest Debian mirror

Each time I install Debian - and I have done it scores of times on multiple machines, I get frustrated in choosing the right Debian mirror for updating the package database on my machine using 'apt-get update', or installing a new package for that matter.

Some of the questions that I had to find a solution for were ... Do I choose the Debian mirror in my country (India) or do I use one of the US servers ? Is there any way to find which of the two are the fastest for my geographic location ?

It might sound ironical, but experience tells me that the truism of choosing a Debian apt mirror closest to ones location does not hold true for me. Because at all times, when I have used a mirror from India, it is dead slow. And believe it or not, the responsiveness of the mirror will do a great deal of difference to how fast you are able to update your Debian machine.

Enter netselect-apt, a package which helps one to find and use the fastest Debian mirror for his region. What this script does in conjunction with 'netselect' command is, it first downloads a list of all the Debian apt mirrors from the official Debian website using wget. The list is saved in a file named 'mirrors_full' in your current directory. It then checks the responsiveness of each of the servers in the list and then selects the fastest among them. Finally it writes the necessary code in the sources.list file and saves it in your current directory. Considering that on last count there are a total of 248 Debian mirrors to choose from, that is a pretty tedious job.

In order to use netselect-apt, the first thing you have to do in your newly installed Debian machine is download and install the netselect-apt package. This can be done as follows :
# apt-get install netselect-apt
The netselect-apt package depends on the netselect package and so it will also be automatically installed.

You can pass a couple of options while invoking the netselect-apt command. For instance, I have Debian Etch installed on my machine. And if I want to find the fastest Debian Etch repository mirror for my geographic region, I run the netselect-apt command as follows :
# netselect-apt etch
If I want it to include non-free software section as well while creating the sources.list file, then I use the -n option :
# netselect-apt -n etch
You can also ask netselect-apt to select only ftp servers instead of http ones by passing the -f option.
# netselect-apt -n -f etch
Apart from etch, you can pass the following options - stable, testing, unstable, experimental, woody, sarge and sid. If you choose not to pass any options, then by default netselect-apt uses 'stable' as the option.

Once it finishes its work, you will find a newly created sources.list file in your current directory which will have the necessary code pointing to the fastest Debian server for your location. Now all you have to do is to copy the sources.list file to /etc/apt/ directory and do an apt-get update.
# cp ./sources.list /etc/apt/sources.list
# apt-get update
Please note that the speed of the servers change over a period of time and is dependent on a variety of external factors. So the server that netselect-apt chooses today need not be the fastest one for you say, a couple of weeks hence. So if you are in the habit of installing and updating software all the time, it will be prudent to run netselect-apt once every week or so and update your sources.list file to point to the fastest mirror.

Thursday, 12 April 2007

Install multimedia codecs in Debian Linux

Media player codecs
This guide will explain how to install in Debian all the media player codecs - which include multimedia codecs & libdvdcss which is necessary to play DVDs in Linux.

Because of licensing restrictions, Debian Linux does not ship with the multimedia  codecs necessary to play a variety of audio and video files. Instead, the users themselves have to download all the media player codecs and install it on their Debian Linux machine. Fortunately, Debian uses a fabulous package management system called apt-get which makes the end user's task in installing the codecs all the more easy.
Read more »

Sunday, 8 April 2007

Debian GNU/Linux 4.0 released

After waiting for so long (close to 2 years), Debian GNU/Linux 4.0 code named Debian Etch has been taken out of development cycle and is given the stable tag. A couple of months back, I had tried out Debian Etch while it was still in the testing stage and my impression of it was very good - what, with most up to date versions of popular and most used software packages and a pretty graphical installer to boot.

Some of the new features in Debian 4.0 are as follows :
  • A fully integrated installation process with out of the box support for encrypted partitions.
  • Graphical installer for those with enough memory for their PC
  • Use of secure apt to enhance security while installing software (Read more on apt-get usage).
  • Debian GNU/Linux 4.0 now runs on even AMD64 and Intel EM64T (amd64) apart from 9 other architectures.
  • Now can be installed from various installation media such as DVDs, CDs, USB sticks and floppies, or from the network.
  • Support for multi-architecture installation disks.

Those who are using an earlier version of Debian need just do an
# apt-get update
and an
# apt-get dist-upgrade
... to move their Debian distribution to the latest version.

Another important news especially for people administering Debian servers is that the Debian team has also updated the official Debian 3.1 version to include some much needed security fixes. The official Debian website has the full press release regarding Debian 4.0.

Sunday, 28 January 2007

Install Debian from within Windows

That is right, Debian has got itself a new Win32 installer. This new software is targeted at people who are not too tech savvy to know the steps needed to burn the Debian ISOs on to a CD/DVD. The first time I read the news, I wondered how it was any different from installing Linux on a UMSDOS filesystem ? It is very different it seems...

The setup consists of a Debian installer loader which merely downloads a Debian netboot installer - you can choose between a GUI install and a text based install. And in the next reboot of the computer, Grub loads and prompts you to either boot into Windows or initiate the Debian installation. This is made possible by utilizing the services of Grub4DOS which is a GRand Unified Bootloader which uses the grub console GDLR which can be loaded from within the Windows boot manager.

Once the Debian installer starts, the rest of the steps are the same as those you would carry out in a normal installation of Debian. So you have the option of repartitioning your hard disk from within the installer and dual boot between Debian and Windows or entirely wiping out your Windows OS to make way for Debian.

The Debian installer loader can be downloaded from the goodbye-microsoft.com website. A couple of screenshots of the installer have also been made available here.