Posts tagged: linux

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 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”

HOWTO Change/add keyboard layout in XFCE / Fedora

Edit /etc/X11/xorg.conf.d/00-system-setup-keyboard.conf

1
2
3
4
5
6
7
Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us,ru"
        Option      "XkbOptions"    "grp:ctrl_shift_toggle"
   EndSection

“XkbOptions” specifies a keyboard combination to switch keyboard layouts.
Other available options: alt_shift_toggle, shifts_toggle, ctrl_alt_toggle, lwin_toggle, rctrl_toggle etc.

From: http://www.linuxquestions.org/questions/slackware-14/xfce-how-to-change-the-keyboard-layout-322374/

WordPress Themes