Archive for March, 2010

Ubuntu server: install Alsa sound and MOC (Music On Console)

1. To install Alsa sound (alsa-base, alsa-utils, alsa-tools and libasound2) enter this command: sudo apt-get install alsa alsa-tools 2. Add yourself to the group audio: sudo adduser yourusername audio 3. Reboot to take effect sudo init 6 4. Alsamixer is sometimes muted by default, so you might need to unmute it. Run alsamixer: alsamixer Use […]

More »

WordPress: modify the upload list of allowed file types

When you attempt to upload a file in WordPress that is not in the default list of acceptable file types, you will receive the following error: File type does not meet security guidelines. Try another. While there’s no admin-based tool for editing list of allowed file types, it’s not at all difficult to add your […]

More »

Ubuntu 9.10: compiling FFmpeg with x264

FFmpeg is a versatile tool to encode and convert a multitude of video and audio formats. x264 encodes high-quality video superior to other popular encoders. Ubuntu 9.10 (Karmic Koala) ships with a version of ffmpeg without libfaac and x264 support because of licensing issues. This means you will need to compile ffmpeg yourself. This guide […]

More »

Download YouTube videos with youtube-dl

youtube-dl is a small command-line program to download videos from YouTube.com. It requires the Python interpreter, version 2.x (x being at least 4), and it's not platform specific. It should work in your Unix box, in Windows or in Mac OS X. Install & using 1. install youtube-dl sudo apt-get update && sudo apt-get install […]

More »

Put Minimize, Maximize, Close buttons to the left in Ubuntu window

Default are Minimize/Maximize/Close buttons in the title bar on the right. This short tutorial shows you, how to put these icons to the left, like in Mac OS X. 1. Press ALT + F2, type in gconf-editor and press Enter key 2. Navigate to apps > metacity > general. On the right find option called […]

More »