Sunday, January 30, 2005

Polluting Gentoo

Let it be noted that this is the first time that I polute my Gentoo box. That is, by installing something with ./configure && make && make install and stuff. I did it as I was trying to make GmailFS work here, through the instructions on this website (pt-BR). Apparently, it didn't, and now I don't even know how to remove the "low-level" installation garbage I ended up with. Does anyone?

Tuesday, January 18, 2005

Resize multiple images & other stuff with ImageMagick

http://www-106.ibm.com/developerworks/library/l-graf/?ca=dnt-428

I particularly prefer using convert -resample instead of convert -sample for creating medium-sized images that I publish in my photolog. I get better quality images. For thumbnails I guess -sample should work fine.




Friday, January 14, 2005

USB Mass Storage Digital Camera under Linux

Works for all Sony Cybershots, as far as I know. This howto is in Portuguese, though. If I find a good enough one in English I'll post the link. The part about mounting it would be nice to be included in /etc/fstab

http://www.revistadolinux.com.br/ed/048/assinantes/camera.php

Saturday, October 23, 2004

Skype on Linux with SB16 ISA PnP

I tried all the stuff I had read in all the forums about this subject (configure alsa, set priorities for /dev/dsp, configure arts, try aoss skype, etc.) , and it still didn't work. I could hear the other person's voice, but nobody could hear mine.

The beginning of the realization was when Hanson (a friend who lives with me) said that that "Mic" setting on my aumix/alsamixer was related only to the volume of the local output of the microphone, not the capturing volume. There was a "Capture" setting on alsamixer, but it was general, not exactly related to the microphone.

I kept trying, until I read somewhere that I had to install ALSA drivers as modules on the kernel and load them separately. While I was reading the Gentoo Linux ALSA Guide in order to do that, I came across a section where they told you how to unmute your audio after having set it up. They recommended the text-based amixer. As I'm an old user of aumix, I thought I'd do it there. But for a second I changed my mind and tried amixer.

It showed me two fields for the microphone called Front Left: capture (off) and Front Right: capture (off). I then typed:

amixer set 'Mic' cap on

And voilá!! All my problems were solved! Enjoy!

Monday, October 04, 2004

How to wash your clothes

1. Separate the white ones from the colored ones.

2. Put the clothes in the washing machine.

3. Put one american glass of powder (the one that comes with strawberry jam - in Brazil, Monica's jam) soap in the washing machine. If it is really packed of clothes, put a very full one. A little less for colored clothes.

4. If you're washing white clothes, turn the knob just enough for the machine to start working. If it's colored clothes, turn it until the beginning of "normal".

5. Wait for it to finish and hang the clothes.

Wednesday, June 16, 2004

VQF plugin for XMMS

I found it at this address: http://www.csn.ul.ie/~mel/projects/linux/vqfplugin/

Tuesday, June 15, 2004

Macromedia Flash plugin under Gentoo

Some time ago I had downloaded the Flash plugin to work with my "Mozilla-compatible" browser (Firefox), installed it just fine under /usr/lib/MozillaFirefox/ , but everytime I tried to visit a website which had any flash animation in it, the browser would just close immediately, without any warning or error message.

I quickly got pissed with that and gave up for the time being. Now I got what the (stupid) problem was: RTFM. During the installation process, the flash-installer application tells you it needs both ttfonts and urw-fonts installed. Those are fonts packages.

I did a simple

emerge urw-fonts

and that took care of one of them. But there was no ttfonts package available for installing through Gentoo's package management utility, Portage.

Searching a little I thought maybe installing the package corefonts instead of ttfonts could do the trick. And so it did. The package is masked, though, so you have to do the following in order to install it:

ACCEPT_KEYWORDS="~x86" emerge corefonts

And that's it. Now you (re)install the flash plugin under your browser's lib directory, and it should work just fine.