Off to Szeged...

wish me well. I'll be posting to this spot all of the updates I have time for.

Rapidly Closing

Carter in 1976, Moyers today.

http://www.pbs.org/moyers/journal/08152008/watch.html
http://www.pbs.org/wgbh/amex/carter/filmmore/ps_crisis.html

Gallery2 drupal integration

OK, so many folks have issues with gallery2 / drupal5 integration. My symptom was 404s on images and white screens on many pages. Some will recommend turning off gallery's clean urls implementation. That is a fine solution if it works for you. It didn't work well for me. So here's what I figured out after scouring everywhere for error messages.

An answer that works without turning off clean urls is to make sure that your gallery url is properly set under "Show Item " on this gallery config page:

http://yoursite.com/index.php?q=gallery&g2_view=core.SiteAdmin&g2_subView=rewrite.AdminRewrite

for instance, my gallery installation "embed URI" (find it under the gallery2 drupal settings screen >> install tab >> step2 fieldset, is
/index.php?q=gallery

so my "Show Item" rewrite rule should be:
gallery/v/%path%

The /v/%path% part is in there already, so just add whatver you have after the q= from the page above.

There is even an almost invisible warning to do this that shows up on the gallery2 integration module install page :), but alas, it's almost invisible. No idea why it isn't done for you on install!

Re: US Constitution -- Your traitor list has arrived

HR-6304 Grouped By Vote Position

YEAs ---69
Alexander (R-TN)
Allard (R-CO)
Barrasso (R-WY)
Baucus (D-MT)
Bayh (D-IN)
Bennett (R-UT)
Bond (R-MO)
Brownback (R-KS)
Bunning (R-KY)
Burr (R-NC)
Carper (D-DE)
Casey (D-PA)
Chambliss (R-GA)
Coburn (R-OK)
Cochran (R-MS)
Coleman (R-MN)
Collins (R-ME)
Conrad (D-ND)
Corker (R-TN)
Cornyn (R-TX)
Craig (R-ID)
Crapo (R-ID)
DeMint (R-SC)
Dole (R-NC)
Domenici (R-NM)
Ensign (R-NV)
Enzi (R-WY)
Feinstein (D-CA)
Graham (R-SC)
Grassley (R-IA)
Gregg (R-NH)
Hagel (R-NE)
Hatch (R-UT)
Hutchison (R-TX)
Inhofe (R-OK)
Inouye (D-HI)
Isakson (R-GA)
Johnson (D-SD)
Kohl (D-WI)
Kyl (R-AZ)
Landrieu (D-LA)
Lieberman (ID-CT)
Lincoln (D-AR)
Lugar (R-IN)
Martinez (R-FL)
McCaskill (D-MO)
McConnell (R-KY)
Mikulski (D-MD)
Murkowski (R-AK)
Nelson (D-FL)
Nelson (D-NE)
Obama (D-IL)
Pryor (D-AR)
Roberts (R-KS)
Rockefeller (D-WV)
Salazar (D-CO)
Shelby (R-AL)
Smith (R-OR)
Snowe (R-ME)
Specter (R-PA)
Stevens (R-AK)
Sununu (R-NH)
Thune (R-SD)
Vitter (R-LA)
Voinovich (R-OH)
Warner (R-VA)
Webb (D-VA)
Whitehouse (D-RI)
Wicker (R-MS)

NAYs ---28
Akaka (D-HI)
Biden (D-DE)
Bingaman (D-NM)
Boxer (D-CA)
Brown (D-OH)
Byrd (D-WV)
Cantwell (D-WA)
Cardin (D-MD)
Clinton (D-NY)
Dodd (D-CT)
Dorgan (D-ND)
Durbin (D-IL)
Feingold (D-WI)
Harkin (D-IA)
Kerry (D-MA)
Klobuchar (D-MN)
Lautenberg (D-NJ)
Leahy (D-VT)
Levin (D-MI)
Menendez (D-NJ)
Murray (D-WA)
Reed (D-RI)
Reid (D-NV)
Sanders (I-VT)
Schumer (D-NY)
Stabenow (D-MI)
Tester (D-MT)
Wyden (D-OR)

Not Voting - 3
Kennedy (D-MA)
McCain (R-AZ)
Sessions (R-AL)

