Actualizar a BIOS com o FreeDOS
Felizmente existe uma versão livre do DOS, o FreeDOS. Como tal, utilizei o UNetbootin, que já dispõe da possibilidade de efectuar o download directo deste sistema operativo, criando uma pen pronta a ser utilizada, bastando reiniciar a máquina (dependendo da configuração de arranque da máquina, obviamente). Depois disto, foi uma questão de criar uma pasta na raiz do sistema de ficheiro da pen (colocando o ficheiro directamente na raiz evitava o carregamento do sistema operativo), copiar o executável para DOS, reiniciar a máquina, escolher o arranque pela memória flash, aceder à pasta que criada (que deverá estar na unidade c:) e correr o executável.
Assunto resolvido!
Antes de efectuar a actualização da BIOS da sua máquina, certifique-se que sabe o que está a fazer, e que segue as recomendações do fabricante.
OpenOffice.org no Ubuntu 8.04
Para começar, é necessário fazer o download da nova versão a partir do site do OpenOffice.org. As versões com localização para Portugal estão aqui. Deverá ser feito o download do .tar.gz com os pacotes .deb (estão disponíveis pacotes para 32 bits e 64 bits - se não sabe a diferença, o mais provável é que tenha instalada a versão 32 bits).
Com o download feito, falta agora descomprimir o ficheiro, para obter todos os pacotes .deb que terão que ser instalados. Julgo que a forma mais rápida de o fazer é abrir um terminal, posicionar-se no directório para o qual efectuou o download e utilizar o comando tar (alterar a localização e nome do ficheiro de acordo com o seu caso):
cd $HOME/Área\ de\ Trabalho/
tar xvfz OOo_3.1.0_LinuxIntel_install_pt_deb.tar.gz
Para finalizar, instalam-se todos os pacotes com:
sudo dpkg -i *.deb
Todos os ficheiros são instalados em /opt/openoffice.org3, deixando intacta a instalação da versão original, que está em /opt/openoffice.org.
Para testar a instalação, pode-se correr o seguinte comando:
/opt/openoffice.org3/program/soffice
Irá aparecer um ecrã onde pode ser escolhido o tipo de ficheiro que se quer criar. De acordo com a escolha, a aplicação necessária para o seu manuseamento será iniciada. Pode-se também iniciar cada uma das aplicações individualmente, tal como acontece com a instalação por defeito. Todos os executáveis estão em /opt/openoffice.org3/program. Para iniciar o processador de texto, será necessário correr o seguinte comando:
/opt/openoffice.org3/program/swriter
Fica a faltar o corrector ortográfico. Para tal, basta visitar o site de extensões para o OpenOffice.org (que funcionam de uma forma semelhante aos extras do Mozilla Firefox). Todos os dicionários estão nesta página, o que me interessava, Português Europeu está aqui. Para instalar o dicionário basta fazer o download do ficheiro (com extensão .oxt), abri-lo com o OpenOffice.org 3 e reiniciá-lo.
Para facilitar o acesso ao OpenOffice.org 3, o melhor será criar um link no menu. Pode-se optar por criar apenas um a apontar para o executável soffice, que irá abrir o ecrã que permite seleccionar o tipo de documento que se pretende criar, ou um por cada uma das aplicações. O editor do menu está disponível em Sistema > Preferências > Menu Principal.
Apesar deste post ser um pouco longo, todo o processo é bastante simples. Como não interfere com a instalação já existente, permite utilizar a nova versão do OpenOffice.org sem comprometer a actualização do Ubuntu para a próxima versão LTS.
40 anos de UNIX
Para quem quer uma timeline mais pormenorizada, que envolve também sistemas UNIX Like, podem consultar esta página.
Os meus 10 anos com GNU/Linux

Por estes anos fora, fui de um ávido utilizador da consola, para a facilidade dos actuais ambientes gráficos. Da compilação do kernel para conseguir gravar um CD, até à simples instalações point-n-click em que tudo fica a funcionar sem ser necessário qualquer tipo de intervenção. Das guerras entre quem defendia a utilização da consola de modo exclusivo, contra quem achava que o futuro estava nas interfaces gráficas, agora substituídas pelos argumentos sobre qual o melhor ambiente Desktop, GNOME ou KDE. Da impossibilidade de se utilizar simultaneamente a unidade Iomega Zip com ligação pela porta paralela (ainda se lembram das fabulosas disquetes de 100MB? Afinal nunca chegaram a substituir as disquetes convencionais, que só desapareceram com a chegadas das memórias flash USB) e a impressora (no kernel 2.0, resolvido na série 2.2), até à existência de um suporte para quase todo o hardware existente. Foi um longo caminho de eterna melhoria.Quero deixar aqui o meu agradecimento a todas as pessoas que contribuiram para a minha satisfação enquanto utilizador desde espectacular Sistema Operativo, que sempre preencheu em pleno todas as necessidades que tive... e satisfez a minha vontade de estar sempre a aprender. Espero que na próxima década traga pelo menos tanta evolução ao GNU/Linux como a que aconteceu até agora!
Installing Ubuntu Linux
First, download the CD image from http://www.ubuntu.com. Make a CD from it (read this if you need help). Now, reboot your computer with the CD inserted. Choose the "Start or Install Ubuntu" option.
Wait some minutes while it loads. From the start, you will have a full working Linux. Try some of the applications, get a feel of who it works. As you can see, it's a very friendly operating system. So, why not installing it? Is as simple as double-clicking in the Install icon that is placed in the Desktop.
The installer will start. First, you have to select your language, location (to set the timezone) and keyboard layout. With this, you have completed the three first steps of the installation.
Next is time to get some room in your hard-disk to install your new Linux. If you have already another operating system installed, and you want to keep it, just say how much space you want to devote to the new system. If you want to use the entire disk (and lost all the data you have on it), choose the option “Guided – use entire disk”. Or, if you have some experience with disk partitions, choose “Manual”. If you have choose the first option, click on the “continue” button in the following warning message.
If you have choosed the first option, click on the “continue” button in the following warning message.If you have some popular operating system installed, you will have the opportunity to migrate your data to the new installation, so that some of your data and preferences will be copied to your Ubuntu desktop. After that, you will have to insert your name, choose a login and a password, that you will use to enter in the system, and give your computer a name (or keep the suggested).
Click “Forward”. You are ready to start the installation. Just press “Install”, and wait some minutes.
And finally... click on “Restart now".
Wait a little more and remove the CD when prompted. From now on you will have a menu when booting. From them, you can choose if you want to start your new Ubuntu Linux system, or your old operating system. Simple choose Ubuntu (will be the first choose), and... Welcome to the Linux World.
As always, use this information at your own risk. I'm not responsible for any data lost. Always keep a backup of all your important files.
Create an encrypted disk with Ubuntu
First you need to install the cryptsetup package:
sudo apt-get install cryptsetup
Now is time to plug your flash drive. To know the device associated with your drive, you can use the mount command (in my case, /dev/sdc1). You will see something like this:
So, in my case is the /dev/sdc1. Now is time to format the partition and create a password, using the luksformat command, choosing the file system. I will use ext3. So, type the following:
sudo luksformat -t ext3 /dev/sdc1
You will see a message like this:
WARNING!
========
This will overwrite data on /dev/sdc1 irrevocably.
Are you sure? (Type uppercase yes):
Type YES. At this point you will lost every data in that partition. Now you will have to insert a password, that will be used do unlock your device.
Enter LUKS passphrase:
Verify passphrase:
Please enter your passphrase again to verify it
Enter LUKS passphrase:
Now you will have to way until the partition until the format operation and the file system is created. After that, you can remove the device and insert then again. A window like this will appear:

