Thursday, August 26, 2010

How to get the use of your number pad back in Ubuntu

I think I accidentally pressed SHIFT and Num Lock keys together. This caused my number pad "stop to work" and start to act like a mouse. All I had to do to fix it was press again SHIFT and Num Lock.

Thanks to rvdavid

Wednesday, August 25, 2010

Happy Birthday Linux!

Long life for our greatest OS!

http://linux-bangalore.org/blug/articles/bday.php

Monday, August 23, 2010

Como contribuir com o Ubuntu - parte 2

Esta é uma outra forma de contribuir para quem tem pouco tempo para oferecer: traduzir os pacotes de programas.
O site do time de tradução do Brasil é: http://wiki.ubuntu-br.org/TimeDeTraducao/MaverickPacotes

E como "ouvi" dizer: "não é porque podemos fazer pouco que não vamos fazer nada" (Ayrton Araújo).

Saturday, August 14, 2010

Fresh install - First settings

That's how I set up a new Ubuntu installation.

1. Let the system make its updates (Menu > System > Administration > Update Manager or on a terminal: update-manager)

2. Install proprietary drivers (Menu > System > Administration > Hardware Drivers or on a terminal: jockey-gtk)

3. Copy my keyboard shortcuts folders to
             ~/.gconf/apps/metacity
          and
             ~/.gconf/desktop/gnome/keybindings

    And copy my OpenOffice folder settings to
             ~/.openoffice.org/3/user

    And copy my Templates to
             ~/

    Optionally in a terminal:
cp -R ~/Downloads/metacity/ ~/.gconf/apps/ ; cp -R ~/Downloads/keybindings/ ~/.gconf/desktop/gnome/ ; cp -R ~/Downloads/user/ ~/.openoffice.org/3/ ; cp -R ~/Downloads/Templates/ ~/ 

4. Configure my panel to  have
Main Menu / Workspace Switcher / Global Menu / System Monitor
and set the my weather location.
Should looks like this:




5. Open "Ubuntu Software Center" and install:
       - Parcellite (clipboard manager)
       - Gimp (image editor)
       - Chromium (web browser)
       - Home Bank (finance manager)
       - Stellarium (planetarium)
       - Cheese (webcam booth)
       - Kid3-qt (mp3 tag)
       - Compiz (advanced desktop effects settings and extra plugins)
       - MountManager (configure fstab)
       - Sun Java Runtime Environment
       - Sun Java Plugin (browser plugin)
       - GStreamer extra plugins
       - ChmSee ou Kchmviewer
       - Desktop-Webmail (see this)
       - Tracker (Gnome search tool)
       - GNU Chess
       - Restricted Extras (support for mp3 and others audio formats)
       - Docky (for my wife and newcomers)

Or else copy this on a terminal:

sudo apt-get update ; sudo apt-get install -y aptitude ; sudo aptitude install -y parcellite gimp chromium-browser homebank stellarium cheese kid3-qt compizconfig-settings-manager compiz-fusion-plugins-extra mountmanager sun-java6-jre sun-java6-plugin gstreamer0.10-plugins-ugly kchmviewer desktop-webmail tracker-search-tool glchess ubuntu-restricted-extras flashplugin-nonfree 
ps.: with this command won't install Docky and will also install:

   - aptitude, as it is preferable to apt-get (http://ubuntuforums.org/showthread.php?t=379804) and then use aptitude to install others packages.
   - adobe-flashplugin-nonfree, wich you can get here too: http://get.adobe.com/flashplayer


6. Install Dropbox: https://www.dropbox.com/install

7. Install Virtualbox: http://www.virtualbox.org/wiki/Linux_Downloads

8. Medibuntu: https://help.ubuntu.com/community/Medibuntu

a) Add repository:
sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update 
b) Install some stuffs and libdvdcss2 to play encrypted DVDs.
sudo aptitude -y install app-install-data-medibuntu apport-hooks-medibuntu libdvdcss2 

Updated at:
01/11/2010

That's it. ;-)

Thursday, July 15, 2010

Como contribuir com o Ubuntu

Há várias formas de contribuir com o Ubuntu: http://www.ubuntu.com/community/get-involved

Há pessoas que gostariam de contribuir com doação em dinheiro, mas é um pouco difícil de encontrar o endereço correto no site. Aqui está: http://www.ubuntu.com/community/get-involved/donate

Um abraço!

How to donate to Ubuntu

