Aug
27
2009
Éverton Arruda

Windows 7 Sins
(…)
The campaign outlines seven major areas where proprietary software in general and Microsoft Windows in particular hurt all computer users: invading privacy, poisoning education, locking users in, abusing standards, leveraging monopolistic behavior, enforcing Digital Restrictions Management (DRM), and threatening user security.
(…)
Source: http://www.fsf.org/news/windows-7-sins
I recommend the site for everyone to be informed and get involved.
Campaign website: http://windows7sins.org
no comments | tags: Free Software, News | posted in Etc, Free Software, Linux, News, Planet INdT, Planet PSL-AM
Aug
25
2009
Éverton Arruda

No último Sábado foi realizado o Debian Day 2009 Amazonas, evento que, como comentei em um post anterior, comemora o aniversário da distribuição Debian GNU/Linux.
O evento, na minha opinião, foi muito bom. As pessoas que compareceram ao evento se mostraram bastante interessadas nos assuntos das palestras ministradas, muitas delas me procuraram apóas as palestras para perguntar mais sobre o Debian-AM e sobre o Software Livre em manaus.
Um dos pontos maiores do evento foi a participação do criador e mantenedor do portal Viva o Linux (http://vivaolinux.com.br), Fábio Berbet, que fez duas palestras muito interessantes: “Como gerenciar um site com 8 milhões de acessos” e “Como ingressar no mercado com Software Livre”. Gostaria de deixar aqui meu agradecimento ao Fábio, desejar que o Viva o Linux continue crescendo e que possa leválo até a Espanha! hehehe, Quem estava no evento sabe do que eu estou falando.
Gostaria de parabenizar toda a equipe do Debian-AM, pela realização do evento, e a galera de manaus do Projeto Fedora e o representante do BrOffice em manaus, Carlos Lucoli, e a todos os patrocinadores e apoiadores, que nos ajudaram muito.
Como prometi, está aqui o slide da minha palestra sobre o Projeto BrDesktop:
projeto-brdesktop-pres.pdf
:wq
1 comment | tags: Debian, debianday, events, Free Software, Linux | posted in Linux, News, Planet INdT, Planet PSL-AM
Aug
11
2009
Éverton Arruda
Debian Day é um evento realizado anualmente por vários grupos de Software Livre em todo o mundo. Também conhecido por Dia Debian e Dia D, este evento comemora o aniversário da distribuição GNU/Linux Debian, que neste ano (2009) completa 16 anos de existência.
Em Manaus, o Debian Day é realizado pelo Grupo de Usuários Debian do Amazonas, conhecido por Debian-AM, sendo patrocinado pela UniLaSalle e com o apoio do Projeto Zagaia, AIT Technologies e Gráfica Silva.
Neste ano, teremos um desafio de programação e um convidado especial, o criador e mantenedor do site Viva o Linux (http://vivaolinux.com.br), Fábio Berbert de Paula.
Convidamos todos a participarem deste evento.
Data: 22 de Agosto de 2009.
Local: UniLaSalle, Dom Pedro I, em frente à praça de alimentação do Dom Pedro I.
Horário: 9h – 17:30h, credenciamento de 8h – 9h.
Entrada: 2Kg de alimentos não perecíveis, exceto sal.
Para saber como participar do desafio de programação, visite o site de evento.
Site: http://diadebian.org/am/2009
no comments | tags: debianday, events, Free Software, Linux | posted in Etc, Linux, News, Planet INdT, Planet PSL-AM
Jul
28
2009
Éverton Arruda
Comprei, recentemente, o modem 3G da Claro, fabricado pela Huawei, modelo E226, e infelizmente não consegui fazê-lo funcionar de cara no Debian Lenny, mas após alguns minutos de pesquisa a solução apareceu!
A solução que descreverei também funcionou do Ubuntu, nas versões Intrepid Ibex e no Jaunty Jackalope.
Você precisará do pacote wvdial, instale-o com o comando:
1
| # aptitude install wvdial |
Para saber mais detalhes sobre o pacote acesse este link: http://packages.debian.org/lenny/wvdial.
Após isso você deverá criar um arquivo de configuração para o wvdial, chamado wvdial.conf, com o seguinte conteúdo:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| [Dialer Defaults]
Carrier Check = off
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Password = claro
Ask Password = 0
Check Def Route = 1
Phone = *99***1#
Idle Seconds = 0
Modem Type = Analog Modem
Stupid Mode = 1
Compuserve = 0
Baud = 460800
Auto DNS = off
Dial Command = ATDT
Modem = /dev/ttyUSB0
ISDN = 0
Username = claro
[Dialer claro3g]
Stupid Mode = on
Password = claro
Auto Reconnect = off
Username = claro
Phone = *99***1# |
conecte-se com o comando:
E você estará conectado, mas ainda não será possível acessar qualquer endereço da internet, devido aos endereços dos servidores DNS estarem incorretos, então você deve adicionar as seguintes linhas ao arquivo /etc/resolv.conf:
1 2
| nameserver 208.67.222.222
nameserver 208.67.220.220 |
Agora você poderá acessar a internet normalmente.
No Ubuntu, a configuração foi mais fácil devido à versão do network-manager, ao conectar o modem ao computador, este foi reconhecido normalmente e um assistente de configuração foi aberto automaticamente. Tudo o que tive que fazer para acessar a internet foi adicionar as linhas acima no arquivo /etc/resolv.conf após estar conectado, e deve ser após estar conectado porque o network-manager sobrescreve o arquivo /etc/resolv.conf toda vez.
Você pode, também, adicionar os endereços dos servidores DNS nas configurações da conexão da Claro no network-manager fazendo o seguinte: Sistemas > Conexões de Rede > Banda Larga Móvel > Editar conexão da Claro > Configurações IPv4 e adicionar os IPs 208.67.222.222, 208.67.220.220 na linha dos Servidores DNS e aplicar as alterações, assim você não terá que adicionar aquelas linhas no /etc/resolv.conf toda vez que conectar.
:wq
1 comment | tags: 3g, claro, HowTo, Linux, modem | posted in HowTo, Linux, Planet INdT, Planet PSL-AM
Jul
16
2009
Éverton Arruda
I’ve been looking for a way to use less with syntax highlight and ended up in a page of Ubuntu Tutorials[0] website with a very good tip: Using VIM as a syntax highlighting pager[1].
All you’ll need is the package vim-full, só, in Debian-like systems, you’ll need to execute:
1
| # aptitude install vim-full |
Then, you’ll have to execute:
1
| $ vim -u /usr/share/vim/vim72/macros/less.vim <FILE> |
And you have it working!
NOTE: Depending on the version of your VIM, the path to less.vim might be different.
You can make this command simpler by creating an alias and adding it to your .bashrc file:
1
| $ echo "alias vless=\"vim -u /usr/share/vim/vim72/macros/less.vim\"" >> ~/.bashrc |
Now the system will need to re-read your .bashrc file, so the changes may be applied:
And after this you can test vless:
[0] http://ubuntu-tutorials.com
[1] http://ubuntu-tutorials.com/2008/07/14/use-vim-as-a-syntax-highlighting-pager/
:wq
no comments | tags: code highlight, Free Software, HowTo, Linux, vim, vless | posted in HowTo, Linux, Planet INdT
Jul
14
2009
Éverton Arruda
I found an interesting tip about coloring man pages in Jônatas’ blog (http://tupinigeek.blogspot.com/2009/07/man-pages-coloridas.html <- in Portugese). This is how you do it:
1 – Install most (http://www.jedsoft.org/most/index.html):
You can download most here: ftp://space.mit.edu/pub/davis/most/
or by executing the line bellow in debian-like systems:
2 – Export MANPAGER variable:
After this you’ll have to execute the line bellow:
1
| $ export MANPAGER="/usr/bin/most -s" |
Now you should have your man pages like this:

If you don’t want to export that variable everytime you restart your computer, you can add that line to your .bashrc file:
1
| $ echo "export MANPAGER=\"/usr/bin/most -s\"" >> ~/.bashrc |
1 comment | tags: Free Software, HowTo, Linux, man pages | posted in HowTo, Linux, Planet INdT
Jun
30
2009
Éverton Arruda

FireFox 3.5, named ShiretokoShock, is out!
Get it at: http://bit.ly/ShiretokoShock
See also the Shiretoko Shock Campaign: http://www.spreadfirefox.com/shiretokoshock-campaign
no comments | tags: firefox, Free Software, shiretoko, Web | posted in News, Planet INdT, Web
Jun
24
2009
Éverton Arruda
I was looking for a way to change the style of the actual menu link (the last clicked link in the menu), so that the user could know what page he is seeing, or the last link he clicked. My first attempt was to use only CSS, but i didn’t find anything. Then i read somewhere that it was not able to what i wanted only with CSS, that i needed JavaScript to do it. Well, i’ve done it and here i’ll teach how to do it:
The first thing we have to do is to create the menu and it’s style:
Style:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| #menu {
border-top: 2px solid black;
border-bottom: 2px solid black;
padding: 10px;
text-align: center;
width: 300px;
}
#menu a {
padding: 10px;
text-decoration: none;
margin: 0px 5px;
color: black;
background-color: "white";
}
#menu a:hover {
text-decoration: underline;
} |
Note that i didn’t set the a:visited style.
Menu:
1 2 3 4 5
| <div id="menu">
<a id="link1" href="<?php $_SERVER['php_self'] ?>?p=link1">link1 </a>
<a id="link2" href="<?php $_SERVER['php_self'] ?>?p=link2">link2 </a>
<a id="link3" href="<?php $_SERVER['php_self'] ?>?p=link3">link3 </a>
</div> |
Now we have our menu, but it’s still not showing what is the actual menu link, so we will need a function that will change the style of the actual menu link:
Javascript Function:
1 2 3 4 5
| function setActualLink(item)
{
item.style.backgroundColor = "black";
item.style.color = "white";
} |
Now that we have the function it’s necessary to make it be executed after the menu is loaded, adding this line:
You could also create a class for the actual menu link and assign the class to the actual menu link, instead of setting the styles directly inside the javascript function, as shown below:
Actual Menu Link Class:
1 2 3 4
| #menu a.actualLink:visited {
background-color: black;
color: white;
} |
And the javascript function would change to:
JavaScript Function:
1 2 3 4
| function setActualLink(item)
{
item.className = "actualLink";
} |
You can see the examples in the links below:
Using class
Not using class
The php codes are commented in the source.
Remeber that the pages must be .php .
:wq
3 comments | tags: actual menu link, css, HowTo, javascript, php, Web | posted in HowTo, Planet INdT, Web
Jun
8
2009
Éverton Arruda
Some time ago i created a linuxmail.org e-mail account and today i got an e-mail from mail.com informing that my-email@linuxmail.org had moved to mail.com hosting and that it was upgraded and et cetera.

I checked out mail.com website and found out that they offer many personalized e-mail addresses for free, with 3GB of disk space. In the list you can chose yourname@email.com, yourname@programmer.net, yourname@mad.scientist.com, yourname@rockfan.com, yourname@brazilmail.com, yourname@hackermail.com, among many others.
Visit mail.com site: www.mail.com
3 comments | tags: linuxmail, nerd, personalized e-mail | posted in Etc, Planet INdT
May
21
2009
Éverton Arruda
A few days ago i was looking for a C++ book and after some searches i ended up in a wiki called WikiBooks. This Wiki is, as written in the site, a Wikimedia community for creating a free library of educational textbooks that anyone can edit.
It is alive since July 10, 2003, and is also available in many other languages.
:wq
no comments | tags: Free books, Study, WikiBooks | posted in Etc, Planet INdT