Archive for the ‘gnu/linux’ Category

Wikileaks Mirror

Wednesday, December 8th, 2010

I’m hosting a Wikileaks mirror here (http://wikileaks.brunogola.com.br/) and if you have an unix machine with a public IP you can host too.

You just need to set up an user account (ssh or ftp) and configure your webserver. It’s easy and quick, follow the steps on http://wikileaks.brunogola.com.br/mass-mirror.html and you’re done.

HP 2133 and Ubuntu

Wednesday, October 29th, 2008

Last week I got a HP 2133 mini notebook for me to use on presentations, college, meetings, events, etc. It’s a very nice toy with 1Gb RAM, a 1.2 GHz VIA Processor, 120Gb of storage, Wifi and bluetooth. Well, it’s very handy and the keyboard is amazing… except for the key, that is a little smaller than the on in my “official” notebook, and I always try to press it in the wrong place :-P

But… I’ve spent a lot of time to make it work with my Ubuntu. Why? Mainly because of the freakin’ VIA proprietary video driver. So I decided to write here some tips about how to get Ubuntu working on the 2133 (after trying to configure the xorg.conf for 3 hours because I hadn’t made a backup of the one that was working :P ).

The problem I have is that the desktop is bigger than the screen. Oh, you say, it’s just the Virtual xorg.conf Option.

IT’S NOT. Damn it!

Thanks to VIA there is a driver option called PanelID. This option is “well documented” in the README file.

The first thing you need to do is to tell the driver that your PanelID is 17. Why? I really don’t know. PanelID 17 means, accordingly to the README, that your display (or your Panel) resolution is 1024×600. The problem is that I want my resolution to be 1280×768 (which is supported by 2133). Anyway, using option “PanelID” 17 solves the problem partially, the desktop isn’t bigger than the screen anymore.

BUT… it thinks that your resolution is 1024×600 (because of the PanelID option, probably), so try to imagine what a 1280×768 desktop looks like in a 1024×600 display (or panel, whatever). The result is that you can see 3/4 of your Desktop, but your pointer “sees” the “panel” borders (i mean, it can’t go any longer than the screen limits).

To solve this problem you need to tell the X server that you have a Virtual display of 1024×600 (yes, you’re lying!!!) so it will arrange your 1280×768 desktop inside this virtual display of 1024×600. To do this you need to add the line

Virtual 1024 600

in the Display subsection of the Screen section.

Your xorg.conf will look like this (the relevant sections only):

Section “Device”
Identifier “via-P4M900 Device 0″
BoardName “Chrome9 HC IGP”
BusID “PCI:1:0:0″
Driver “via”
Option “Monitor-LCD” “HP-2133 LCD”
Option “PanelID” “17″
Option “NoDDCValue”
EndSection

Section “Screen”

Subsection “Display”
Depth 24
Modes “1280×768-60.0″
Virtual 1024 600
EndSubsection

EndSection

If you have any trouble with the video (or anything) trying to install Ubuntu on the HP 2133 Mini, leave a comment and I promise I’ll TRY to help :-D

back to gentoo linux

Thursday, August 28th, 2008

After months postponing I’ve installed Gentoo in my laptop. I really like portage and probably everything I know about configuring linux using /etc and a bunch of commands I know because of gentoo.

The first time I installed Gentoo it I had a copy of the Gentoo Handbook and that was it. No internet connection to help. It was a great experience and I’ve learned a lot about how linux works internally. Before Gentoo I was using Fedora Core 2.

After those days I decided that I should became a programmer and not a sysadmin, so I did it, and I decided to install Ubuntu… now after two years using Ubuntu I’m back to Gentoo.Things are different of course. The installation process is easier (with a graphical interface LiveCD!). But, it’s nice to decide what I want to install and have full (or almost full?) control of my machine again! :D

Well.. let me go back to work, portage just finished to compile… :-P

FLISOL 2008 – Python Talk

Saturday, May 3rd, 2008

Last Saturday I gave a Python talk at FLISOL 2008 in Sào Paulo. The public was students who were learning programming (C and Visual Basic), so it was a very basic talk. The event was great and so was the talk, the only problem was that I thought that the public would be programmers with some experience, but not really. Anyway, the FATEC students seemed to like Python and some of then came to talk to me after the event to know more about the language and to ask where they could find more information!

I’ll upload my presentation somewhere.

I’ve helped to install GNU/Linux (Ubuntu) on a FATEC lab, people there were very nice!

Well, I felt like my “mission” was accomplished :-)

GameJam Brasil

Monday, November 12th, 2007

Everybody

I went to GameJam Brasil at São Carlos this weekend with some friends from Senac (where i study CS). For those who don’t know what is the GameJam, i’ll try to explain, but you can read read more about it at http://wiki.laptop.org/wiki/GameJam.

The GameJam Brasil was based in the GameJam that occured in Boston. The main idea is to group developers and game designers in teams to produce games to the OLPC XO (more about the OLPC project at http://www.laptop.org). In São Carlos we had 32 hours (+/-) to develop the game.

Our team (CAS) members were me, Marcelo, Fabio and Adriano. We decided to develop some game with educational purpose, so Fabio gave us the idea of a Recycle game. You can see more about it at http://code.google.com/p/reciclapy.

After almost 40 hours of coding our game is “ready”, with a lot of bugs, of course :-D The game is written in Python and PyGame (two technologies supported by the OLPC Project and that i like a lot).

You can see some pictures taken there in my flickr (with gamejambrasil tag).

I would like to thank everybody from UFSCar (LIA), Poli/USP (NATE) and USP São Carlos (and all the collaborators). They’ve made this event to be awesome (including the full time coffee-”break” hehehe). The collaborative spirit of the GameJam was very nice too. All the teams were helping each other all the time :-)

It was very nice to participate!

[]‘s