Avatar Edgar Gonzalez

  • Random
  • Archive
  • RSS

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
    • #ubuntu
    • #chat
    • #empathy
    • #googleapp
    • #gtalk
  • 1 year ago
  • 2
  • Comments
  • Permalink
  • Share
    Tweet

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
    • #ubuntu
    • #10.10
    • #rmagick
    • #imagemagick
    • #gem
  • 2 years ago
  • 2
  • Comments
  • Permalink
  • Share
    Tweet

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:

  1. Add MongoDB repository into Ubuntu

    Add the following line to /etc/apt/source.list file:

    deb http://downloads.mongodb.org/distros/ubuntu 10.10 10gen

  2. 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
    
    • #ubuntu
    • #10.10
    • #mongodb
    • #mongo
    • #howto
    • #installation
  • 2 years ago
  • 1
  • Comments
  • Permalink
  • Share
    Tweet

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
    • #ubuntu
    • #service
    • #mongodb
    • #boot
    • #init.d
  • 2 years ago
  • 1
  • Comments
  • Permalink
  • Share
    Tweet

A setup script to get Ruby and Rails running on Ubuntu server in one line

    • #ubuntu
    • #rails
    • #rails3
  • 2 years ago
  • 3
  • Comments
  • Permalink
  • Share
    Tweet

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

    • #rmvb
    • #avi
    • #linux
    • #ubuntu
    • #mencoder
    • #WD TV Live
    • #mplayer
    • #w32codecs
  • 2 years ago
  • 1
  • Comments
  • Permalink
  • Share
    Tweet

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.

    • #ubuntu
    • #10.10
    • #chrome
    • #flash
    • #stream
    • #justin.tv
    • #streaming
  • 2 years ago
  • Comments
  • Permalink
  • Share
    Tweet

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

    • #ubuntu
    • #10.10
    • #patch
    • #kernel
  • 2 years ago
  • Comments
  • Permalink
  • Share
    Tweet

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:
    1. sudo su
    2. make
    3. make install
    4. reboot
    • #ubuntu
    • #remix
    • #ubuntu-remix
    • #10.10
    • #dell
    • #mini
    • #dell mini
    • #1018
    • #dell mini 1018
    • #ubuntu remix
    • #wireless
    • #wifi
    • #fix
  • 2 years ago
  • 4
  • Comments
  • Permalink
  • Share
    Tweet

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

    • #epson
    • #iscan
    • #printer
    • #sane
    • #scanner
    • #ubuntu
    • #wifi
    • #10.10
    • #maverick
  • 2 years ago
  • Comments
  • Permalink
  • Share
    Tweet
← Newer • Older →
Page 1 of 2

Portrait/Logo

About

Edgar Gonzalez

Father, husband, and software developer. I'm building web applications since 1994 for a living and I love it.

Rubyist, Rails developer since 2006, believer of Agile Development and Lean startups, NoSQL enthusiast.

Born in Caracas - Venezuela, living in New York.

Me, Elsewhere

  • @edgar on Twitter
  • Facebook Profile
  • edgargonzaleznetve on Youtube
  • egg on Flickr
  • edgar on Foursquare
  • Google
  • My Skype Info
  • Linkedin Profile
  • edgar on github

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr