Audio Preview in Nautilus

Sponsored Link
Using this trick, music can be played if the cursor is brought over a music file in Nautilus File Manager.

You need to install mpg321 vorbis-tools for this

mpg321

A Free command-line mp3 player, compatible with mpg123mpg321 is a clone of the popular mpg123 command-line mp3 player. It should function as a drop-in replacement for mpg123 in many cases. While some of the functionality of mpg123 is not yet implemented, mpg321 should function properly in most cases for most people, such as for frontends such as gqmpeg.

mpg321 is based on the mad MPEG audio decoding library. It therefore is highly accurate, and also uses only fixed-point calculation, making it more efficient on machines without a floating-point unit.

While mpg321 is not as fast as the non-free mpg123 on systems which have a floating point unit, it comes under a fully Free license, which allows greater freedom to its users. For most people who want mpg123, mpg321 is a better alternative.
vorbis-tools

Several Ogg Vorbis Toolsvorbis-tools contains oggenc (an encoder), ogg123 (a playback tool), ogginfo (displays ogg information), vcut (ogg file splitter), and vorbiscomment (ogg comment editor)

Issue the following command to Install

sudo aptitude install mpg321 vorbis-tools

In KDE, this feature is inbuilt, and can be enabled in Settings. It can be turned off in Nautilus preferences under Preview.

Sponsored Link

You may also like...

3 Responses

  1. egan says:

    Why this feature (Audio Preview in Nautilus) work only in icon mode and not in list mode ?

  2. amr says:

    hello
    i tried this in feisty and worked but not working in gusty please help me !!!!

  3. NickNackGus says:

    I’m just trying to write a script that plays an ogg file through bash without a gui. the script locks and unlocks my computer while playing a random file from a folder, but it is distracting to have a media player open upon unlocking, especially since I have to edit the script so the window remains open longer than the max file length, instead of the current file length.

Leave a Reply

Your email address will not be published. Required fields are marked *