Ah, the ~45 clicks of a win32 Openoffice point release update

Editing document..... what's this bubble in the upper right corner of the screen? "There is a new version of Openoffice.org Available, would you like to install it? 2.4.0 -> 2.4.1" Look openoffice now updates itself, how convenient, I'll just let that run in the backround while I work. click.

Downloading 137MB (?!)......

Suddenly Firefox opens (Thank you for downloading openoffice.org) OK, Sure anytime.

Installer: This will update your version of Openoffice, would you like to Continue? Uh, yes. click.

This will extract the update files to this location, is that ok? click.

Click to proceed with the update. click.

Verifying update (90 seconds)....

Verify successful. Click next to proceed with installation. Click.

Please close the following programs to allow the installer to continue: "Mozilla Firefox - Thank you for downloading openoffice.org") (you need to close the web browser window that the installer just opened a few steps ago in order to upgrade my office suite....sounds like a bad joke.) Ok, closing firefox. Click, click.

Should we associate the following progs with OOo? >> Yes. They already are though. click.

Please click eleven times to scroll down and accept the Eula. Looks like the same one. click * 11.

Installing (3-4 minutes)....

What is your Name and initials? Prefilled thanks, click.

Would you like to register? >> have already registered thanks.

Thank you for using openoffice.org. Are we done?! Praise Jesus. I don't think I would have survived the less "automatic" version of the update. click OK.

Of course the installer doesn't bother to reopen openoffice, so I go off in search of the document that I was working on (if I can even remember what it was). Oh, and have to reopen my web browsing session as well.

Ah, the perils of building your "automatic" update as a crappy wrapper around your regular installer.

Yet another reason to stick with linux: apt-get upgrade
and you're done for every prog on your entire system. You can even do it without restarting your apps most of the time. They just launch as the new versions on next use.

Even installing a service pack to Microsoft Office is better than the "automatic update" feature in OOo. For instance installing Office 2k3 SP3 took about 4 clicks at work. Oh, and a system reboot, but old habits die hard :)

(Re)setting Resoution and fonts on the olpc under xfce

Fonts on the olpc under a non-Sugar window manager are kind of messed up. Under xfce I had to go through multiple hoops to get them to work look the right relative sizes. The second time I have to do this is as good a time as any to document this.

First of all, starting with xfce on ubuntu as prepared by mocapean, most things work ok. When you install gdm though, stuff gets crazy. Font size doubles in gtk apps.

Xfce system font sizes

Just go through the menu settings for xfce control panels. Go to Settings>User Interface first and set to sans 6. Then go to Settings>Window Manager and set window title fonts to sans bold 7
Done.

Gtk apps

put following in .gtkrc-2.0 file in homedir

style "user-font"
{
    font_name="DejaVu Sans 6"
}
gtk-font-name="DejaVu Sans 6"

KDE apps

Create or edit the file ~/.kde/share/config/kdeglobals

[General]
 StandardFont=Bitstream Vera Sans,6,-1,5,50,0,0,0,0,0
 activeFont=Bitstream Vera Sans,6,-1,5,75,0,0,0,0,0
 fixed=Bitstream Vera Sans Mono,6,-1,5,50,0,0,0,0,0
 font=Bitstream Vera Sans,6,-1,5,50,0,0,0,0,0
 menuFont=Bitstream Vera Sans,6,-1,5,50,0,0,0,0,0
 taskbarFont=Bitstream Vera Sans,6,-1,5,50,1,0,0,0,0
 toolBarFont=Bitstream Vera Sans,6,-1,5,50,0,0,0,0,0

Other stuff

On the ubuntu image I am using, this is done for us. However, if we're going to monkey around a bit with the system's dpi settings

$ xdpyinfo | grep resol

Comes back with the dpi of your screen. The olpc is 201x201 dots per inch.

xdpyinfo | grep dimen

Comes back with

dimensions:    1200x900 pixels (152x114 millimeters)

on the olpc. Incidently, millimeters is pixels/length * 25.4.

Oh, so that's why....

If you can't figure out why your hfs filesystem keeps getting set back to journaled...

Apple's Time Machine backup program enables journaling on the filesystem of the backup drive. Probably a good move for data integrity purposes, but it forces it back to read only under linux.