Sunday, November 28, 2010
Thursday, November 18, 2010
Comunidades Virtuais à volta do Linux
Ontem a noite (16 de Novembro de 2010), tive a oportunidade de assistir a mais uma sessão da Braga Geek Nights no Estaleiro Cultural Velha-a-Branca. Sendo um dos temas de destaque, a História do Gildot, apresentado por colegas de trabalho.
Apesar de nunca ter estudado em Braga, sempre conheci o Gildot. Este como um portal de notícias sobre o mundo Linux , e apesar da críticas que ia lendo em vários foruns. Sendo a maior delas o conceito de Editor. Sempre reconheci o valor que tinha para a comunidade do mundo de Linux. Alias maior parte das críticas falavam sobre o mesmo. A existência de um grupo de editores, que poderiam ou não aprovar um artigo para o portal. Ontem tive a reposta, do porque deste "clã" de editores. Se pensarmos bem na altura, não existia este conceito de blog, não havia os facebooks, os twitters. As pessoas que gostariam de ver os seus howtos publicados na Internet, ou tinha uma página pessoal, que podia ou não estar a ser referenciado num motor de busca. Ou então espalhavam os howtos pelos newsgroups. Se o artigo fosse publicado no Gildot, então sim teria interesse para a comunidade,
Se pensarmos bem o conceito do Gildot, não era mais que o conceito de um jornal ou de uma revista. Se o artigo tiver qualidade, se cativar e tiver um público alvo, então sim seria publicado.
O que me está a fazer escrever este artigo/comentário, ou até mesmo devaneio, foi ver que as dificuldades sempre existiram para cativar pessoal para o mundo Linux. Se bem que os tempos eram bastantes diferentes, estamos a falar de finais do ano de 1998. Onde o acesso à internet era limitado, não existia este boom que vemos hoje em dia. Internet quase em todo o lado.
Com base nas comunidades que se viam a nascer no estrangeiro, cada vez mais se importavam estas para Portugal. Como é o caso das comunidades de grupos de Estudantis, os chamados Grupos de Linux. Eu tive a sorte de ter feito parte da fundação de um destes grupos, na Universidade de Trás-os-Montes e Alto Douro, o GLUTAD.
As tarefas iniciais, não eram nada mais que elaborar as famosas Linux Installation Partys, e ajudar novos utilizadores na configuração e utilização do sistema operativo. Até aqui tudo bem, até a altura que estes utilizadores desaparecem. Sendo que maior parte destes utilizadores desistem porque encontraram uma dificuldade que não conseguiam superar. Apesar de todo custo este Grupo ainda se mantém, apenas encontra-se em estado de coma.
Apesar de me já me encontrar do lado de fora da Universidade, consigo reparar que maior parte dos grupos académicos, evoluíram para outro tipo de comunidade. A maior parte destas "novas comunidades", chamam-se grupos técnicos, que podem ser com base numa plataforma ou uma distribuição Linux.
Desta forma pergunto, será que este tipo de evolução, poderá chegar a um patamar ainda maior?
Etiquetas:
Braga Geek Nights,
comunidades,
glutad,
Linux
Friday, November 12, 2010
Thunar Actions
Thunar is a new modern file manager for the Xfce Desktop Environment. Thunar has been designed from the ground up to be fast and easy-to-use.
Here’s how you can define a new custom action. We will be working with the script used in: http://jpatrao-online.blogspot.com/2010/08/convert-m4a-to-mp3.html
Create the following directory: mkdir ~/.config/Thunar/scripts
Copy and change the permissions of the script "flac_mp3": chmod +x ~/.config/Thunar/scripts/flac_mp3
Now, it's time to create a "Custom Action" on Thunar. Like the screen shoots below:
Name: flac2mp3
Description: Convert flac to mp3
Command: /home/jpatrao/.config/Thunar/scripts/flac_mp3
And select OK. (Tip: Check out the separator Appearance Condition)
Testing: You will see something like this when right-clicking on a flac file:
In your folder you will see a new file mp3, and it's it.
Tuesday, November 9, 2010
Recovering deleted files with Foremost
Originally developed by the United States Air Force Office of Special Investigations and The Center for Information Systems Security Studies and Research , foremost has been opened to the general public.
foremost - Recover files using their headers, footers, and data structures
For more information: man foremost
Audit your drive for recoverable files:
# foremost -w -i /dev/sda -o /recovery/foremost
Have foremost recover pdf files: (example)
# foremost -t pdf -i /dev/sda -o /recovery/foremost
complete list of recoverable filetypes for usage with the "-t type":
jpg Support for the JFIF and Exif formats including implementations
gif
png
bmp Support for windows bmp format.
avi
exe Support for Windows PE binaries, will extract DLL and EXE files
along with their compile times.
mpg Support for most MPEG files (must begin with 0x000001BA)
wav
riff This will extract AVI and RIFF since they use the same file for‐
mat (RIFF). note faster than running each separately.
wmv Note may also extract -wma files as they have similar format. mov
ole This will grab any file using the OLE file structure. This includes PowerPoint, Word, Excel, Access, and StarWriter
doc Note it is more efficient to run OLE as you get more bang for your buck. If you wish to ignore all other ole files then use this.
zip Note is will extract .jar files as well because they use a simi‐
lar format. Open Office docs are just zip’d XML files so they are extracted as well. These include SXW, SXC, SXI, and SX? for undetermined OpenOffice files.
rar
htm
cpp C source code detection, note this is primitive and may generate documents other than C code.
all Run all pre-defined extraction methods. [Default if no -t is specified]
Etiquetas:
Debian,
deleted files,
foremost,
Linux,
recover
Saturday, November 6, 2010
Postler Desktop Mail Client
A super sexy, ultra simple desktop mail client built in vala
Postler started as a mock-up by DanRabbit of an email client for Elementary OS. Christian Dywan of Midori soon took on the task of turning Daniel's vision into a reality. Postler aims to be easy, simple, clean, beautiful, and automagic. It get's out of the users way and let's her simply get her mail!
If you’re curious about what it is...you’ll find the code branch and associated contact information over @ launchpad.net/postler
Postler started as a mock-up by DanRabbit of an email client for Elementary OS. Christian Dywan of Midori soon took on the task of turning Daniel's vision into a reality. Postler aims to be easy, simple, clean, beautiful, and automagic. It get's out of the users way and let's her simply get her mail!
If you’re curious about what it is...you’ll find the code branch and associated contact information over @ launchpad.net/postler
Tuesday, November 2, 2010
Playlist #2 - "músicas-que interrompam--leitura.."
.... de-tão-boas-que são"
- Yan Tiersen - Sur le fil
- Bjork - Human Beavior
- The Strokes - Heart in a Cage
- Vampire Weekend - Cousins
- DeVotchKa - The Enemy Guns
- Arcade Fire - Power Out
- Manu Chao - La Rumba de Barcelona
- Nouvelle Vague - Dancing With Myself
- Fatboy Slim - Lazy
Monday, November 1, 2010
Enable FN Keys #debian
Edit grub file:
Add acpi_osi=Linux to the follwing line, like that:
# vim /etc/default/grub
Add acpi_osi=Linux to the follwing line, like that:
# GRUB_CMDLINE_LINUX_DEFAULT ="quiet splash acpi_osi=Linux"Save the file and reboot
Tuesday, October 26, 2010
Playlist #1 - Wake Up
Wake up... walk out
- Four tet - Circling
- Danger Mouse and Sparklehorse ft Flamming Lips - Revenge
- Radiohead - Morning Bell
- Arcade Fire - Wake Up
- Editors - Escape the Nest
- Massive Attack feat Mos Def - I Against I
- Murder By Death - Comin' Home
- Thievery Corporation - Sound the alarm
- Unkle Sounds - Do Androids Dream of Electric Beats?
Sunday, October 10, 2010
Encrypt text files
Use vi -x filename to edit a new file. vi prompts you to set a password, after which it encrypts the content of the file.
Tuesday, August 17, 2010
Convert .m4a to mp3
#!/bin/bash
for i in *.m4a; do
echo "Converting: ${i%.m4a}.mp3"
faad -o - "$i" | lame - "${i%.m4a}.mp3"
done
/bin/m4a2mp3 (END)
for i in *.m4a; do
echo "Converting: ${i%.m4a}.mp3"
faad -o - "$i" | lame - "${i%.m4a}.mp3"
done
/bin/m4a2mp3 (END)
You need to install faad and lame
Tuesday, June 15, 2010
Convert flac to mp3
you just need to install flac and lame and run this on you console
for file in *.flac; do $(flac -cd "$file" | lame -h - "${file%.flac}.mp3"); done
for file in *.flac; do $(flac -cd "$file" | lame -h - "${file%.flac}.mp3"); done
Thursday, April 22, 2010
Compact Virtualbox disk images vdi and save disk space
How to compress the Virtual Box disk image?
- Run this from the Linux command vboxmanage modifyvdi /path/to/your/vdi-disk compact
Etiquetas:
Linux,
VirtualBox,
virtualization
Wednesday, January 27, 2010
Huawei e1750 on Linux (TMN - Portugal)
Once again the answer is usb_modeswitch!!! If you remember this: Tutorial de Instalação para Placa TMN de Banda Larga ZTE MF620, the process is the same.
In a few steps, you need to do this:
If you prefer, it is possible to install the deb package of usb_modeswitch :
edit the file /etc/usb_modeswitch.conf
and add this vendor to the file:
Create the following file in udev rules
restart service udev
In a few steps, you need to do this:
sudo apt-get install libusb-dev
wget http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-1.1.0.tar.bz2
sudo tar xjvf usb-modeswitch-1.1.0.tar.bz2
cd usb-modeswitch-1.1.0/
make clean
make
make install
If you prefer, it is possible to install the deb package of usb_modeswitch :
wget https://forge.betavine./frs/download.php/490/usb-modeswitch_0.9.7_i386.deb
dpkg -i usb-modeswitch_0.9.7_i386.deb
edit the file /etc/usb_modeswitch.conf
vim /etc/usb_modeswitch.conf
and add this vendor to the file:
DefaultVendor= 0x12d1
DefaultProduct= 0x1446
TargetVendor = 0x12d1
TargetProduct= 0x1001
MessageContent="55534243000000000000000000000011060000000000000000000000000000"
MessageEndpoint=0x01
CheckSuccess=5
Create the following file in udev rules
vim /etc/udev/rules.d/15-huawei-e1750.rules
Copy the following text:SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch"
restart service udev
With network-manager configure to use TMN/etc/init.d/udev restart
Etiquetas:
Huawei e1750,
Linux,
TMN,
Ubuntu 9.10
Monday, January 18, 2010
Saturday, January 9, 2010
Wednesday, January 6, 2010
Quick tip for instaling a package without a terminal
Quick tip here
Sunday, January 3, 2010
Packages for Asus eee pc
Here are some useful packages for Asus eee pc, eeepc-acpi-utilities_1.1.48_i386 and eeepc-tray_1.0.17_i386.
Eee-control is an easy-to-use utility for controlling Eee PC hardware under Linux.
Eee-control is an easy-to-use utility for controlling Eee PC hardware under Linux.
It can toggle hardware (WiFi, Bluetooth, etc.) on and off, lets you configure all hardware hotkeys, enables aggressive powersaving, and more.
Subscribe to:
Posts (Atom)