Monday, July 27, 2009

Backing up your Facebook photos with Fedora

To back up your facebook photos:
yum install digiKam

and then see images:



You will have to authorize digiKam to access your facebook account.

Downloading photos from the iPhone with Fedora

Every time I tried downloading photos from my iPhone, even though Fedora would recognize it as a camera, I'd always get an error when trying to get to it. Here's a solution.

Thanks to mutaku.com for posting the solution.

The way it worked for me was a bit different.

1. I plugged in the iPhone.
2. Opened up digiKam
3. Import -> Cameras (add) -> add Camera... -> Auto-detect

Then, I went back into the desktop, double clicked on the iPhone icon, and dig through the 'folders' DCIM -> 100APPLE and click on 'Open gThumb Image Viewer'

It threw an error at first, but then I did it again, and it just worked. Just doing it from digiKam kept throwing me errors.



This was only an issue for me the very first time I was able to successfully see my photos via Linux, after that it would just work even on different Fedora installs.

Sunday, July 26, 2009

Saturday, July 25, 2009

Remove unused RPM dependencies with --remove-leaves

Here's something I find it annoying. You do:
yum install some_package

It downloads a bunch of of dependencies. Then, you realize you don't need that package and want to remove it with:
yum remove some_package

That's OK, but most of the dependencies that were downloaded to allow your package to work, will stay on your system (probably unused).

That's where yum-plugin-remove-with-leaves comes in.
yum install yum-plugin-remove-with-leaves

Then to remove your package (and those dependencies you don't need anymore):
yum remove --remove-leaves some_package

That should remove "any unused dependencies that were brought in by an install but would not normally be removed. It helps to keep a system clean of unused libraries and packages."

Friday, July 24, 2009

Firefox 'Check Spelling' non-US English fix

This is a silly hint, but it is one of those thing that is big enough to annoy, but small enough not to bother looking for a solution... In Firefox 3.x, the spell checker seems to default to a 'British' like version of the English language. It's actually English from Zimbabwe. Here's how to fix it:

Right click on a 'text box', and then:

Thursday, July 23, 2009

ralink (rt73usb) wireless flaky connection on Fedora 11

I installed Fedora 11 on my HP Pavilion A6700Y this weekend. Other than grabbing the nvidia drivers from rpmfusion.org, the installation went virtually flawless.

Only one issue appeared, and it had to do with the wireless card on the system. Fedora recognizes the card as "Ralink 802.11 bg WLAN" and even though NetworkManager would connect me correctly to my wireless router, within 2 or 3 minutes, surfing the web started becoming slower and slower. It got to a point where I couldn't login to Gmail nor Facebook anymore.

After, trying the regular troubleshooting (reset router, turn off encryption, IPV6, etc), and doing some researching I found out about this bug on Fedora 10 (that seems to be on 11 as well).

Somehow the device gets set up to a 1 Mb/s bit rate, and causes the entire network part of the system to 'crap' its pants. By manually setting my bit rate back to 54M (as the bug suggested), I am back up and running and Fedora 11 is running like a champ on this HP desktop.

Here's how to set it:

iwconfig wlan0 rate 54M

Wednesday, July 22, 2009

Kill unresponsive SSH session

On the frozen, unresponsive ssh session hit:

<enter>~.


That's: the enter key then tilde (~) then dot (.)

Friday, July 10, 2009

Given a command, show me the last time it was executed

There are several other ways to do this, but this one was news to me.

Let's say you want to see what was the last 'tar' command executed on your history.

On your shell, type:

!tar:p


The :p will show you the command without executing it.

Source: Linux Journal

Thursday, July 2, 2009

Fedora 11 on the Eee PC 1000 (Article)

I've written a new article, this time to Linux Gazette. It's been almost 10 years since I've written something for them, it felt good to be back.