Microblog: A very long article Wikipedia article on the orientation of toilet paper [Jun 7th, 22:52] [R]

Friday, July 24th, 2009

Typematrix

Categories: [ IT ]

In linux/Xorg, use inet(dtk2000) in xorg.conf's XkbLayout option (in addition to whatever basic layout you are already using) to be able to use the navigation and multimedia keys in the Typematrix EZReach 2030 USB keyboard. Only the eject key is not working. After that, it's up to the applications or window manager to make use of them, this config option only associates X11 symbols to the keys. I hadn't found this information anywhere on the web, I hope it will be useful to someone.

[ Posted on July 24th, 2009 at 11:40 | no comment | ]

Trackback Address

https://weber.fi.eu.org/blog/Informatique/typematrix.trackback

Comments

No comment

Wednesday, July 22nd, 2009

Thunderstorm Tracking

Categories: [ Science ]

Zalama.net tracks where, around Muurame, lightning has struck.

http://www.zalama.net/nexstorm_muu.png http://www.zalama.net/wasp2.png

[ Posted on July 22nd, 2009 at 18:06 | no comment | ]

Trackback Address

https://weber.fi.eu.org/blog/Science/thunderstorm_tracking.trackback

Comments

No comment

Wednesday, July 15th, 2009

Orange-menthe

Translation: [ Google | Babelfish ]

Categories: [ Cooking ]

Sirop de menthe verte et jus d'orange, c'est super bon. Maintenant que j'y pense, Ricola faisait des bonbons orange-menthol quand j'étais jeune. Je n'ai donc rien inventé, en fait.

[ Posted on July 15th, 2009 at 18:20 | no comment | ]

Trackback Address

https://weber.fi.eu.org/blog/Cuisine/orange_menthe.trackback

Comments

No comment

Friday, July 10th, 2009

3 ans

Translation: [ Google | Babelfish ]

Categories: [ Blog ]

3 ans de blog, 682 messages, 188 commentaires (tant que ça ?) et 180 000 spams.

[ Posted on July 10th, 2009 at 19:02 | 2 comments | ]

Tuesday, July 7th, 2009

Printing with LPR in Firefox

Categories: [ IT ]

Firefox didn't allow me to print by default. Printing to a file was the only proposed option. The culprit here is not even Firefox but GTK, which needs to be told that there is life beyond printing to a file. I put to my $HOME/.gtkrc-2.0 file the following line: gtk-print-backends="pdf,cups,lpr,file", and I could finally print to lpr.

[ Posted on July 7th, 2009 at 18:38 | no comment | ]

Trackback Address

https://weber.fi.eu.org/blog/Informatique/printing_with_lpr_in_firefox.trackback

Comments

No comment

nohz=off is the Way to Go

Categories: [ IT ]

Debian Lenny's default kernel is tickless, meaning that there is no periodic tick anymore. As a result, it seems that some applications that use periodically short sleeps (as in while(1) { // do possibly something; usleep(250); }) are scheduled far too often and the CPU is running more than in should while the system is seemingly idle. Passing the option nohz=off to the kernel seems to have fixed that problem.

[ Posted on July 7th, 2009 at 18:34 | no comment | ]

Trackback Address

https://weber.fi.eu.org/blog/Informatique/nohz.trackback

Comments

No comment

Hello, Helvetica!

Translation: [ Google | Babelfish ]

Categories: [ IT ]

I didn't need to say bye bye to Helvetica after all. The least bad compromise seems to be using the bitmap Helvetica font for GUI anyway, and set Firefox to use DejaVu fonts without allowing web sites to decide what font to use (I don't have anything besides DejaVu anyway, so I won't miss anything by doing so).

[ Posted on July 7th, 2009 at 18:29 | no comment | ]

Trackback Address

https://weber.fi.eu.org/blog/Informatique/hello_helvetica.trackback

Comments

No comment

Bye bye, Helvetica

Categories: [ IT ]

I have used Helvetica as the sole font in WindowMaker for the past 12 years (AFAICR). I recently upgraded to Debian Lenny and switched from Mozilla 1.7 to Firefox 3.5 (at last!) I managed to setup my system to use the Helvetica bitmap font, which looks much nicer than Nimbus Sans (the Type 1 equivalent) in WindoMaker, and I was happy. But I discovered that Firefox now (AFAICT) prints Helvetica text using the Helvetica bitmap font, which produces very ugly documents. Mozilla was somehow smart enough to use vector fonts for that, but not Firefox. Helvetica seems to be something of the past :(

So I switched to DejaVu fonts for WindowMaker and Nimbus for GTK applications and Firefox. It's so sad.

[ Posted on July 7th, 2009 at 12:00 | 1 comment | ]