There are many ways to contribute with Ubuntu: http://www.ubuntu.com/community/get-involved

But you can also donate money, although it maybe a little hard to find how: http://www.ubuntu.com/community/get-involved/donate

Monday, July 12, 2010

How to open mailto link in gmail

On terminal:
# sudo apt-get install desktop-webmail

Then:
# gnome-default-applications-properties
And change "Mail Reader" to Desktop-Webmail.

Then click on a mailto link and choose gmail.

That's it.

 Found here: http://superuser.com/questions/32493/how-do-i-make-mailto-links-open-gmail-in-ubuntu

Saturday, July 3, 2010

How to hide the mounted partitions on gnome

On terminal:
# gconf-editor /apps/nautilus/desktop/ 


and then uncheck the box "volumes_visible"


That's it.

Monday, June 28, 2010

Saturday, June 19, 2010

Google Repositories

Great news.




# Google repository
deb http://dl.google.com/linux/deb/ stable non-free

# Google testing repository
deb http://dl.google.com/linux/deb/ testing non-free
# Get the pub key: https://dl-ssl.google.com/linux/linux_signing_key.pub

source: http://www.google.com/linuxrepositories/apt.html

Tuesday, June 1, 2010

Tweak Ubuntu

This is a great and easy way to configure some settings and install some apps: http://ubuntu-tweak.com .

This is to easy install some windows apps: http://www.playonlinux.com .

That's it.

Saturday, May 22, 2010

Remote Desktop Access

Some time ago I write about rdesktop for Remote Desktop assistance from Linux to Windows. Now I will tell you how to do a Remote Desktop assistance from Linux to Linux. 


Open a terminal at the machine that will have assistance and type:


# vino-preferences


Than configure.




Than at the machine that will assist type:


# vinagre


That's it.

Wednesday, May 12, 2010

Internet Explorer

Once I thought I would never open the MS Internet Explorer again. But than comes a site that has forced me to use it. I had no choice. Here is how to install this software on linux.

# sudo apt-get install playonlinux

Then open Menu > Games > PlayonLinux and choose IE from Internet section.

Friday, May 7, 2010

Remote Desktop Help

Do you want to help a friend with windows bugs?
There is at least two tools to use: rdesktop, tsclient.

Update at 12/31/2010 (31/12/2010).

Sunday, April 25, 2010

Configure Grub2

In terminal:

gksu gedit /etc/default/grub
sudo update-grub

Slow USB transfer rate

I was getting super low speed while transferring files to an usb drive. Updating the kernel solved this problem for me.

Go to http://kernel.ubuntu.com/~kernel-ppa/mainline  and choose a recent linux-image file. Download and install.

That's it.

Thursday, April 22, 2010

Imposto de Renda




Amigos, 

Vou direto ao assunto: 

1) Instalar o programa para fazer a declaração:

Primeiro faça o download (www.receita.fazenda.gov.br/PessoaFisica/IRPF/2010/declaracao/download-programas.htm), coloque na pasta "Downloads" e abra um terminal e digite

chmod +x ~/Downloads/IRPF2010linux-x86v1.0.bin

depois inicialize a instação:

~/Downloads/IRPF2010linux-x86v1.0.bin

Observações: 
I. As letras do menu iniciar podem ficar esquisitas, então abra um terminal e digite:

nautilus ~/ProgramasRFB/irpf2010/

daí clique com o botão da direita do mouse sobre o arquivo "irpf.jar" e escolha "Abrir com o Sun Java 6 Runtime"

II. Dentro do programa, para navegar pelas pastas, segure o Ctrl e aperte enter.


2) Instalar o programa para transmitir a declaração:

Primeiro faça o download (www.receita.fazenda.gov.br/PessoaFisica/IRPF/2010/declaracao/download-programas.htm), coloque na pasta "Downloads" e abra um terminal e digite

chmod +x ~/Downloads/ReceitanetJava2010.02a_setup_linux.bin

depois inicialize a instalação:

~/Downloads/ReceitanetJava2010.02a_setup_linux.bin 



Observações:


Caso apareça o seguinte erro: "The wizard cannot continue because of the following error: could not load wizard specified in /wizard.inf (104)", então será necessário indicar o caminho para o Java Runtime Environment, que no meu computador (64bits) é  /usr/lib64/jvm/java-6-sun-1.6.0.15/jre , mas no seu pode ser um pouco diferente.
Digite:



