Tuesday, May 29, 2007

Moto menu.

If you want to change date&time in my motorola, you need to go under Settings (fair enough) -> Initial Setup -> date & time (right).

Where did the "Initial Setup" come from?

Monday, May 28, 2007

2.6.21

2.6.21 with NO_HZ brought the temperature of my laptop down by 4C, that is enough to shut up the fan most of the times. Good!

Friday, May 25, 2007

Exam time.

I definitely think that 11 exams in 23 days is too much. Anyway, 3/11 gone.

Wednesday, May 23, 2007

Come distruggere una canzone di Battisti

In poche semplici mosse. La prima e' fare una accordo con le quinte in sul levare del secondo quarto, via liscio, battere-levare-battere-accordaccio, sostituendo un rullante spettacolo con una chitarra distorta. Poi vuoi mettere la stessa canzone senza la linea col jazz?

Monday, May 21, 2007

GTK dynamic key bindings

Put the following in your ~/.gtkrc-2.0 file (create the file if it doesn’t exist):

gtk-can-change-accels=1

now you can change bindings in menu like this:

Open a menu, move the cursor above the menu item you want, press the shortcut you want to assign. This shortcut will appear next to the menu label. You're done (fabulous)!

To remove a binding that you don't want, press CTRL+backspace on that menu.

Some findings on the Vaio

We have a ACPI method called CSXB, don't know what it does but:

42 loads the default values in the bios
41 hard locks the whole system.
50 somehow changes the video memory, i.e. the fonts in the terminal
become bigger and the screen is shifted down, I can't really describe it.

Also I wrote all numbers up to 2000-something, and as a side effect now
I don't have the sound during the logo at the boot (hurray!) regardless
of the volume of the speaker (I suspect that was 43 or 40 fault, but I
am not sure) and after writing all these numbers it wouldn't boot
anymore (battery led flashing fast). I had to remove the battery to make
it boot. Now is all normal, but I decided that was enough playing for now!

Also I have to methods CBMF and RBMF, RBMF is always 1, except when
reading from CBMF, that gg it becomes 3 (for only one reading).
Writing 0 to CBMF, RBMF is 3 (for one reading), writing 1 to CBMF
becomes 1, writing 2 and above it becomes 2. I have no clue of what this
does.

Poche parole.

Invece di aspettare che si riempano 190 pagine di giornali italiani, si scenda in piazza, si faccia uno sciopero dei controllori di volo, e poi lo si veda filtrato da Santoro, uno si guarda il video originale (via mante blog), e si fa le sue opinioni.

Monday, May 14, 2007

Tuesday, May 08, 2007

Hard core revision.

This makes me revise better:

DestroyFunc ToggleTitle
AddToFunc ToggleTitle
+ I State 1 toggle
+ I Current (State 1) WindowStyle Title
+ I TestRc (NoMatch) WindowStyle !Title
+ I UpdateStyles
+ I Current (Maximized) maximize true

This function toggles the title bar in fvwm, and re-maximize the window if it was maximized before removing the title bar.