Installing TrueType fonts on OpenSuse 11.1
To install new TrueType fonts (Microsoft or the free ones) you just need to copy the .ttf files to the folder /usr/share/fonts/truetype and then run the following command in your shell:
$ sudo SuSEconfig
Ps. For the absent-minded, you do need to use the capital letters as typed above!
Hope it's useful!
My beautiful gnome desktop.
I needed to post a screenshot of my current desktop. Just configured it in a way that pleases me:
For the curious, the lower dock is a Cairo-dock, for desktop effects used Compiz-Fusion. Music player that put the album cover on the desktop is Exaile. To develop I use Gedit with plugins and Bash
. Free wallpaper from Panedia. For those who noticed the little green chameleon, I'm a big fan of OpenSuse, but you can use your favorite flavor of Linux!
All this stuff on a 22" screen with resolution of 1680x1050 (Strongly recommend this big screen, it can make any programmer happy e consequently more productive)
Bye!
Installing a virtual machine as a server with VirtualBox
After 4 long months without internet connection at home, here we are again! This time I decided to install the VirtualBox to explore it a little deeper, I've had some experiences with it some time ago but the only thing I can recall is that it ran Age of Empires 2 better than VMWare.
For those that don't know, VirtualBox is a virtualization framework developed by innotek and bought by Sun, yes... that Sun, the owner of MySQL, Java, OpenOffice and a couple of other famous softwares.
The goal of this endeavor was install a virtual machine (vm) to use as a web server to test small projects and learn. First, I installed a vm with Debian Etch and no graphical interface over VirtualBox in a openSuse 11.0. Then I installed Apache, MySQL, SSH and others... Now we get to the interesting part, how to make the hosting system have access to the servers and applications installed on the guest system.
With the vm's network interface configured with NAT (default option I guess), you just need to add the NAT port forwarding rules between the host and guest systems. As an example I'll use Apache, you'll need the three following command lines (the vm must be turned off):
$ VBoxManage setextradata "Debian" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/Protocol" TCP
$ VBoxManage setextradata "Debian" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/GuestPort" 80
$ VBoxManage setextradata "Debian" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/HostPort" 8080
With that done, just turn on your virtual machine again and test! If everything is configured correctly, the address http://localhost:8080 should take you to the pages stored on the guest system's Apache server.
On the command lines above, the name "Debian" refers to the name of the virtual machine you set on VirtualBox when creating it, the "apache" can be replaced with anything, it's just a name for the configuration. Also the ports used could be changed as you prefer, the ones displayed were the ones I used here, but it's pretty much up to you. The VirtualBox manual tell us that under linux hosts we must not use ports under 1024 for the "HostPort" because they are reserved for applications ran by root and the vm may not start in this case.
The only problem I'm having so far is the fact that I can't connect to the MySQL server installed on the guest machine and get the following error message:
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0
If anyone knows something about it, please leave a comment!
See you.
Google and linux releases.
What is going on with the giant? Lately we can see lots of news about interesting softwares and features from Google but everytime I look into it I get the message "This app is not yet available for Linux.".
This is meant to express my frustration when I discovered that Gmail voice and video chat is not available for Linux at this time.
I haven't had the opportunity to test it yet and besides my little protest, here is the vídeo about the feature:
Cheers,
Filipe Grillo
NOTE: This is my first post in english! I'm planning to make this hole blog bilingual asap! So, any corrections and/or sugestions are welcome!
Alternativas para aplicativos do KDE
Bom, eu sempre fui fã do ambiente gráfico Gnome e por mais que já tenha usado por um tempo, não consigo me adaptar com o KDE, nada contra, simplesmente me adaptei melhor ao gnome e já tenho até algumas manias de como configurar meus painéis e tal...
A grande questão é que o KDE possui alguns aplicativos muito bons e consequentemente eu sempre os instalei no meu Gnome, aqui vão quais são os aplicativos e quais as alternativas que utilizo atualmente:
Kile
O Kile é um excelente editor de texto para documentos em LaTeX, usei por muito tempo e só recentemente descobri uma alternativa para ele.
Alternativa: Eclipse com o plug-in TeXlipse (visite a página do projeto no sourceforge), note que ainda é necessário ter os pacotes do LaTeX instalado, mas nada de KDE.
kTorrent
Outro excelente programa que utilizava do KDE, quando começeu a usar o linux (ubuntu na época) instalei todos os gerenciadores de torrent que constavam na minha lista do APT, deixando o kTorrent por último porque ia precisar instalar um porção de bibliotecas do KDE. Aconteceu que foi o único gerenciador de que satisfez àquela altura.
Alternativa: Deluge BitTorrent Client é um software que faz uso da libtorrent e utiliza pyGTK em sua interface, então você pode precisar instalar algumas outras bibliotecas do python. Esse software supriu todas as minhas necessidades e substituiu o kTorrent sem perder em nada!
Amarok
Novamente um excelente programa! Player/Gerenciador de músicas com o estilão do iTunes.
Alternativa: Por enquanto estou testando o SongBird da Mozilla, por enquanto esta se saindo bem e as atualizações dele caminham para boas melhorias, a nova versão 0.7.0 já possui capacidade para mostrar/inserir arte de capa para os albuns! Está instalado a apenas 2 dias e ainda estou testando para ver se me adapto a ele. É o último aplicativo que falta para eu não mais precisar das bibliotecas do KDE!
Qualquer dúvida, crítica ou sugestão: feel free to comment! Outras sugestões de softwares também são bem vindas!
Até mais!