~/Downloads/ReceitanetJava2010.02a_setup_linux.bin -is:javahome /usr/lib64/jvm/java-6-sun-1.6.0.15/jre



Um abraço,
André.

Tuesday, April 13, 2010

Do you need to retrieve an accidentally deleted file?

If you use Linux you're in luck.

sudo aptitude install testdisk
sudo photorec
Just to make it easy to search I will add these keywords: undelete, unerase, recover.

Thursday, March 25, 2010

Linux virus


We Linux users may sometimes have the impression that we were excluded from the big party. So here's how to install a virus on Linux.



"
evilmalware 0.6 (beta)
Copyright 2000, 2001, 2003, 2005 E\/17 |-|4><0|2z Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY, COMPLETE DESTRUCTION OF IMPORTANT DATA or FITNESS FOR A PARTICULAR PURPOSE (eg. sending thousands of Viagra spams to people accross the world).

Basic Installation

Before attempting to compile this virus make sure you have the correct version of glibc installed, and that your firewall rules are set to ‘allow everything’.
  1. Put the attachment into the appropriate directory eg. /usr/src.
  2. Type ‘tar xvzf evilmalware.tar.gz’ to extract the source files for this virus.
  3. cd’ to the directory containing the virus' source code and type ‘./configure’ to configure the virus for your system. If you're using ‘csh’ on an old version of System V, you might need to type ‘sh ./configure’ instead to prevent ‘csh’ from trying to execute ‘configure’ itself.
  4. Type ‘make’ to compile the package. You may need to be logged in as root to do this.
  5. Optionally, type ‘make check_payable’ to run any self-tests that come with the virus, and send a large donation to an unnumbered Swiss bank account.
  6. Type ‘make install’ to install the virus and any spyware, trojans pornography, penis enlargement adverts and DDoS attacks that come with it.
  7. You may now configure your preferred malware behaviour in /etc/evilmalware.conf.
SEE ALSOevilmalware(1)evilmalware.conf(5),
please_delete_all_my_files(1)    
"
This joke was found here: http://www.gnu.org/fun/jokes/evilmalware.html at 17h58 GMT 25/03/2010.

Sunday, February 14, 2010

How to Find a File Looking Inside It

# How to find files by looking for words within it
#
# One way I found to do this is to install Google Desktop (isn't Google awesome?)
#
# You may wish to install wvWare and catdoc first, to be able to look inside Microsoft documents like doc, docx. Just go to terminal and type:


sudo apt-get install wv


sudo apt-get install catdoc



# Get this app from http://desktop.google.com
#
# Take a look at this pictures






Tuesday, February 9, 2010

Apps trying to connect with Google


# This apply to Windows Mobile (winmo) and others softwares (like Empathy IM Client) that try to connect with Google
#
# This is how to fix errors with connectivity with Google
#
# Google Sync (or Microsoft Exchange) may give some error like "incorrect password 0x85010002"
#
# You will have to Unlock Captcha: https://www.google.com/accounts/DisplayUnlockCaptcha
#
# Thanks to bbakken.
#
# That's it ;-)

How to get a Public Key in Debian based distros

# Ubuntu - Karmic Koala
#
# This is how to get a key when there are new repository
#
# Pick the last 8 numbers from the error data. See the example:
#
# "W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 632D16BB0C713DA6".
# In this case, the last 8 numbers are: 0C713DA6.
#
# Then in terminal:
#
# gpg --keyserver keyserver.ubuntu.com --recv 0C713DA6
#
# gpg --export --armor 0C713DA6 | sudo apt-key add - && sudo apt-get update
#
# That's it ;-)

Monday, February 8, 2010

Introduction

First of all: what "my two cents" means?
It's an American idiomatic expression. Take a look at this.

Why another blogger?
That is an old idea to share the solutions to the problems that eventually shows up at computers. I've kept them, and I shall now share them.

Why in english?
That is because I wish to share these to the world. Don't think I'm a megalomaniac [indeed I'm a psychiatrist], don't take it too seriously, it's just my two cents.

Apresentação

Este blog é minha pequena contribuição para ajudar a resolver os bugs nossos de cada dia.

Pretendo escrever as soluções também em inglês para que possa ser útil para o mundo todo.

Um abraço,
desgua.

Wednesday, November 1, 2000

Meus outros sites

Para referência, estes são meus outros sites:
Consultório Lapa: http://www.wix.com/desgua/sm
Consultório Vila Gustavo: http://www.wix.com/desgua/med