Edit: umm, I missed that bit about trying to learn Linux.
If that's your goal, you probably want an old x86 machine. Linux support for x86 is ridiculously better, both in terms of OOTB hardware support and getting helpful advice. Old x86 hardware is absurdly common, and almost all of it will run Linux.
[Original post follows.]
My 2c, as the current owner of a Powerbook G4: go Debian. It's not as out-of-the-box friendly as OSX, and doesn't support the hardware as well, but works quite well anyway.
(Disclaimer: I'm a Linux geek, so I do have something of a bias.)
Anyway, there are a few things to watch out for...
- Airport needs firmware in the non-free repository, I think. (I didn't bother, since I use my Powerbook as a desktop workstation.)
- I don't know about the iBook's Mobility Radeon 9200, but my Powerbook's 7500 is not well supported by Linux; 2D acceleration is poor and 3D nonexistent. In such cases it's probably better to use Linux's radeonfb framebuffer and the Xorg fbdev driver. If the the 9200
is supported though, by all means use the radeon driver.
- Most Linux desktops are designed for newer computers, and will show window contents while resizing a window. This does not go well with old Macs, especially when using the fbdev driver. The workaround is to tell your window manager to show only outlines when resizing - which is what OS 9 and OS X 10.3 did by default. But note that, because of the way the Xorg display server works, the display will freeze when resizing a window if you do this - the only thing updated will be the window's outline. This is generally okay, but some media players will pause sound output when they detect the display being frozen. Xmms is one such media player; Xine is another. VLC on the other hand will just keep playing.
(If you get the impression that Xorg is a horrible kludge, that's because it is.
)
So yeah. Don't expect any miracles as far as desktop performance goes. Applications will probably launch quickly and be fairly responsive on a G4, but complex 2D rendering
will be slow, and 3D more than likely won't work.