Mar 29 2010

Why aptitude?

Éverton Arruda

Are you one of those people who use aptitude instead of apt-get and don’t know why? Well, i have a confession to make: until today, i was one of those people…

I knew that aptitude was an upgraded version of apt-get and i’m used to use it, but a i never knew what makes it better than apt-get and never needed to know why, but today, while reading Planet Debian (http://planet.debian.org), i saw Jan Hauke Rahm chatting with dpkg bot (http://jhr-online.de/54), in #debian on irc.debian.org, and at some point of the chat he asks to dpkg: “why aptitude?”,  and it answers:

dpkg > aptitude has more advanced conflict/dependency resolution and will often find a solution where apt-get gives up.  It can be used from the command line like apt-get plus an interactive resolver makes it much easier to recover from broken dependencies.  It has advanced search capabilities (see <aptitude search>.

Thanks to that chat, and the consequent blog post, now i’m enlightened =D.

I chatted a little with dpkg, too, but he wasn’t such a nice bot to me, he asked if i was smoking crack =/.

:wq


Mar 12 2010

Progress bar in cp command

Éverton Arruda

Reading Planet Debian (http://planet.debian.org) i’ve seen an interesting post, made by Daniel Stone (http://www.fooishbar.org/blog/tech/), in which he links to Chris Lamb’s blog (http://chris-lamb.co.uk/).

In the post, he answers the following question: ‘Can you get cp to give a progress bar like wget?’. The answer is the name of the post: ‘damn right you can’.

Check it out: http://www.fooishbar.org/blog/tech/cp-progress-bar-2010-03-04-12-15.html

:wq


Mar 12 2010

Chamada de trabalhos para FLISOL 2010 Amazonas

Éverton Arruda

FLISOL

No dia 24 de Abril de 2010, será realizado, em toda a América-latina, o Festival Latino-Americano de Instalação de Software, FLISoL.

Em Manaus, este evento já virou tradição. O evento é realizado com palestras, oficinas e mini-cursos relacionados ao mundo do Software Livre, visando a difusão de sua filosofia e incentivando o uso de alternativas livres para softwares proprietários.

Se você possui uma palestra (técnica ou filosófica), oficina ou minicurso, relacionado a Software Livre, que gostaria de ministrar no evento, envie um e-mail para brankinhu@gmail.com e danielbrunos@gmail.com no seguinte formato:

ASSUNTO: Proposta de [Palestra/Minicurso/Oficina] FLISoL 2010
MENSAGEM:
Nome do palestrante
Título da [Palestra/Minicurso/Oficina]
Resumo da [Palestra/Minicurso/Oficina]

Escolhendo entre um dos tipos: Palestra, Minicurso ou Oficina.

O prazo para envio de proposta é até o dia 4 de abril.

Aguardamos a sua proposta!

Links:
Projeto Software Livre Amazonas: http://am.softwarelivre.org
FLISOL 2010 Amazonas: http://am.softwarelivre.org/flisol


Feb 25 2010

I Love Free Software

Éverton Arruda

Visit the Campaign WebSite: http://fsfe.org/campaigns/valentine-2010/valentine-2010.html

I saw this at Daniel Bruno’s blog.


Dec 16 2009

Bossa Conference ’10 – Call for presentations

Éverton Arruda

‘As always, the Bossa’10 conference changes paradigms and moves its structure to Manaus – Amazonia. Looking for a new atmosphere the Organization committee found the perfect place for next years conference. So, wait for the new website in December’09 and be part of this new ERA of Bossa Conference. BOSSA’10 – The Bossa in the Jungle!’

The Call for presentation is Officially Opened! So, if you want to share with us your knowledge, feel free to submit your presentation. The period for submissions is from September, 1st to January, 1st, but as soon you send your submission, more chances you’ll have.

To submit a presentation, all you have to do is send an e-mail to cfp AT bossaconference DOT org with the following informations:

Name:

Nickname (handle):

Email:

City:

Country:

Presentation Title:

Abstract ([200,500] words):

Keywords:

Attachments (paper, presentation, pictures, videos, docs, links, …) or Links:

Need sponsorship ?!

Reasons for sponsorship:

For mor information, see the Bossa Conference Homepage: http://bossaconference.indt.org/

We are waiting for you!


Dec 4 2009

Creating Web Albums with gThumb

Éverton Arruda

If you want to create a web album with some images you have in your computer, with Linux as your OS, i recommend you to use gThumb.

gThumb is, as said in WikiPedia (http://en.wikipedia.org/wiki/GThumb):

… an open-source image viewer and organizer for the GNOME desktop environment released under the GNU General Public License. It was originally based on GQView, and is designed to have a clean, simple interface.

gThumb Homepage: http://gthumb.sourceforge.net/

INSTALLING GTHUMB:
I’m using Ubuntu 9.04, named Jaunty Jackalope, to write this tutorial, so the installation process is very simple, all you have to do is run:

1
# aptitude install gthumb

This should work the same way for Debian GNU/Linux, but if you’re using another distro Linux, you might have to compile gThumb.

CREATING WEB ALBUM:
When you run gThumb you’ll see this interface:

gThumb Interface

I mapped it to make it easier to follow:

gThumb Interface Mapped

The steps to create the Web Album are:
1 – Create directory to keep the images:
First create a directory and put the images you’d like to be in the album in it.

2 – Open directory with gThumb:
In gThumb interface, select the directory in which the images are (#1 in MAP)

3 – Select the images you’d like to show in the album:
After opening the directory, which contains the images, you’ll have to select the images you’d like to show in the album (#2 in MAP)

4 – Open the “Create Web Album” window and configure it:
Now, with all images selected, go to Tools > Create Web Album (#3 in MAP)
Then you should see a window like this:

gThumb Web Album Interface mapped

This is where you’ll configure your web album. The options are:

#1 – Where the web album files will be saved.
#2 – The name of the page, i recommend you to leave it as it is.
#3 – How many images per line and per column will be shown.
#4 – The title of the page, or header message, if you preffer.
#5 – The footer message of the page.
#6 – The theme that will be used in the web album.

The other options are not so important for me, so i didn’t put them in here.

In the end, you’ll have something like this: http://am.softwarelivre.org/galeria/fedora12releaseparty/

:wq


Nov 9 2009

Highlighting “@all” in XChat2

Éverton Arruda

For some time i tried to highlight the “@all” string in XChat2[0], an IRC client, but when the XChat2 highlight feature reads the “all” word, it highlights all messages, in all channels.

Fortunately, i found a python script that highlights defined strings, and it works great for me. The script name is hilight-phrase, you can find it at ctrl+d blog[1].

[0] http://xchat.org/
[1] http://www.control-d.com/?p=81

:wq


Sep 25 2009

Downloading files from Rapidshare through shell

Éverton Arruda

I’ve seen, at Viva o Linux (http://www.vivaolinux.com.br, in portuguese), a post talking about a ShellScript that downloads files from RapidShare through shell. As, sometimes, i download files from that site,  i decided to try it out and it worked fine for me.

This script uses wget to download the first html page, then it gets the link to the page that contains the link to the file, download this second page, checks the timer and waits for it to finish, after it finishes, the script starts the file download. I noticed that, if the download stops, this script continues from where it stopped.

This is how it goes:

1 – Download the ShellScript:

1
$ wget http://tokland.googlecode.com/svn/trunk/rapidshare/rapidshare-dl.sh

2 – Set execution permission:

1
$ chmod +x rapidshare-dl.sh

3 – Download File:
There are two ways you can do this:
Passing the link as an argument:

1
$ ./rapidshare-dl.sh http://link.to.rapidshare

You can also add more than one link:

1
$ ./rapidshare-dl.sh http://link.to.rapidshare http://another.link.to.rapidshare

Passing a text file as an argument:
Create a text file, named links.txt for example, and put each link in a different line, like:

1
2
3
http://link1.to.rapidshare
http://link2.to.rapidshare
http://link3.to.rapidshare

Then you run the script with the text file name as an argument:

1
$ ./rapidshare-dl.sh links.txt

You can create a link to the script in, or copy it to, the /usr/bin directory, making it executable from everywhere:

1
# ln -s $PATH_TO_SCRIPT/rapidshare-dl.sh /usr/bin/rapidshare-dl
1
# cp  rapidshare-dl.sh /usr/bin/rapidshare-dl

NOTE: This script works only in Unix-like systems.

There is also plowshare, which is another shellscript that does the same thing, and more, but i haven’t tested it yet. In the project page it says that it supports Megaupload, Rapidshare, 2Shared, 4Shared, ZShare, Badongo, DepositFiles and Mediafire, and it also uploads files to those share sites.
PlowShare Page: http://code.google.com/p/plowshare/


Sep 16 2009

Software Freedom Day 2009 – Amazonas

Éverton Arruda
Software Freedom Day

Software Freedom Day

O Software Freedom Day  é uma celebração mundial de Software Livre e de Código Aberto (FOSS – Free and Open Source Software). O objetivo desta celebração é educar o publico mundial sobre todos os benefícios de se utilizar Softwares Livres e de Código Aberto de alta qualidade na educação, no governo, em casa e nos negócios — em resumo, em todo lugar! A organização sem fins lucrativos Software Freedom International coordena o Software Freedom Day a nível global, dando suporte, brindes e um ponto de colaboração, mas times voluntários em todo o mundo organizam os eventos locais para impactar as suas próprias comunidades.

PSL-AM

PSL-AM

Em Manaus, o evento será realizado para divulgar a criação do PSL-AM, Projeto Software Livre – Amazonas, que irá, através de palestras em várias universidades, simultaneamente, divulgar o Software Livre e Open Source e explicar mais sobre esse mundo Livre e onde o PSL se encaixa neste assunto.

Site: http://am.softwarelivre.org


Sep 3 2009

Away++ XChat2 Plugin

Éverton Arruda

I’ve created a page named Development, where i’ll put some tools, scripts and softwares made by me, or in which i had a hand on.

To start that page, i put a plugin for XChat2, named Away++. It changes your nick to an away-nick when you set your status to away and changes your nick back and identifies it when you set your status to back.

:wq