March 21, 2009

How to record one's linux computer with pulseaudio

I posted a simple tip to an Identi.ca user (mxc) explaining how to record a skype conversation and felt that others might find the information useful. Here is an elaborated explanation of how to record the sound from a linux computer.

  1. Install pavucontrol and the gnome-sound-recorder (in the gnome-media package).
  2. Open the gnome-sound-recorder and start recording
  3. Open the pulseaudio volume control and switch to the recording tab
  4. Click on the down arrow of the "gnome-sound-recorder" Record Stream, Select "Move Stream" and move the stream to the "Monitor" stream for your sound card.
This should record all sound from your computer if you are using pulseaudio. I have not tested this with skype but it should work.

March 11, 2009

Identi.ca feed fetcher script

Here is a simple Identi.ca feed fetcher script written in python. It is a console program and has no gui. It will display the same content as would appear on a users Identi.ca homepage for a given user. Edit the configuration at the head of the script before use.

It works well with conky; simply add ${exec python /path/to/script.py} to your conky file and it will update whenever your conky refreshes. If your conky config is set to update very frequently, please use ${execi interval /path/to/script.py} so that you are not constantly polling identi.ca's server.

Edit: Updated script to correctly encode text and to include replies.