How to configure you Google App account in Empathy (chat)
Recently I try to added mi Google App account to Empathy (chat client for linux), but wasn’t works at the first try, so I tried different settings and the trick is just “Ignore SSL certificate errors”
Now my setup is:
- Login ID: [my full e-mail address]
- Advanced
- Encryption required (TLS/SSL): checked
- Ignore SSL certificate errors: checked
- Override server settings
- Server: talk.google.com
- Port: 5222
RMagick install on Ubuntu 10.10
This works on Maverick (10.10):
$ sudo apt-get install imagemagick graphicsmagick
$ sudo apt-get install libmagickcore-dev libmagickwand-dev
$ gem install rmagick
How to install MongoDB in Ubuntu 10.10
10gen publishes apt-gettable packages for MongoDB, those packages are generally fresher than those in Ubuntu.
So, to install MongoDB from 10gen packages do this:
-
Add MongoDB repository into Ubuntu
Add the following line to
/etc/apt/source.listfile:deb http://downloads.mongodb.org/distros/ubuntu 10.10 10gen -
Create PGP key and Install MongoDB
We need to generate key to gain access into MongoDB repository. Use this:
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
Then update your repository:
$ sudo apt-get update
And install MongoDB:
$ sudo apt-get install mongodb-stable
Disable start of a service on boot in Ubuntu
For instance, I don’t want that MongoDB automatically starts on boot:
$ sudo update-rc.d -f mongodb remove Removing any system startup links for /etc/init.d/mongodb ... /etc/rc0.d/K20mongodb /etc/rc1.d/K20mongodb /etc/rc2.d/K20mongodb /etc/rc3.d/K20mongodb /etc/rc4.d/K20mongodb /etc/rc5.d/K20mongodb /etc/rc6.d/K20mongodb
How to convert RMVB to AVI in linux
I have a WD TV Live which I use to play videos, unfortunately it don’t support RMVB (RealMedia Variable Bitrate) files, so I convert them to AVI format
In my ubuntu box I convert RMVB to AVI using mencoder, which is a powerful tool to convert multimedia.
Instructions:
1. Open a terminal window
2. Download and install Mplayer and the w32codecs:
sudo apt-get install mplayer w32codecs
3. Switch to the directory where your .rmvb file is held (i.e /Media)
cd /Media
4. Execute the following command (change sample.rmvb and sample.avi for your real files):
mencoder sample.rmvb -oac mp3lame -lameopts preset=128 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200 -ofps 25 -of avi -o sample.avi
Options explanation:
-oac: output audio codec
mp3lame: library used for audio encoding
-lameopts: options used along with lame
preset: values for audio bitrate, you can set 64, 128, 224, etc
-ovc: ouput video codec
lavc: library used for video encoding
-lavcopts: options used along with lavc
vcodec: video codec, you can use mpeg1video, mpeg4, etc
vbitrate: video bitrate, you can set 600, 1000, 1200, etc
-ofps: outpt frame per second ( fps)
-of: output file container type
-o: output filename
Streaming using justin.tv from Ubuntu
The reason justin.tv streaming doesn’t work out of the box in linux is because of a bug in flash that results in flash not prompting for access to system devices. To get around the bug you need to allow justin.tv to always be able to use flash to access your webcam. To do this visit this url:
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager06.html
You’ll find a page with this Setting Panel:

(Settings Manager that you’ll see in the page is not an image; it is the actual Settings Manager)
Scroll down until you find a url that looks like www-cdn.justin.tv. Highlight the link and then check the “Always allow” option.
Restart your browser (in my case Chrome) and visit justin.tv and start streaming.
Alternative To The "200 Lines Kernel Patch That Does Wonders" Which You Can Use Right Away
I tested on ubuntu 10.10 and works great, the system really feels faster
Dell Mini 1018 :: Make the wireless card works on Ubuntu Remix 10.10
Today arrived the new brand Dell Mini 1018 we bought. This netbook came with a Realtek 8188CE wireless card, but Ubuntu Remix 10.10 don’t recognize it out of the box :(

In order to make the wireless card works on Ubuntu I did this:
- sudo apt-get install build-essential
- Download the Realtek RTL8188CE wireless driver (Linux version)
- Uncompress the tar.gz file
- Open a terminal and navigate to uncompressed folder
- Follow the readme file’s instructions:
sudo sumakemake installreboot
Scanning over Wifi from an Epson TX550W using Ubuntu 10.10
We recently bought an Epson TX550W Multifunction printer/scanner.
Printing over Wifi from my ubuntu 10.10 laptop is really simple, just:
System > Administration > Printing > Add > Network Printer
- Select your printer
- Click on Forward, wait for driver search to complete, then modify Printer name, Description and Location as appropriate.
In order to scannig over Wifi, I followed the instructions in this post:
- Download and install latest iscan-data , iscan , iscan-network-nt (At the time of writing these versions are 1.4.0-1, 2.23.0-3, 1.1.0-2)
sudo sh -c "echo net 200.200.200.20 >> /etc/sane.d/epkowa.conf(modify IP address 200.200.200.20 as appropriate)
In my case this was not enough, the device gives an I/O error and locks the printer/scanner if it is used, to prevent this I commented out the “net autodiscovery” entry in /etc/sane.d/epson2.conf