Type the password and press Connect. The encrypted partition will be mounted.
If you have used the ext3 file system (like in my case), you will have create a directory in you flash drive using the superuser, and change the permissions. Use the mount command again, to see where the partition have been mounted:
In this case, the partition have been mount on /media/disk, so just make something like this:
cd /media/disk
sudo mkdir osmeusficheiros
sudo chmod 777 osmeusficheiros/
Now you can start using your new encrypted disk to save your important stuff. Don't forget that there's no perfect backup device, and one day or another your device may fail, so keep more than one copy of your data. For more information, visit the LUKS website.
Disable Touchpad in GNU/Linux
It's simple. In GNU/Linux you can use a small application called syndaemon. With that, you can specify the time between the last key press and the next accepted mouse click.
First, as root, edit the file /etc/X11/xorg.conf, and add, in the Input Device section, the SHMConfig option, with the on value, like this:
Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
Option "SHMConfig" "on"
EndSection
Now, save the file and restart the X.Org. The fastest way to restart it is pressing ctrl+alt+backspace (before doing this, make sure that you have closed all applications running and saved any document you may be using).
After that, open a terminal, and type:
syndaemon -i 1 -t -d
The -i switch specify the amount of time (in seconds) between the last key press and the next accepted mouse click (the default is two seconds). The -t switch disables the click and scrolling features. That way, you can still move the pointer. The last switch, -d puts the application running in the background (as a daemon). You can run this command every time you start your session. In the gnome, go to System -> Preferences -> Sessions and add it.
Gaim 2.0beta6
First, you need to download the latest version of gaim, from the official homepage, and installing the base Ubuntu packages for compiling it:
sudo apt-get install build-essential
Next step is download and installing the GNU TLS library development tools, needed to provide encrypted comunications with the instant messaging system (for more information go to the official homepage):
sudo apt-get install libgnutls-dev
Now that we have all the components, lets uncompress the files downloaded from the gaim site, and compile, like this:
tar xvfz gaim-2.0.0beta6.tar.gz
cd gaim-2.0.0beta6
./configure --prefix=$HOME --enable-gnutls=yes
make
make install
It will create some directories in your home directory, with all the files needed to run gaim. To run gaim, just type:
/home/yourlogin/bin/gaim
That's all!
A very interesting plugin is the guifications, that shows a little message on the right corner of your screen, when, for example, some of your friends is online. You can download the sources from where.
To install it, like with gaim, you need to uncompress the sources package and compile:
tar xvfz gaim-guifications-2.13beta6.tar.gz
export PKG_CONFIG_PATH=$HOME/lib/pkgconfig
./configure --prefix=$HOME
make
make install
Now you have the gaim with guifications! Just configure it and enjoy!
Firefox Extras
Keeping your browser bookmarks synchronized between your desktop and, for example, your laptop computer can be a problem. To help avoid it, there's an extra that give you the possibility to keep a backup of you bookmarks online. It's called Foxmarks. It's particularly interesting because you can keep you bookmarks in your own server or in the Foxmarks server. If you want something more powerful, you can choose the Google Browser Sync, that can keep your bookmarks, history, cookies and saved password in just one place.
If you think your page loading is getting slower and slower because of the flash ads, video ads, etc, you can just block then with Adblock Plus. Just install it, restart your browser, select one of the lists of ad providers, and it's done. But remember: the ads are the only way most of the sites have to pay the hosting bill, so, use with care!
There's lots of sites that requires a registration just to allow you to access some information. Sadly, some of them will sell your email information to spammers. To avoid it, you can use a fake email, temporary email, to just complete your registration, with this extension, that make the use of the spamavert.com accessible with just a mouse right click, and choosing the option "Show Spamavert address".
Extras para o Firefox (II)
Felizmente encontrei um extra que me permite bloquear apenas estes grandes consumidores de tempo. Chama-se Flashblock e substitui todos os conteúdos flash por uma botão, permitindo que o utilizador escolha quais é que quer efectivamente ver.
Para quem quer estar sempre a par das últimas actualizações de sites noticiosos e não só, sugiro a utilização do NewsFox, o único leitor de feeds Atom e RSS que, pela sua simplicidade, me convenceu.
Com o inverno a aproximar-se, convém saber com alguma antecedência se vai ser necessário sair com guarda-chuva ou não. O Forecastfox permite ter sempre disponível a informação sobre o estado do tempo actual, assim como a previsão para os próximos dias, para que se evite ser apanhado de surpresa.













