Category: HOWTO

HOWTO Make Audacity import MP3 files in Fedora

By default, in recent Fedora versions, when you attempt to import an MP3 file in Audacity, it returns this error:

“This version of Audacity was not compiled with MP3 files support.”

To resolve this issue first remove "audacity" package:

$ sudo yum remove audacity

Next – add RPMFusion repository:

$ sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
$ sudo rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

And the last step – install "audacity-freeworld" package:

$ sudo yum install audacity-freeworld

Done and done!

HOWTO Watch webcam video in your ASCII terminal

Just use this magic string:

$ mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:fps=30:outfmt=yuy2 -vo caca

This will render webcam video in color ASCII. For black and white version use -vo aa option.

Of course, mplayer package should be installed.

$ yum install mplayer

HOWTO Add favicon to your web site

To add a favicon to your site or blog do the following (tried on Linux):

  • Create an image in GIMP 16×16 or 32×32 in size, number of colors – below 16
  • Save it as favicon.ppm
  • Convert it to ico using this command:
  • 1
    ppmtowinicon -output favicon.ico favicon.ppm
  • If previos step doesn’t work – install netpbm and netpbm-tools packages:
  • 1
    $ sudo yum install netpbm netpbm-tools
  • Copy favicon.ico to your website document root directory
  • Add the following lines to your index.html or header file:
  • 1
    2
    <link href=’http://www.URL.com/favicon.ico’ rel=’shortcut icon’/>
    <link href=’http://www.URL.com/favicon.ico’ rel=’icon’/>

HOWTO Fedora 16 won’t shutdown

Seems like you need to install ACPI service:

1
2
3
yum -y install acpid
systemctl enable acpid.service
systemctl start acpid.service

HOWTO Disable tap-to-click in Ubuntu

Open Terminal window and type:

sudo gpointing-device-settings

Then on General tab click “Disable tapping and scrolling”

WordPress Themes