<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://easylinux.info/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Ubuntu:Feisty pt - Revision history</title>
		<link>http://easylinux.info/index.php?title=Ubuntu:Feisty_pt&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.1</generator>
		<lastBuildDate>Sat, 25 May 2013 19:21:10 GMT</lastBuildDate>
		<item>
			<title>Krampo:&amp;#32;Protected &quot;Ubuntu:Feisty pt&quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite))</title>
			<link>http://easylinux.info/index.php?title=Ubuntu:Feisty_pt&amp;diff=22916&amp;oldid=prev</link>
			<description>&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/Ubuntu:Feisty_pt&quot; title=&quot;Ubuntu:Feisty pt&quot;&gt;Ubuntu:Feisty pt&lt;/a&gt;&amp;quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;http://www.textacsitdronous.com &lt;br /&gt;
'''* Em traduÃ§Ã£o * Brevemente Guia Completo *'''&lt;br /&gt;
&lt;br /&gt;
http://ubuntuguide.org/images/b/b2/Ubuntuguide_logo.png&lt;br /&gt;
&lt;br /&gt;
= Guia nÃ£o oficial para iniciantes do Ubuntu 7.04 (Feisty Fawn) =&lt;br /&gt;
&lt;br /&gt;
''' O Ubuntu 7.04 (Feisty Fawn) foi lanÃ§ado a 19 de Abril de 2007. Este guia estÃ¡ em constante evoluÃ§Ã£o. A sua ajuda a melhorar e testar este guia Ã© essencial.'''&lt;br /&gt;
&lt;br /&gt;
Este guia foi comeÃ§ado por [[User:Jiyuu0|Chua Wen Kiat]] (Kuala Lumpur, MalÃ¡sia). Neste momento estÃ¡ a ser mantido pela Universidade da LetÃ³nia e todos estÃ£o convidados a contribuir.&lt;br /&gt;
&lt;br /&gt;
Este guia pode ser discutido no fÃ³rum oficial [http://www.ubuntuforums.org/forumdisplay.php?f=78 UbuntuGuide.org Forum] em ubuntuforums.org.  Entre na discussÃ£o.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pode encontrar no [http://www.GuiaUbuntuPT.org GuiaUbuntuPT.org] um wiki com mais guias e informaÃ§Ãµes para o ajudar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Para editar pÃ¡ginas precisa de se registar -- [[Special:Userlogin|register ]]'''&lt;br /&gt;
&lt;br /&gt;
Se tiver alguma dÃºvida, envie um e-mail para  ''ubuntuguide -at- ubuntuguide.org''&lt;br /&gt;
&lt;br /&gt;
{{Contributors|contributors=Contribuidores: | and_other_friends_of_our_community=and other friends of our community. }}&lt;br /&gt;
&lt;br /&gt;
* '''[[Ubuntu_Feisty | 7.04 (Feisty Fawn)]]'''&lt;br /&gt;
{{FeistyFawnLanguageBar|languages=Linguagens:|InProgress=In progress:}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=== VersÃµes Anteriores ===&lt;br /&gt;
&lt;br /&gt;
*[[Ubuntu_edgy | Ubuntu 6.10 (Edgy Eft)]]&lt;br /&gt;
{{UbuntuLanguageBar|languages=Linguagens:|InProgress=In progress:}}&lt;br /&gt;
&lt;br /&gt;
*[[Ubuntu_dapper | Ubuntu 6.06 (Dapper Drake)]]&lt;br /&gt;
{{UbuntuLanguageBar|languages=Linguagens:|InProgress=In progress:}}&lt;br /&gt;
&lt;br /&gt;
* [[Ubuntu | 5.10 (Breezy Badger)]]&lt;br /&gt;
{{BreezyLanguageBar|languages=Linguagens:|InProgress=In progress:}}&lt;br /&gt;
&lt;br /&gt;
* Ubuntu 5.04 em BÃºlgaro: http://www.ubuntuguide.hit.bg/&lt;br /&gt;
&lt;br /&gt;
Se utiliza uma versÃ£o mais antiga do Ubuntu (Breezy, Dapper, Edgy), Ã© aconselhÃ¡vel a actualizaÃ§Ã£o para o Feisty.&lt;br /&gt;
Veja aqui como proceder: [[http://easylinux.info/wiki/Ubuntu:Edgy#How_to_upgrade_from_Hoary_Hedgehog_-.3E_Breezy_Badger_-.3E_Dapper_Drake| Como actualizar de Hoary Hedgehog -&amp;gt; Breezy Badger -&amp;gt; Dapper Drake]]&lt;br /&gt;
&lt;br /&gt;
== Notas Gerais ==&lt;br /&gt;
&lt;br /&gt;
#Este Ã© o guia nÃ£o-oficial do Ubuntu 7.04 (Edgy Eft) para iniciados. NÃ£o Ã© associado com Ubuntu nem com a Canonical Ltd..&lt;br /&gt;
#Este guia pode ser discutido no fÃ³rum oficial [http://www.ubuntuforums.org/forumdisplay.php?f=78 UbuntuGuide.org Forum] em ubuntuforums.org.  Entre na discussÃ£o.  &lt;br /&gt;
#Se vir uma caixa delimitada, significa que tem de executar o comando em questÃ£o no modo Consola (AplicaÃ§Ãµes - Ferramentas do sistema - Consola) ou usar o conteÃºdo da caixa consoante o pedido..&lt;br /&gt;
#Para evitar erros de escrita, copie e cole os comandos para o modo Consola (Clique botÃ£o direito nos comandos -&amp;gt;&amp;quot;Copiar&amp;quot; ou &amp;quot;Colar&amp;quot;. TambÃ©m pode usar Ctrl+c para copiar e Shift+Insert para Colar)&lt;br /&gt;
#&amp;quot;sudo&amp;quot; significa &amp;quot;superuser do&amp;quot; ( SuperUtilizador faz ). &amp;quot;sudo&amp;quot; vai pedir &amp;quot;Password:&amp;quot;. Por favor insira Password do utilizador &lt;br /&gt;
#Se quiser mais informaÃ§Ã£o sobre algum comando, simplesmente procure nas pÃ¡ginas do manual referente usando o comando âmanâ. Por exemplo, âman sudoâ vai mostrar a pÃ¡gina do manual referente ao comando âsudoâ.&lt;br /&gt;
# Se estÃ¡ cansado de escrever &amp;quot;apt-get&amp;quot; todas as vezes, Leia [[##Como apt-get the easy way (Synaptic)]]&lt;br /&gt;
#&amp;quot;apt-get&amp;quot; e &amp;quot;wget &amp;quot; requerem uma ligaÃ§Ã£o Ã  Internet para instalar/actualizar/download dos programas.&lt;br /&gt;
#Todas as referÃªncias a &amp;quot;apt-get&amp;quot; foram substituidas por &amp;quot;aptitude&amp;quot;. Pode continuar a usar &amp;quot;apt-get&amp;quot; se assim desejar. Este ponto pode ser discutido em [http://www.ubuntuforums.org/showthread.php?t=350350 Ubuntu Forums]&lt;br /&gt;
#Para fazer download a um ficheiro, clique com o botÃ£o direito do rato -&amp;gt; Seleccione &amp;quot;Salvar link como...&amp;quot; -&amp;gt; Verifique que o nome e extensÃ£o do ficheiro estÃ£o correctos&lt;br /&gt;
#Se deseja ajudar a traduzir o Ubuntu para a sua lÃ­ngua ou ajudar o Ubuntu de outra maneira, visite https://launchpad.net/&lt;br /&gt;
#Que o espÃ­rito &amp;quot;humanidade para com os outros&amp;quot; esteja sempre consigo....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:''Se estÃ¡ a usar a versÃ£o 64-bit substitua qualquer &amp;quot;i386&amp;quot; por &amp;quot;amd64&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
== Para ComeÃ§ar ==&lt;br /&gt;
&lt;br /&gt;
;&lt;br /&gt;
&lt;br /&gt;
==== Onde ver alguns Screenshots do Ubuntu: ====&lt;br /&gt;
*[http://www.debianadmin.com/ubuntu-704feisty-fawn-screenshots-tour.html Ubuntu 7.04(Feisty Fawn) Screenshots]&lt;br /&gt;
*[http://ubuntuclips.org/ Ubuntuclips.org - tutoriais em vÃ­deo para seres humanos]&lt;br /&gt;
*[http://www.ubuntuvideo.com/ Ubuntu Video - vÃ­deos sobre linux para seres humanos]&lt;br /&gt;
&lt;br /&gt;
==== Onde ver screenshots / screencasts do Xubuntu ====&lt;br /&gt;
*[http://www.xubuntu.org/screenshots Official Xubuntu screenshots]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Onde procurar por novos programas ====&lt;br /&gt;
* http://gnomefiles.org/&lt;br /&gt;
* http://www.kde-apps.org/&lt;br /&gt;
* [http://freshmeat.net/browse/18/ http://freshmeat.net]&lt;br /&gt;
* http://sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
==== Onde procurar customizaÃ§Ãµes para o desktop ====&lt;br /&gt;
&lt;br /&gt;
* http://art.gnome.org/&lt;br /&gt;
* http://www.gnome-look.org/&lt;br /&gt;
* http://www.kde-look.org/&lt;br /&gt;
* http://xfce-look.org/&lt;br /&gt;
&lt;br /&gt;
==== Existem outros guias *buntu? ====&lt;br /&gt;
* http://xubuntuguide.org&lt;br /&gt;
* [http://www.ubuntugeek.com Ubuntu Step By Step Guides For Ubuntu Users]Website da comunindade de utilizadores de Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Upgrade do Ubuntu Edgy para o Ubuntu Feisty ====&lt;br /&gt;
&lt;br /&gt;
*[http://www.ubuntugeek.com/upgrade-ubuntu-610-edgy-eft-to-ubuntu-704-feisty-fawn-2.html Guia passo a passo de upgrade, com screenshots ]&lt;br /&gt;
&lt;br /&gt;
==== Como adicionar repositÃ³rios extra ====&lt;br /&gt;
&lt;br /&gt;
*Leia [[#Notas Gerais]]&lt;br /&gt;
*Pode adicionar repositÃ³rios extra utilizando a aplicaÃ§Ã£o Canais de Software, que pode ser encontrada no menu: '''Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Canais de Software'''.  Active os repositÃ³rios que lhe vÃ£o fazer falta (main, universe, restricted, multiverse).  Provavelmente nÃ£o precisarÃ¡ do repositÃ³rio &amp;quot;sources&amp;quot;.  '''Este Ã© o mÃ©todo recomendado para adicionar repositÃ³rios:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Pode utilizar outro mÃ©todo para adicionar repositÃ³rios, fazendo os passos seguintes '''(faÃ§a isto por sua conta e risco)''':&lt;br /&gt;
&lt;br /&gt;
*Criar um backup da lista de &amp;quot;sources&amp;quot; dos repositÃ³rios.&lt;br /&gt;
 sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup&lt;br /&gt;
&lt;br /&gt;
*Abrir a lista de &amp;quot;sources&amp;quot; num editor de texto&lt;br /&gt;
:Utilizadores Ubuntu (GNOME):&lt;br /&gt;
 sudo gedit /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
:Utilizadores Kubuntu (KDE):&lt;br /&gt;
 sudo kate /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
:Outros utilizadores (se os acima nÃ£o funcionarem):&lt;br /&gt;
 sudo nano /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
*Usar as linhas seguintes como um template para o guiar na ediÃ§Ã£o dos repositÃ³rios no ficheiro sources.list:&lt;br /&gt;
:Pode tentar susbtituir as linhas actuais do sources.list pelas linhas seguintes&lt;br /&gt;
:Para tirar partido de mirrors nacionais adicione &amp;quot;''pt.''&amp;quot; antes de ''archive.ubuntu.com'', onde pt = cÃ³digo de Portugal&lt;br /&gt;
:e.g. ''&amp;lt;nowiki&amp;gt;deb http://pt.archive.ubuntu.com/ubuntu edgy main restricted universe multiverse&amp;lt;/nowiki&amp;gt;''&lt;br /&gt;
'''&lt;br /&gt;
Internacional'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
## Ler http://help.ubuntu.com/community/UpgradeNotes para ver como fazer upgrade&lt;br /&gt;
## para novas versÃµes da distribuiÃ§Ã£o.&lt;br /&gt;
&lt;br /&gt;
## Adicinar sinal de comentÃ¡rio (##) no inÃ­cio de qualquer linha para nÃ£o ser verificada.   &lt;br /&gt;
## Usar a seguinte sources.list por sua conta e risco.  &lt;br /&gt;
&lt;br /&gt;
## Uncomment deb-src if you wish to download the source packages&lt;br /&gt;
&lt;br /&gt;
## If you have a install CD you can add it to the reposity using 'apt-cdrom add'&lt;br /&gt;
## which will add a line similar to the following:&lt;br /&gt;
#deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Beta i386 (20070322.1)]/ feisty main restricted&lt;br /&gt;
deb http://us.archive.ubuntu.com/ubuntu/ feisty main restricted&lt;br /&gt;
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty main restricted&lt;br /&gt;
&lt;br /&gt;
## Major bug fix updates produced after the final release of the&lt;br /&gt;
## distribution.&lt;br /&gt;
deb http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted&lt;br /&gt;
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted&lt;br /&gt;
&lt;br /&gt;
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu&lt;br /&gt;
## team, and may not be under a free licence. Please satisfy yourself as to&lt;br /&gt;
## your rights to use the software. Also, please note that software in&lt;br /&gt;
## universe WILL NOT receive any review or updates from the Ubuntu security&lt;br /&gt;
## team.&lt;br /&gt;
deb http://us.archive.ubuntu.com/ubuntu/ feisty universe&lt;br /&gt;
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty universe&lt;br /&gt;
&lt;br /&gt;
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu&lt;br /&gt;
## team, and may not be under a free licence. Please satisfy yourself as to&lt;br /&gt;
## your rights to use the software. Also, please note that software in&lt;br /&gt;
## multiverse WILL NOT receive any review or updates from the Ubuntu&lt;br /&gt;
## security team.&lt;br /&gt;
deb http://us.archive.ubuntu.com/ubuntu/ feisty multiverse&lt;br /&gt;
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty multiverse&lt;br /&gt;
&lt;br /&gt;
## Uncomment the following two lines to add software from the 'backports'&lt;br /&gt;
## repository.&lt;br /&gt;
## N.B. software from this repository may not have been tested as&lt;br /&gt;
## extensively as that contained in the main release, although it includes&lt;br /&gt;
## newer versions of some applications which may provide useful features.&lt;br /&gt;
## Also, please note that software in backports WILL NOT receive any review&lt;br /&gt;
## or updates from the Ubuntu security team.&lt;br /&gt;
deb http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse&lt;br /&gt;
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu feisty-security main restricted&lt;br /&gt;
#deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu feisty-security universe&lt;br /&gt;
#deb-src http://security.ubuntu.com/ubuntu feisty-security universe&lt;br /&gt;
deb http://security.ubuntu.com/ubuntu feisty-security multiverse&lt;br /&gt;
#deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse&lt;br /&gt;
&lt;br /&gt;
## PLF REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
## Medibuntu - Ubuntu 7.04 &amp;quot;feisty fawn&amp;quot;&lt;br /&gt;
## Please report any bug on https://launchpad.net/products/medibuntu/+bugs&lt;br /&gt;
deb http://medibuntu.sos-sts.com/repo/ feisty free non-free&lt;br /&gt;
#deb-src http://medibuntu.sos-sts.com/repo/ feisty free non-free&lt;br /&gt;
&lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu feisty-commercial main&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Nacional'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
##Portuguese Sources.list&lt;br /&gt;
&lt;br /&gt;
## MAIN&lt;br /&gt;
deb http://pt.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse&lt;br /&gt;
deb-src http://pt.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## MAJOR BUG FIX UPDATES produced after the final release&lt;br /&gt;
deb http://pt.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse&lt;br /&gt;
deb-src http://pt.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## UBUNTU SECURITY UPDATES&lt;br /&gt;
deb http://pt.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse&lt;br /&gt;
#deb-src http://pt.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)&lt;br /&gt;
#deb http://pt.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse&lt;br /&gt;
#deb-src http://pt.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## Proposed Repository ( Repositorio com pacotes propostos para o Ubuntu pela comunidade )&lt;br /&gt;
## Descomentar se quiser usar&lt;br /&gt;
#deb http://pt.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse&lt;br /&gt;
#deb-src http://pt.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
## Internacional&lt;br /&gt;
## Medibuntu - Ubuntu 7.04 &amp;quot;feisty fawn&amp;quot;&lt;br /&gt;
## Please report any bug on https://launchpad.net/products/medibuntu/+bugs&lt;br /&gt;
deb http://medibuntu.sos-sts.com/repo/ feisty free non-free&lt;br /&gt;
#deb-src http://medibuntu.sos-sts.com/repo/ feisty free non-free                                          &lt;br /&gt;
&lt;br /&gt;
## Internacional&lt;br /&gt;
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu&lt;br /&gt;
## servers. RealPlayer10, Opera and more to come.) &lt;br /&gt;
deb http://archive.canonical.com/ubuntu feisty-commercial main&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado&lt;br /&gt;
&lt;br /&gt;
* Adicione as chaves gpg necessÃ¡rias; use o seguinte comando para adicionar a chave gpg do RepositÃ³rio medibuntu:&lt;br /&gt;
 wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
* Actualizar lista de pacotes:&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Pode tambÃ©m gerar o seu prÃ³prio sources.list e encontrar outros repositÃ³rios em: http://www.ubuntulinux.nl/source-o-matic&lt;br /&gt;
&lt;br /&gt;
* ''Modifique o sources.list original somente se tiver a certeza daquilo que estÃ¡ a fazer.  Misturar repositÃ³rios pode '''quebrar''' o seu sistema.''&lt;br /&gt;
&lt;br /&gt;
== Updates Ubuntu==&lt;br /&gt;
&lt;br /&gt;
==== BÃ¡sicos sobre o Apt, Software e Pacotes ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
&lt;br /&gt;
Aqui pode encontar algumas noÃ§Ãµes bÃ¡sicas de como utilizar o sistema de gerenciamento de pacotes Apt.&lt;br /&gt;
&lt;br /&gt;
*Instalar pacotes&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install &amp;lt;nome_pacote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Exemplo:&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install mpd sbackup&lt;br /&gt;
&lt;br /&gt;
*Remover pacotes&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude remove &amp;lt;nome_pacote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Exemplo:&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude remove mpd sbackup&lt;br /&gt;
&lt;br /&gt;
*Procurar por pacotes&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude search &amp;lt;palavras_chave&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Exemplos:&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude search Music MP3&lt;br /&gt;
 sudo aptitude search &amp;quot;Text Editor&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Actualizar a base de dados do Apt (utilizado depois de adicionar/remover repositÃ³rios Apt )&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
&lt;br /&gt;
*Actualizar pacotes&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude upgrade&lt;br /&gt;
&lt;br /&gt;
*Actualizar distribuiÃ§Ã£o completa&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude dist-upgrade&lt;br /&gt;
&lt;br /&gt;
*Instalar pacotes  Ubuntu (Debian) (.deb)&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg -i pacote.deb&lt;br /&gt;
&lt;br /&gt;
*Remover um pacote  Ubuntu (Debian)&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg -r pacote&lt;br /&gt;
&lt;br /&gt;
*Reconfigurar/Reparar pacote instalado&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure pacote&lt;br /&gt;
&lt;br /&gt;
Exemplo:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure mpd&lt;br /&gt;
&lt;br /&gt;
*Usar Arquivos &amp;quot;.tar.gz&amp;quot; (Tar/GZip)&lt;br /&gt;
&lt;br /&gt;
Para extrair:&lt;br /&gt;
&lt;br /&gt;
 tar xvzf package.tar.gz&lt;br /&gt;
&lt;br /&gt;
Para criar:&lt;br /&gt;
&lt;br /&gt;
 tar cvfz package.tar.gz folder&lt;br /&gt;
&lt;br /&gt;
*Usar Arquivos &amp;quot;.tar.bz&amp;quot; (Tar/BZip)&lt;br /&gt;
&lt;br /&gt;
Para extrair:&lt;br /&gt;
&lt;br /&gt;
 tar xvjf package.tar.bz&lt;br /&gt;
&lt;br /&gt;
Para criar:&lt;br /&gt;
&lt;br /&gt;
 tar cvjf package.tar.bz folder&lt;br /&gt;
&lt;br /&gt;
*Extrair Arquivos &amp;quot;.bz&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 bunzip2 file.bz&lt;br /&gt;
&lt;br /&gt;
*Extrair Arquivos &amp;quot;.gz&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 gunzip file.gz&lt;br /&gt;
&lt;br /&gt;
*Compilar pacotes a partir do source&lt;br /&gt;
&lt;br /&gt;
Confirme se tem instaladas todas as ferramentas de desenvolvimento necessÃ¡rias (i.e. bibliotecas, compiladores, headers)&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install build-essential&lt;br /&gt;
 sudo aptitude install linux-headers-`uname -r`&lt;br /&gt;
&lt;br /&gt;
Extrair o pacote (como indicado acima)&lt;br /&gt;
&lt;br /&gt;
 tar xvzf package.tar.gz&lt;br /&gt;
&lt;br /&gt;
Iniciar a compilaÃ§Ã£o&lt;br /&gt;
&lt;br /&gt;
 cd /caminho/para/ficheiro/extraido&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
Se a compilaÃ§Ã£o for bem sucedida, pode fazer um pacote Ubuntu (Debian) (.deb) para uso futuro:&lt;br /&gt;
&lt;br /&gt;
Instalar ferramentas de pacotes:&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install checkinstall&lt;br /&gt;
&lt;br /&gt;
Recompilar o pacote utilizando o parÃ¢metro &amp;quot;checkinstall&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 cd /caminho/para/ficheiro/extraido&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 checkinstall&lt;br /&gt;
&lt;br /&gt;
Guarde o ficheiro &amp;quot;.deb&amp;quot; para uso futuro. Pode ser instalado usando:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg -i package.deb&lt;br /&gt;
&lt;br /&gt;
Nota: Estas sÃ£o instruÃ§Ãµes bÃ¡sicas e genÃ©ricas, e podem nÃ£o funcionar sempre. Alguns pacotes requerem dependÃªncias adicionais e outros parÃ¢metros para poderem ser compilados com sucesso.&lt;br /&gt;
&lt;br /&gt;
==== Como actualizar manualmente o Ubuntu ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude upgrade&lt;br /&gt;
 sudo aptitude dist-upgrade&lt;br /&gt;
&lt;br /&gt;
'''OU'''&lt;br /&gt;
&lt;br /&gt;
Use o Gestor de actualizaÃ§Ãµes: ''Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Gestor de actualizaÃ§Ãµes''&lt;br /&gt;
&lt;br /&gt;
==MÃ©todos Automatizados==&lt;br /&gt;
&lt;br /&gt;
===Automatix2===&lt;br /&gt;
*Obtenha o pacote(Tenha em conta que a versÃ£o do pacote pode mudar, veja a Ãºltima versÃ£o [http://getautomatix.com/wiki/index.php?title=Installation Aqui]):&lt;br /&gt;
*http://www.getautomatix.com/apt/dists/feisty/main/binary-i386/automatix2_1.1-3.6-7.04feisty_i386.deb&lt;br /&gt;
*Instale com este comando:&lt;br /&gt;
 &lt;br /&gt;
 sudo dpkg -i automatix2_1.1-3.6-7.04feisty_i386.deb&lt;br /&gt;
&lt;br /&gt;
*Automatix2 estÃ¡ disponÃ­vel em AplicaÃ§Ãµes &amp;gt; Ferramentas de Sistema &amp;gt; Automatix&lt;br /&gt;
&lt;br /&gt;
*[http://www.ubuntugeek.com/install-popular-applications-in-ubuntu-feisty-fawn-using-automatix2.html Guia de instalaÃ§Ã£o Automatix2 com Screenshots]&lt;br /&gt;
&lt;br /&gt;
== AplicaÃ§Ãµes Extra ==&lt;br /&gt;
&lt;br /&gt;
=== Java &amp;amp; Non-Media Browser Plug-ins ===&lt;br /&gt;
==== Como instalar o J2SE Runtime Environment com plugin para Firefox ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
*Ler [http://www.ubuntugeek.com/how-to-install-java-runtime-environment-jre-in-ubuntu.html InstalaÃ§Ã£o do JRE no Ubuntu]&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install sun-java6-jre sun-java6-plugin&lt;br /&gt;
&lt;br /&gt;
*Quando perguntar, aceitar com a licenÃ§a DLJ&lt;br /&gt;
&lt;br /&gt;
==== Como instalar o Macromedia Flash Plugin para Firefox ====&lt;br /&gt;
&lt;br /&gt;
Nota: A melhor forma de instalar o plugin do Macromedia flash para o Firefox Ã© visitar  [http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15507 Adobe.com: VersÃ£o de teste para Adobe Flash Player]. Depois irÃ¡ aparecer um aviso sobre um plugin em falta. Clique nesse aviso e siga os passos. O Firefox irÃ¡ instalar o plugin automaticamente quando carregar &amp;quot;Instalar agora&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
TambÃ©m pode ser instalado usando o Gestor de Pacotes:&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas_Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install flashplugin-nonfree&lt;br /&gt;
&lt;br /&gt;
*Reiniciar Firefox&lt;br /&gt;
&lt;br /&gt;
Nota: Se o som no Plugin nÃ£o estiver activo (Por exemplo no Youtube)&lt;br /&gt;
 sudo aptitude install alsa-oss&lt;br /&gt;
 gksudo gedit /etc/firefox/firefoxrc&lt;br /&gt;
&lt;br /&gt;
Trocar a linha:&lt;br /&gt;
&lt;br /&gt;
 FIREFOX_DSP=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Para:&lt;br /&gt;
&lt;br /&gt;
 FIREFOX_DSP=&amp;quot;aoss&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Reiniciar o Firefox. O som agora jÃ¡ deve Funcionar..&lt;br /&gt;
&lt;br /&gt;
==== Como instalar P2P BitTorrent Client (Azureus) ====&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
*Ler [http://www.ubuntugeek.com/azureus-java-bittorrent-client-in-ubuntu.html setup do cliente de bittorrent azureus com screenshots]&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install azureus&lt;br /&gt;
&lt;br /&gt;
*Iniciar o programa em: AplicaÃ§Ãµes -&amp;gt; Internet -&amp;gt; Azureus&lt;br /&gt;
&lt;br /&gt;
==== Como instalar o cliente de bittorrent (Deluge) ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
*Forma recomendada:&lt;br /&gt;
&lt;br /&gt;
Fazer o download dos ficheiros de instalaÃ§Ã£o [http://download.deluge-torrent.org/ubuntu/feisty/deluge-torrent_0.5.0-2zachtib1_i386.deb AQUI] se a sua mÃ¡quina for i386 ou [http://download.deluge-torrent.org/ubuntu/feisty/deluge-torrent_0.5.0-2zachtib1_amd64.deb AQUI] se for amd64 e faÃ§a duplo clique sobre eles, depois do download efectuado.&lt;br /&gt;
&lt;br /&gt;
*OU&lt;br /&gt;
&lt;br /&gt;
Fazer download das dependÃªncias, obter a Ãºltima source, compilar a source e instalar&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install subversion build-essential python-all-dev python-all \&lt;br /&gt;
 python-support libboost-dev libboost-thread-dev libboost-date-time-dev \&lt;br /&gt;
 libboost-filesystem-dev libboost-serialization-dev \&lt;br /&gt;
 libboost-program-options-dev libboost-regex-dev zlib1g-dev &amp;amp;&amp;amp; \&lt;br /&gt;
 svn checkout &amp;lt;nowiki&amp;gt;http://deluge-torrent.org/svn/trunk&amp;lt;/nowiki&amp;gt; deluge &amp;amp;&amp;amp; \&lt;br /&gt;
 cd deluge &amp;amp;&amp;amp; python setup.py build &amp;amp;&amp;amp; sudo python setup.py install&lt;br /&gt;
&lt;br /&gt;
*Remover ficheiros de instalaÃ§Ã£o&lt;br /&gt;
&lt;br /&gt;
 cd .. &amp;amp;&amp;amp; rm -Rf deluge/&lt;br /&gt;
&lt;br /&gt;
*FaÃ§a download [http://www.deluge-torrent.org/wiki/Plugins de plugins para o Deluge] (Opcional)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Iniciar o programa em: AplicaÃ§Ãµes -&amp;gt; Internet -&amp;gt; Deluge BitTorrent Client&lt;br /&gt;
&lt;br /&gt;
==== Como instalar a ferramenta de pesquisa do CorÃ£o (zekr) ====&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
*Ler [[#Como instalar o J2SE Runtime Environment com plugin para Firefox]]&lt;br /&gt;
&lt;br /&gt;
Zekr Ã© uma ferramenta open source que permite estudar o CorÃ£o. EstÃ¡ planeada para ser uma ferramenta open source, livre e universal, que proporcione uma base de estudo do CorÃ£o. A ideia Ã© criar uma plataforma o mais generalizada possÃ­vel, de modo a aceitar recursos de diferentes sÃ­tios. &lt;br /&gt;
&lt;br /&gt;
Actualmente o Zekr tem os seguintes pacotes de lÃ­ngua: InglÃªs, Persa, FrancÃªs, AlemÃ£o, Ãrabe, IndonÃ©sio, Russo, HolandÃªs, Curdo, Malaio, Turco e Urdu.&lt;br /&gt;
Adicionalmente, inclui traduÃ§Ãµes do CorÃ£o em InglÃªs, Persa e Russo.&lt;br /&gt;
&lt;br /&gt;
*Verifique que o Sun JRE Ã© o ambiente JRE default (o zekr tambÃ©m funciona com a nova versÃ£o do gij).&lt;br /&gt;
&lt;br /&gt;
*Nesta release, os problemas com os alfabetos Ãrabes resolve-se com a instalaÃ§Ã£o da fonte   [http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;amp;item_id=ArabicFonts Scheherazade] e utilizÃ¡-la como a fonte default do programa. Se estÃ¡ a fazer upgrade de uma versÃ£o anterior, Ã© sÃ³ fazer:&lt;br /&gt;
 mv ~/.zekr ~/zekr-backup&lt;br /&gt;
 sudo dpkg --purge zekr&lt;br /&gt;
&lt;br /&gt;
*Fazer download e instalar zekr:&lt;br /&gt;
 wget http://easynews.dl.sourceforge.net/sourceforge/zekr/zekr_0.5.0-1_i386.deb&lt;br /&gt;
 sudo dpkg -i zekr_0.5.0-1_i386.deb&lt;br /&gt;
&lt;br /&gt;
*Para mais informaÃ§Ãµes ver http://siahe.com/zekr/&lt;br /&gt;
&lt;br /&gt;
== FALTA ADICIONAR MAIS APLICAÃÃES ==&lt;br /&gt;
&lt;br /&gt;
(...)&lt;br /&gt;
&lt;br /&gt;
== Outors ambientes de trabalho ==&lt;br /&gt;
&lt;br /&gt;
==== Como instalar KDE ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
*TambÃ©m pode ver alguns [http://www.kde.org/screenshots/ Screenshots do KDE]&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install kubuntu-desktop&lt;br /&gt;
&lt;br /&gt;
:''Nota: Esta instalaÃ§Ã£o irÃ¡ precisar de ~400MB de espaÃ§o no disco''&lt;br /&gt;
&lt;br /&gt;
*Sistema -&amp;gt; Sair -&amp;gt; Log Out&lt;br /&gt;
*Para fazer iniciar a sessÃ£o no KDE, clique em ''SessÃµes'' e escolha KDE&lt;br /&gt;
&lt;br /&gt;
==== Como instalar XFCE ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
*TambÃ©m pode ver alguns [http://www.xfce.org/index.php?page=screenshots&amp;amp;amp;lang=en Screenshots do XFCE]&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install xubuntu-desktop&lt;br /&gt;
&lt;br /&gt;
*Sistema -&amp;gt; Sair -&amp;gt; Log Out&lt;br /&gt;
*Para fazer iniciar a sessÃ£o no XFCE, clique em ''SessÃµes'' e escolha XFCE&lt;br /&gt;
&lt;br /&gt;
==== Como instalar FluxBox ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
*TambÃ©m pode ver alguns [http://fluxbox.org/screenshots.php Screenshots].  &lt;br /&gt;
&lt;br /&gt;
* Fluxbox Ã© um gestor de janelas (Window Manager) minimalista.&lt;br /&gt;
 sudo aptitude install fluxbox&lt;br /&gt;
&lt;br /&gt;
===== ComeÃ§ar o Fluxbox quando inicia a sessÃ£o pelo GDM =====&lt;br /&gt;
 echo &amp;quot;exec startfluxbox&amp;quot; &amp;gt; ~/.xinitrc&lt;br /&gt;
&lt;br /&gt;
===== Activar o som de login =====&lt;br /&gt;
 sudo aptitude install sox&lt;br /&gt;
 gedit ~/.fluxbox/startup&lt;br /&gt;
&lt;br /&gt;
*Procure esta linha:&lt;br /&gt;
 exec /usr/local/bin/fluxbox&lt;br /&gt;
&lt;br /&gt;
*Adicione a linha seguinte, acima da linha acima mencionada&lt;br /&gt;
 play /usr/share/sounds/login.wav &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&lt;br /&gt;
*OuÃ§a o som ao iniciar a sessÃ£o.&lt;br /&gt;
&lt;br /&gt;
== Como Montar PartiÃ§Ãµes do Windows ==&lt;br /&gt;
&lt;br /&gt;
==== Como Montar PartiÃ§Ãµes NTFS ====&lt;br /&gt;
&lt;br /&gt;
[http://www.ubuntugeek.com/widows-ntfs-partitions-readwrite-support-made-easy-in-ubuntu-feisty.html Guia passo a passo como montar partiÃ§Ãµes Windows no Feisty]&lt;br /&gt;
&lt;br /&gt;
== Eye Candy ==&lt;br /&gt;
&lt;br /&gt;
==== Como instalar Compiz (Nvidia) ====&lt;br /&gt;
&lt;br /&gt;
*[http://www.ubuntugeek.com/compiz-and-nvidia-on-ubuntu-feisty-fawn.html Como permitir Compiz no Feisty] Tutorial simples sobre como permitir compiz com drivers Nvidia&lt;br /&gt;
&lt;br /&gt;
==== Como instalar o Beryl (Nvidia) ====&lt;br /&gt;
*Ler [[#Notas_Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
*Ler [http://www.ubuntugeek.com/how-to-install-beryl-with-latest-nvidia-drivers-in-ubuntu-feisty-fawn.html Passos de InstalaÃ§Ã£o dos Drivers Beryl e Nvidia]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Confirmar que todos os pacotes estÃ£o actualizados:&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
 sudo aptitude dist-upgrade&lt;br /&gt;
&lt;br /&gt;
*Fazer um Backup do xorg.conf:&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup&lt;br /&gt;
 gksudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
*Instalar o Driver para a placa grafica Nvidia&lt;br /&gt;
**Sistema -&amp;gt; AdministraÃ§Ã£o  -&amp;gt; Gestor de Controladores restritos&lt;br /&gt;
&lt;br /&gt;
Activar os Drivers Nvidia&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+Backspace ,para confirmar se os Drivers estÃ£o a funcionar correctamente.&lt;br /&gt;
&lt;br /&gt;
*Instalar Beryl&lt;br /&gt;
 sudo aptitude install beryl emerald-themes beryl-manager&lt;br /&gt;
&lt;br /&gt;
*Iniciar Beryl&lt;br /&gt;
 beryl-manager&lt;br /&gt;
&lt;br /&gt;
*Iniciar  Emerald (Se ele nÃ£o iniciar automaticamente)&lt;br /&gt;
 emerald --replace&lt;br /&gt;
&lt;br /&gt;
*Colocar o Beryl e Emerald no inicio da SessÃ£o&lt;br /&gt;
**Sistema -&amp;gt; PreferÃªncias -&amp;gt; SessÃµes &lt;br /&gt;
**AplicaÃ§Ãµes de Arranque -&amp;gt; Adicionar&lt;br /&gt;
 beryl-manager&lt;br /&gt;
e&lt;br /&gt;
 emerald --replace&lt;br /&gt;
&lt;br /&gt;
**Se, ao reiniciar, os menus dos programas nÃ£o estiverem a ser mostrados de forma correcta (nÃ£o consegue vÃª-los quando os selecciona porque estÃ£o a ser mostrados atrÃ¡s da janela) entÃ£o clique com o botÃ£o direito do rato no Ã­cone 'Beryl Manager' que estÃ¡ no painel (o Ã­cone da jÃ³ia vermelha) e seleccione 'Reload Window Manager'. O problema deve ficar resolvido na prÃ³xima vez que reiniciar.&lt;br /&gt;
&lt;br /&gt;
==== Como melhorar a apresentaÃ§Ã£o sub-pixel das fontes para Feisty  ====&lt;br /&gt;
&lt;br /&gt;
Isto irÃ¡ melhorar a aparÃªncia das fontes, comparativamente Ã  instalaÃ§Ã£o base numa instalaÃ§Ã£o Ubuntu. As bibliotecas alteradas sÃ£o compiladas usando o Freetype 2.3.x (nÃ£o disponÃ­vel no Feisty) e incluiem os patches sub-pixel do David Turner&lt;br /&gt;
&lt;br /&gt;
*Para i386 adicione os repositÃ³rios seguintes a /etc/apt/sources.list&lt;br /&gt;
 deb http://www.telemail.fi/mlind/ubuntu feisty fonts&lt;br /&gt;
 deb-src http://www.telemail.fi/mlind/ubuntu feisty fonts&lt;br /&gt;
&lt;br /&gt;
*Para AMD64/EMT adicione os repositÃ³rios seguintes a /etc/apt/sources.list&lt;br /&gt;
 deb http://raof.dyndns.org/falcon feisty experimental&lt;br /&gt;
 deb-src http://raof.dyndns.org/falcon feisty experimental&lt;br /&gt;
&lt;br /&gt;
*Os pacotes que irÃ£o ser actualizados sÃ£o libfreetype6, libcairo2 and libxft2&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
&lt;br /&gt;
*Depois da instalaÃ§Ã£o, poderÃ¡ querer reconfigurar as definiÃ§Ãµes das fontes. As seguintes definiÃ§Ãµes funcionam bem: Native, Automatic, No bitmapped fonts.&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure fontconfig-config&lt;br /&gt;
 sudo dpkg-reconfigure fontconfig&lt;br /&gt;
&lt;br /&gt;
*Se tiver erros relativos Ã  falta de uma gpg key &lt;br /&gt;
 &lt;br /&gt;
 gpg --keyserver subkeys.pgp.net --recv-keys 937215FF&lt;br /&gt;
 gpg --export --armor 937215FF | sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
*GPG key nos repositÃ³rios para os AMD64/EMT packages&lt;br /&gt;
&lt;br /&gt;
 wget http://ubuntu.moshen.de/2F306651.gpg -O- | sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
*Finalmente, pode reiniciar o computador or reiniciar o X (Ctrl-Alt-BackSpace) para ver se as alteraÃ§Ãµes tiveram efeito.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Nota:'''&lt;br /&gt;
Se decidir voltar aos packages de origem do Ubuntu, deve fazer downgrade a '''todos''' os tres packages instalados&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source: http://ubuntuforums.org/showthread.php?t=343670&lt;br /&gt;
&lt;br /&gt;
== AplicaÃ§Ãµes Comerciais ==&lt;br /&gt;
&lt;br /&gt;
==== Como instalar Windows 9X/ME/2000/XP (Win4Lin) ====&lt;br /&gt;
&lt;br /&gt;
*http://www.win4lin.com&lt;br /&gt;
&lt;br /&gt;
==== Como instalar AplicaÃ§Ãµes Windows (VMWare Workstation) ====&lt;br /&gt;
&lt;br /&gt;
*Com o VMware pode-se criar uma mÃ¡quina virtual, simulando um computador onde pode instalar o Windows e instalar as aplicaÃ§Ãµes.&lt;br /&gt;
&lt;br /&gt;
 http://www.vmware.com&lt;br /&gt;
&lt;br /&gt;
*Converta vmwareworkstation_5.5.3-34868_i386.rpm para vmwareworkstation_5.5.3-34868_i386.deb usando o Allen e instale o .deb.&lt;br /&gt;
&lt;br /&gt;
*Depois de instalar a aplicaÃ§Ã£o, vÃ¡ ao destino da instalaÃ§Ã£o e corra o ficheiro *.config para definir as opÃ§Ãµes.&lt;br /&gt;
&lt;br /&gt;
*Corra-o&lt;br /&gt;
&lt;br /&gt;
==== Como instalar AplicaÃ§Ãµes Windows (CrossOver Office) ====&lt;br /&gt;
&lt;br /&gt;
*http://www.codeweavers.com&lt;br /&gt;
&lt;br /&gt;
==== Como instalar Windows Games (Cedega) ====&lt;br /&gt;
&lt;br /&gt;
*http://www.transgaming.com&lt;br /&gt;
&lt;br /&gt;
==== Alternativa ====&lt;br /&gt;
&lt;br /&gt;
* Uma alternativa gratuita e Software Livre Ã© o Wine&lt;br /&gt;
&lt;br /&gt;
* http://www.winehq.org&lt;br /&gt;
&lt;br /&gt;
* http://www.guiaubuntupt.org/wiki/index.php?title=Wine&lt;br /&gt;
&lt;br /&gt;
== AdministraÃ§Ã£o de Utilizadores ==&lt;br /&gt;
&lt;br /&gt;
==== Como definir/mudar/activar a password do utilizador root ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 sudo passwd root&lt;br /&gt;
&lt;br /&gt;
==== Como desactivar a conta de root ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 sudo passwd -l root&lt;br /&gt;
&lt;br /&gt;
==== Como autorizar o utilizador root a fazer login para o GNOME ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como definir/mudar/activar a password do utilizador root]]&lt;br /&gt;
*Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Janela de Inicio de SessÃ£o&lt;br /&gt;
*Login Windows Preferences&lt;br /&gt;
&lt;br /&gt;
 Separador SeguranÃ§a -&amp;gt; SeguranÃ§a -&amp;gt; Permitir inicio de sessÃ£o local pelo administrador ('''Escolhido''')&lt;br /&gt;
&lt;br /&gt;
==== Como mudar para o utilizador root em modo Consola ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 sudo -s -H&lt;br /&gt;
 Password: &amp;lt;especifique password do Utilizador&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Como adicionar/editar/apagar utilizadores do sistema ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Utilizadores e Grupos&lt;br /&gt;
*Utilizadores e Grupos&lt;br /&gt;
&lt;br /&gt;
 Adicionar Utilizador.../Propriedades/Apagar&lt;br /&gt;
&lt;br /&gt;
:'''ou'''&lt;br /&gt;
&lt;br /&gt;
 sudo useradd joao&lt;br /&gt;
 sudo userdel joao&lt;br /&gt;
&lt;br /&gt;
*Para mais informaÃ§Ãµes ler&lt;br /&gt;
&lt;br /&gt;
 man usermod&lt;br /&gt;
&lt;br /&gt;
==== Como adicionar/editar/apagar grupos de sistema ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Utilizadores e Grupos&lt;br /&gt;
Utilizadores e Grupos&lt;br /&gt;
&lt;br /&gt;
 Gerir Grupos -&amp;gt;  Adicionar Grupo.../Propriedades/Apagar&lt;br /&gt;
&lt;br /&gt;
==== Como iniciar a sessÃ£o automaticamente no GNOME (Inseguro) ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Janela de Inicio de SessÃ£o&lt;br /&gt;
&lt;br /&gt;
 Separador SeguranÃ§a -&amp;gt; Activar InÃ­cio de SessÃ£o AutomÃ¡tico ('''Escolhido''')&lt;br /&gt;
 Agora escolha um utilizador da lista.&lt;br /&gt;
&lt;br /&gt;
==== Como permitir mais sudoers ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 EDITOR=gedit sudo visudo&lt;br /&gt;
&lt;br /&gt;
*Adicione a seguinte linha no final do ficheiro:&lt;br /&gt;
&lt;br /&gt;
 system_username	ALL=(ALL) ALL&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado&lt;br /&gt;
&lt;br /&gt;
'''OU''' desde que todos no grupo '''admin''' possam usar ''sudo'':&lt;br /&gt;
 sudo adduser a_username admin&lt;br /&gt;
&lt;br /&gt;
This appends the admin group to the user's supplementary group list.  They will now have sudo access.&lt;br /&gt;
&lt;br /&gt;
==== Como usar o &amp;quot;sudo&amp;quot; sem pedir a password (Inseguro) ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 EDITOR=gedit sudo visudo&lt;br /&gt;
&lt;br /&gt;
*Encontre esta linha&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 system_username	ALL=(ALL) ALL&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Substitua pela seguinte linha:&lt;br /&gt;
&lt;br /&gt;
 system_username	ALL=(ALL) NOPASSWD: ALL&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado&lt;br /&gt;
&lt;br /&gt;
==== Como terminar explicitamente uma sessÃ£o de âsudoâ ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 sudo -K&lt;br /&gt;
&lt;br /&gt;
==== Como alterar as permissÃµes de ficheiros/pastas ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 Right click on files/folders -&amp;gt; '''Propriedades'''&lt;br /&gt;
&lt;br /&gt;
 Separador PermissÃµes -&amp;gt; Leitura/Escrita/Executar (Confira as permissÃµes para Dono/Grupo/Outros)&lt;br /&gt;
&lt;br /&gt;
==== Como alterar o dono de ficheiros/pastas ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 sudo chown system_username /location_of_files_or_folders&lt;br /&gt;
&lt;br /&gt;
Se quiser alterar recursivamente a posse do conteÃºdo de todos os ficheiros e pastas, use a opÃ§Ã£o -R igual a isto:&lt;br /&gt;
&lt;br /&gt;
 sudo chown -R system_username /location_of_files_or_folders&lt;br /&gt;
&lt;br /&gt;
==== Como alterar o grupo dono de ficheiros/pastas ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 sudo chgrp system_groupname /location_of_files_or_folders&lt;br /&gt;
&lt;br /&gt;
Se quiser alterar recursivamente a posse de grupo do conteÃºdo de todos os ficheiros e pastas, use a opÃ§Ã£o -R igual a isto: &lt;br /&gt;
&lt;br /&gt;
 sudo chgrp -R system_username /location_of_files_or_folders&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
=== Ratos ===&lt;br /&gt;
==== Activar os botÃµes laterais do rato no FireFox ====&lt;br /&gt;
Basta adicionar duas linhas ao xorg.conf para activar os botÃ´es laterais do rato no fireFox. Deve funcionar com quase todos os ratos de 5 botÃ´es. Eis uma lista de ratos que funcionaram com este mÃ©todo.&lt;br /&gt;
* Logitech MX310&lt;br /&gt;
* Logitech MX510&lt;br /&gt;
* Logitech MX518&lt;br /&gt;
* Logitech MX700&lt;br /&gt;
* Intellimouse Explorer (first edition)&lt;br /&gt;
* Razer Copperhead&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Backup do ficheiro de configuraÃ§Ã£o X.org&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak&lt;br /&gt;
&lt;br /&gt;
Modificar o ficheiro de configuraÃ§Ã£o X.org&lt;br /&gt;
 gksudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Encontre a secÃ§Ã£o &amp;quot;Input Device&amp;quot; do rato e adicione as duas linhas como mostrado em baixo. Pode tambÃ©m aumentar o nÃºmero de botÃµes se o seu rato tem mais que 7, para isso basta configurar o resto da secÃ§Ã£o de acordo com o nÃºmero de botÃµes. (recorde que back/forward, wheel click &amp;amp; tilt left/right contam todos como botÃµes)&lt;br /&gt;
&lt;br /&gt;
Mude de:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
 	Identifier &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
 	Driver &amp;quot;mouse&amp;quot;&lt;br /&gt;
 	Option &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
 	...&lt;br /&gt;
 	Option &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
 	...&lt;br /&gt;
 	Option &amp;quot;Emulate3Buttons&amp;quot;       &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
para:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
     Identifier     &amp;quot;Configured Mouse&amp;quot;&lt;br /&gt;
     Driver         &amp;quot;mouse&amp;quot;&lt;br /&gt;
     Option         &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
     Option         &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot; &lt;br /&gt;
     Option         &amp;quot;Protocol&amp;quot; &amp;quot;ExplorerPS/2&amp;quot;&lt;br /&gt;
     Option         &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5&amp;quot;&lt;br /&gt;
     Option         &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
     Option         &amp;quot;Buttons&amp;quot; &amp;quot;7&amp;quot; &lt;br /&gt;
     Option         &amp;quot;ButtonMapping&amp;quot; &amp;quot;1 2 3 6 7&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Se preferir que o scroll do FireFox seja feito pela roda de scroll ao invÃ©s dos botÃµes laterais faÃ§a &amp;quot;ZAxisMapping&amp;quot; &amp;quot;6 7&amp;quot; e &amp;quot;ButtonMapping&amp;quot; &amp;quot;1 2 3 4 5&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Neste momento pode reiniciar o computador ou apenas o X (Ctrl-ALt-Backspace) para ver se os botÃµes forward/back ficaram a funcionar no FireFox. Os botÃµes nao vÃ£o funcionar no Nautilus enquanto nao instalar o imwheel dameon.&lt;br /&gt;
&lt;br /&gt;
==== Instalar e Configurar o IMWheel ====&lt;br /&gt;
*Instalar o IMWheel&lt;br /&gt;
 sudo apt-get install imwheel&lt;br /&gt;
&lt;br /&gt;
*Modificar o ficheiro de configuraÃ§Ã£o do IMWheel&lt;br /&gt;
 gksudo gedit /etc/X11/imwheel/imwheelrc&lt;br /&gt;
&lt;br /&gt;
*Insira o seguinte no final do ficheiro ja existente&lt;br /&gt;
 &amp;quot;.*&amp;quot;&lt;br /&gt;
 None, Up, Alt_L|Left&lt;br /&gt;
 None, Down, Alt_L|Right &lt;br /&gt;
 &lt;br /&gt;
 &amp;quot;(null)&amp;quot;&lt;br /&gt;
 None, Up, Alt_L|Left&lt;br /&gt;
 None, Down, Alt_L|Right&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Criar um start-up script para o IMWheel&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /home/login&lt;br /&gt;
 gksudo gedit /home/login/mouse&lt;br /&gt;
&lt;br /&gt;
*Inserir o seguinte no novo ficheiro&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 exec xmodmap -e &amp;quot;pointer = 1 2 3 6 7 4 5&amp;quot; &amp;amp;&lt;br /&gt;
 exec imwheel -k -b &amp;quot;67&amp;quot; &amp;amp;&lt;br /&gt;
 exec $REALSTARTUP&lt;br /&gt;
&lt;br /&gt;
*Permitir a execuÃ§Ã£o do ficheiro por todos os utilizadores&lt;br /&gt;
 sudo chmod +x /home/login/mouse&lt;br /&gt;
&lt;br /&gt;
*Configurar o script para que este seja executado no start-up&lt;br /&gt;
*# Select 'System' &amp;gt; 'Preferences' &amp;gt; 'Sessions'&lt;br /&gt;
*# Click the StartUp tab&lt;br /&gt;
*# Click Add, then input: /home/login/mouse&lt;br /&gt;
*# Click OK, then Close&lt;br /&gt;
&lt;br /&gt;
*Reinicie o computador ou apenas o X (Ctrl-Alt-Sapce) e teste os botÃµes forward/back no Nautilus&lt;br /&gt;
&lt;br /&gt;
(NÃ£o sei porquÃª mas o mÃ©todo acima funcionou na perfeiÃ§Ã£o com o Dapper mas nÃ£o no Feisty, para funcionar no feisty tive que adicionar um espaÃ§o entre o 6 e 7 na linha '''exec imwheel -k -b &amp;quot;67&amp;quot; &amp;amp;''' espero que ajude)&lt;br /&gt;
&lt;br /&gt;
==== Como configurar o Mighty Mouse da Apple ====&lt;br /&gt;
&lt;br /&gt;
Apple Mighty Mouse works out of the box, this how to should cover setting up of horizontal scrolling using ball and sidebuttons.&lt;br /&gt;
&lt;br /&gt;
This is placeholder only. Please, provide '''working''' howto.&lt;br /&gt;
&lt;br /&gt;
=== Graphics Card ===&lt;br /&gt;
&lt;br /&gt;
==== Como instalar Drivers de Video (NVIDIA) ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install nvidia-glx nvidia-kernel-common&lt;br /&gt;
 sudo nvidia-xconfig&lt;br /&gt;
&lt;br /&gt;
*Se o mÃ©todo acima nÃ£o activar o novo driver, pode fazÃª-lo manualmente abrindo o ficheiro de configuraÃ§Ã£o do X:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
  &lt;br /&gt;
*e na secÃ§Ã£o &amp;quot;Device&amp;quot; trocar o &amp;quot;nv&amp;quot; para &amp;quot;nvidia&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Como reiniciar o GNOME sem reiniciar o computador]]&lt;br /&gt;
&lt;br /&gt;
*Active o XvMC criando o ficheiro de configuraÃ§Ã£o nVidia XvMC&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/X11/XvMCConfig&lt;br /&gt;
&lt;br /&gt;
*Insira a seguinte linha no novo ficheiro, para dizer aos jogadores o nome da biblioteca partilhada nVidia XvMC:&lt;br /&gt;
&lt;br /&gt;
 libXvMCNVIDIA_dynamic.so.1&lt;br /&gt;
&lt;br /&gt;
*Para acelerar a reproduÃ§Ã£o de vÃ­deo atravÃ©s do XvMC use as seguintes linhas. Ver [[http://www.penlug.org/twiki/bin/view/Main/LinuxHardwareInfoNvidia5200]] para mais detalhes.&lt;br /&gt;
&lt;br /&gt;
 xine -V xxmc filename.ts&lt;br /&gt;
 mplayer -vo xvmc -vc ffmpeg12mc filename.ts&lt;br /&gt;
&lt;br /&gt;
==== Como instalar Drivers de VÃ­deo Beta (NVIDIA) ====&lt;br /&gt;
&lt;br /&gt;
*AVISO este mÃ©todo Ã© muito dado a erros.. o melhor mÃ©todo Ã© usar o programa do Alberto Milone, Envy; http://albertomilone.com/nvidia_scripts1.html&lt;br /&gt;
&lt;br /&gt;
*Obrigado Alberto Milone&lt;br /&gt;
&lt;br /&gt;
*Os drivers nVidia foram separados em dois ramos; latest e new legacy (novos e ultimos). Ver http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9755/README/appendix-a.html para descobrir que driver deve usar. Latest=97xx / New legacy=96xx&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
*Adicione UMA das seguintes linhas de acordo com a sua arquitectura &lt;br /&gt;
&lt;br /&gt;
 deb http://www.albertomilone.com/drivers/edgy/latest/32bit binary/&lt;br /&gt;
 deb http://www.albertomilone.com/drivers/edgy/latest/64bit binary/&lt;br /&gt;
&lt;br /&gt;
 deb http://www.albertomilone.com/drivers/edgy/newlegacy/32bit binary/&lt;br /&gt;
 deb http://www.albertomilone.com/drivers/edgy/newlegacy/64bit binary/&lt;br /&gt;
&lt;br /&gt;
*Guarde o ficheiro editado&lt;br /&gt;
&lt;br /&gt;
*Adicione a chave GPG&lt;br /&gt;
 &lt;br /&gt;
 wget http://albertomilone.com/drivers/tseliot.asc&lt;br /&gt;
 gpg --import tseliot.asc&lt;br /&gt;
 gpg --export --armor albertomilone@alice.it | sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
*Actualize e Instale&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install nvidia-glx&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
*O upgrade deve actualizar os seus pacotes linux-restricted-modules e linux-restricted-modules-common.&lt;br /&gt;
&lt;br /&gt;
 sudo nvidia-xconfig&lt;br /&gt;
&lt;br /&gt;
*Adicione um menu de opÃ§Ãµes para as definiÃ§Ãµes nVidia&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /usr/share/applications/NVIDIA-Settings.desktop&lt;br /&gt;
&lt;br /&gt;
*Insira as seguintes linhas no novo ficheiro e guarde&lt;br /&gt;
&lt;br /&gt;
 [Desktop Entry]&lt;br /&gt;
 Name=NVIDIA Settings&lt;br /&gt;
 Comment=NVIDIA Settings&lt;br /&gt;
 Exec=nvidia-settings&lt;br /&gt;
 Icon=&lt;br /&gt;
 Terminal=false&lt;br /&gt;
 Type=Application&lt;br /&gt;
 Categories=Application;System;&lt;br /&gt;
&lt;br /&gt;
*Reinicie o computador e os novos drivers devem estar instalados.&lt;br /&gt;
&lt;br /&gt;
*Teste a instalaÃ§Ã£o com estes 2 programas:&lt;br /&gt;
&lt;br /&gt;
 glxinfo&lt;br /&gt;
 glxgears&lt;br /&gt;
&lt;br /&gt;
==== How to setup pivot (screen rotation) with default X.org NVIDIA drivers ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
*Some LCD monitors are equipped with the pivot feature, to take advantage of it the display has to be rotated 90 degrees. The default nVidia drivers shipped with X.org (&amp;quot;nv&amp;quot;) support software screen rotation. Note that it's unaccelerated and can be slow, read [[#How to install Graphics Driver (NVIDIA)]] if you decide to install the proprietary driver.&lt;br /&gt;
&lt;br /&gt;
*If you have the proprietary drivers from nVidia installed, please read [[#How to setup pivot (screen rotation) with proprietary NVIDIA drivers]] instead.&lt;br /&gt;
&lt;br /&gt;
*To rotate the screen find the &amp;quot;Device&amp;quot; section for the &amp;quot;nv&amp;quot; driver in the /etc/X11/xorg.conf file:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;                                                                &lt;br /&gt;
        Identifier      &amp;quot;NVIDIA Corporation NV34 [GeForce FX 5200]&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;nv&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Add the following options to this section:&lt;br /&gt;
&lt;br /&gt;
        Option &amp;quot;Rotate&amp;quot; &amp;quot;CW&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Where the &amp;quot;Rotate&amp;quot; option has two possible values (depending on the orientation of the monitor):&lt;br /&gt;
#CW - rotate the display clockwise (right).&lt;br /&gt;
#CCW - rotate the display counterclockwise (right).&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to restart GNOME without rebooting computer]].&lt;br /&gt;
&lt;br /&gt;
==== How to setup pivot (screen rotation) with proprietary NVIDIA drivers ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#How to install Graphics Driver (NVIDIA)]]&lt;br /&gt;
&lt;br /&gt;
*Some LCD monitors are equipped with the pivot feature, to take advantage of it the display has to be rotated 90 degrees. The proprietary nVidia drivers support hardware rotation with the Xrandr extension.&lt;br /&gt;
&lt;br /&gt;
*To enable rotation support find the &amp;quot;Device&amp;quot; section for the &amp;quot;nvidia&amp;quot; driver in the /etc/X11/xorg.conf file:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;                                                                &lt;br /&gt;
        Identifier      &amp;quot;NVIDIA Corporation NV34 [GeForce FX 5200]&amp;quot;&lt;br /&gt;
        Driver          &amp;quot;nvidia&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Add the following option to this section:&lt;br /&gt;
&lt;br /&gt;
        Option          &amp;quot;RandRRotation&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to restart GNOME without rebooting computer]].&lt;br /&gt;
&lt;br /&gt;
*Then the display can be rotated (direction depends on the orientation of the monitor) by:&lt;br /&gt;
#Setting the &amp;quot;Rotation&amp;quot; property to either &amp;quot;Left&amp;quot; or &amp;quot;Right&amp;quot; in the &amp;quot;System &amp;gt; Preferences &amp;gt; Screen Resolution&amp;quot; dialog.&lt;br /&gt;
#Issuing either &amp;quot;xrandr -o left&amp;quot; or &amp;quot;xrandr -o right&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
==== Como desligar o logo da NVIDIA ao ligar o GNOME ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#General Notes]]&lt;br /&gt;
*Ler [[#How to install Graphics Driver (NVIDIA)]]&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup&lt;br /&gt;
 gksudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
*Procurar&lt;br /&gt;
&lt;br /&gt;
  ...&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
 	Identifier	&amp;quot;NVIDIA Corporation NV11 [GeForce2 MX/MX 400]&amp;quot;&lt;br /&gt;
 	Driver		&amp;quot;nvidia&amp;quot;&lt;br /&gt;
 	BusID		&amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Adicionar a seguinte linha em baixo&lt;br /&gt;
&lt;br /&gt;
    Option		&amp;quot;NoLogo&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Gravar o ficheiro editado &lt;br /&gt;
*Ler [[#How to restart GNOME without rebooting computer]]&lt;br /&gt;
&lt;br /&gt;
==== Como instalar Drivers de VÃ­deo (ATI) ====&lt;br /&gt;
&lt;br /&gt;
*Ver [http://wiki.cchtml.com/index.php/Ubuntu_Installation_Guide Unofficial ATI Linux driver wiki]&lt;br /&gt;
*Ou [http://ubuntuforums.org/showpost.php?p=423584 Ubuntuforums.org]&lt;br /&gt;
*Ou [http://www.penlug.org/twiki/bin/view/Main/LinuxHardwareInfoATIRadeonX800 PenLUG.org]&lt;br /&gt;
&lt;br /&gt;
==== Como Corrigir a ResoluÃ§Ã£o do Ecran (Intel) ====&lt;br /&gt;
*Ler [[#How to enable Large Widescreen Support]] se possui um monitor de grandes dimensÃµes (&amp;gt;20&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
*Os chipsets grÃ¡ficos Intel 915g, 945g, etc. sÃ³ tÃªm um nÃºmero muito limitado de resoluÃ§Ãµes instalado por defeito, mesmo que o driver correcto esteja em funÃ§Ãµes.&lt;br /&gt;
*Instalar a ferramenta para a alteraÃ§Ã£o da resoluÃ§Ã£o:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install 915resolution&lt;br /&gt;
&lt;br /&gt;
*Correr a seguinte linha num terminal para ver os modos disponiveis:&lt;br /&gt;
&lt;br /&gt;
 915resolution -l&lt;br /&gt;
&lt;br /&gt;
*Escolha uma resoluÃ§Ã£o que nÃ£o necessite e substitua, o exemplo seguinte muda de 1920x1440 para 1920x1200&lt;br /&gt;
&lt;br /&gt;
 915resolution 5c 1920 1200&lt;br /&gt;
&lt;br /&gt;
*Isto deve adicionar a opÃ§Ã£o para esta resoluÃ§Ã£o Ã¡ ferramenta &amp;quot;Sistema&amp;gt;PreferÃªncias&amp;gt;ResoluÃ§Ã£o do Ecran&amp;quot;.&lt;br /&gt;
*Se funcionar correctamente pode fazer a mudanÃ§a permanentemente:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/rc.local&lt;br /&gt;
&lt;br /&gt;
*Simplesmente adicione o comando que acabou de escrever antes de:&lt;br /&gt;
&lt;br /&gt;
 exit 0&lt;br /&gt;
&lt;br /&gt;
==== Como mostrar a temperatura de um GPU nvidia (nvidia-settings) ====&lt;br /&gt;
*Ler [[#Como instalar Drivers de Video (NVIDIA)]]&lt;br /&gt;
&lt;br /&gt;
Num terminal, escreva&lt;br /&gt;
 nvidia-settings&lt;br /&gt;
&lt;br /&gt;
==== Detectar a temperatura do CPU, velocidade das ventoinhas e voltagens (lm-sensors) ====&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lm-sensors&lt;br /&gt;
&lt;br /&gt;
criar um ficheiro chamado mkdev.sh, com o seguinte conteÃºdo:&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 # Here you can set several defaults.&lt;br /&gt;
 &lt;br /&gt;
 # The number of devices to create (max: 256)&lt;br /&gt;
 NUMBER=32&lt;br /&gt;
 &lt;br /&gt;
 # The owner and group of the devices&lt;br /&gt;
 OUSER=root&lt;br /&gt;
 OGROUP=root&lt;br /&gt;
 # The mode of the devices&lt;br /&gt;
 MODE=600&lt;br /&gt;
 &lt;br /&gt;
 # This script doesn't need to be run if devfs is used&lt;br /&gt;
 if [ -r /proc/mounts ] ; then&lt;br /&gt;
 if grep -q &amp;quot;/dev devfs&amp;quot; /proc/mounts ; then&lt;br /&gt;
 echo &amp;quot;You do not need to run this script as your system uses devfs.&amp;quot;&lt;br /&gt;
 exit;&lt;br /&gt;
 fi&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 i=0;&lt;br /&gt;
 &lt;br /&gt;
 while [ $i -lt $NUMBER ] ; do&lt;br /&gt;
 echo /dev/i2c-$i&lt;br /&gt;
 mknod -m $MODE /dev/i2c-$i c 89 $i || exit&lt;br /&gt;
 chown &amp;quot;$OUSER:$OGROUP&amp;quot; /dev/i2c-$i || exit&lt;br /&gt;
 i=$[$i + 1]&lt;br /&gt;
 done&lt;br /&gt;
 #end of file&lt;br /&gt;
&lt;br /&gt;
Criar um executÃ¡vel apartir do ficheiro anterior e por a correr:&lt;br /&gt;
 sudo chmod +x mkdev.sh&lt;br /&gt;
 sudo ./mkdev.sh&lt;br /&gt;
&lt;br /&gt;
Para detectar os sensores. Responda a todas as perguntas&lt;br /&gt;
 sudo sensors-detect&lt;br /&gt;
&lt;br /&gt;
para carregar os modulos manuais:&lt;br /&gt;
 sudo /etc/init.d/module-init-tools&lt;br /&gt;
faÃ§a load dos modulos para o kernel:&lt;br /&gt;
 sudo sensors -s&lt;br /&gt;
&lt;br /&gt;
E veja o output&lt;br /&gt;
 sudo sensors&lt;br /&gt;
&lt;br /&gt;
==== Como controlar a velocidade das ventoinhas (fan's) (lm-sensors) ====&lt;br /&gt;
Instalar e configurar primeiro lm-sensors, ver na secÃ§Ã£o anterior. &lt;br /&gt;
Depois executar pwmconfig para testar as ventoinhas (fans).&lt;br /&gt;
&lt;br /&gt;
 pwmconfig&lt;br /&gt;
&lt;br /&gt;
Criar o seguinte ficheiro: /etc/init.d/fancontrol, com o seguinte conteÃºdo:&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #&lt;br /&gt;
 # Fancontrol start script.&lt;br /&gt;
 #&lt;br /&gt;
 &lt;br /&gt;
 set -e&lt;br /&gt;
 &lt;br /&gt;
 # Defaults&lt;br /&gt;
 DAEMON=/usr/sbin/fancontrol&lt;br /&gt;
 PIDFILE=/var/run/fancontrol-pid&lt;br /&gt;
 PATH=/sbin:/bin:/usr/sbin:/usr/bin&lt;br /&gt;
 &lt;br /&gt;
 test -f $DAEMON || exit 0&lt;br /&gt;
 &lt;br /&gt;
 . /lib/lsb/init-functions&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
        start)&lt;br /&gt;
                log_begin_msg &amp;quot;Starting fancontrol daemon...&amp;quot;&lt;br /&gt;
                start-stop-daemon --start -o -q -m -b -p $PIDFILE -x $DAEMON&lt;br /&gt;
                log_end_msg $?&lt;br /&gt;
                ;;&lt;br /&gt;
        stop)&lt;br /&gt;
                log_begin_msg &amp;quot;Stopping fancontrol daemon...&amp;quot;&lt;br /&gt;
                start-stop-daemon --stop -o -q -p $PIDFILE&lt;br /&gt;
                log_end_msg $?&lt;br /&gt;
                ;;&lt;br /&gt;
        force-reload|restart)&lt;br /&gt;
                sh $0 stop&lt;br /&gt;
                sh $0 start&lt;br /&gt;
                ;;&lt;br /&gt;
        *)&lt;br /&gt;
                log_success_msg &amp;quot;Usage: /etc/init.d/fancontrol {start|stop|restart|force-reload}&amp;quot;&lt;br /&gt;
                log_success_msg &amp;quot;  start - starts system-wide fancontrol service&amp;quot;&lt;br /&gt;
                log_success_msg &amp;quot;  stop  - stops system-wide fancontrol service&amp;quot;&lt;br /&gt;
                log_success_msg &amp;quot;  restart, force-reload - starts a new system-wide fancontrol service&amp;quot;&lt;br /&gt;
                exit 1&lt;br /&gt;
                ;;&lt;br /&gt;
 esac&lt;br /&gt;
 &lt;br /&gt;
 exit 0&lt;br /&gt;
&lt;br /&gt;
Na consola:&lt;br /&gt;
&lt;br /&gt;
Agora torne-o num executÃ¡vel:&lt;br /&gt;
 sudo chmod +x /etc/init.d/fancontrol&lt;br /&gt;
&lt;br /&gt;
SÃ³ para testar escreva&lt;br /&gt;
 /etc/init.d/fancontrol start&lt;br /&gt;
e&lt;br /&gt;
 /etc/init.d/fancontrol stop&lt;br /&gt;
&lt;br /&gt;
Se tudo funcionar bem, entÃ£o faÃ§a-o iniciar-se automaticamente no inicio de sessÃ£o.  Em /etc/rc.local, antes do &amp;quot;exit 0&amp;quot; escreva a seguinte linha:&lt;br /&gt;
 /etc/init.d/fancontrol start&lt;br /&gt;
&lt;br /&gt;
==== Como controlar as temperaturas do CPU e da GPU, velocidades das ventoinhas e voltagens (GKrellM) ====&lt;br /&gt;
*Ler [[#General Notes]]&lt;br /&gt;
*Ler [[#How to add extra repositories]]&lt;br /&gt;
&lt;br /&gt;
*Instalar o lm-sensors para controlar as temperaturas do CPU e da GPU, velocidades das ventoinhas e voltagens no GKrellM. [[#How to detect CPU temperature, fan speeds and voltages (lm-sensors)]]&lt;br /&gt;
&lt;br /&gt;
*Instalar os drivers de vÃ­deo da nvidia para controlar as temperaturas do GPU. [[#How to install Graphics Driver (NVIDIA)]]&lt;br /&gt;
&lt;br /&gt;
*Instalar o hddtemp para controlar as temperaturas do disco rÃ­gido&lt;br /&gt;
 sudo apt-get install hddtemp&lt;br /&gt;
&lt;br /&gt;
GKrellM Ã© um controlador de hardware que pode mostrar as temperaturas do CPU e da GPU, a velocidade das ventoinhas, voltagens, o load do CPU, o load da network, a actividade dos discos e a sua temperatura e o uso da memoria do swap. A instalaÃ§Ã£o Ã© muito facil e a configuraÃ§Ã£o necessita apenas de alguns clicks. Pode definir alarmes para avisar o sobre-aquecimento do CPU, ou se hÃ¡ uma falha nalguma ventoinha. O hddtemp funciona com o GKrellM para permitir que este consiga saber as temperaturas do disco para os manter sempre frescos (p.e a menos de 40ÂºC) para que tenham um tempo de vida maior do que se correm constantemente a uma temperatura elevada (p.e., acima de 50ÂºC).&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gkrellm&lt;br /&gt;
&lt;br /&gt;
Para correr o programa&lt;br /&gt;
&lt;br /&gt;
 Click Applications -&amp;gt; System Tools -&amp;gt; GKrellM&lt;br /&gt;
&lt;br /&gt;
Para o configurar,&lt;br /&gt;
&lt;br /&gt;
 Right click on GKrellM -&amp;gt; Configuration&lt;br /&gt;
&lt;br /&gt;
Eu estive a tentar funcionar com o lm_sensors, mas ele nÃ£o me detectava todos os sensores do computador. Mais tarde, econtrei o &amp;quot;GKrellM&amp;quot;. Funciona prefeitamente com a minha nVidia 6600 GT. O GKrellM tambÃ©m possui plugins para mostrar informaÃ§Ãµes metereologicas, definir lembretes, etc.&lt;br /&gt;
&lt;br /&gt;
'''Adicionar um alerta sonoro (Opcional):'''  &lt;br /&gt;
Aqui esta uma maneira para conseguir por alertas sonoros quando o CPU esta muito quente ou quando uma venotinha falha. Primeiro, pÃ© preciso gravar a mensagem audio (Eu usei o Audacity). Depois Ã© ir a:&lt;br /&gt;
&lt;br /&gt;
 Configuration -&amp;gt; Builtins folder (Left side)-&amp;gt; Sensors -&amp;gt; Temperatures folder (Right side)-&amp;gt; CPU -&amp;gt; Alerts Button&lt;br /&gt;
&lt;br /&gt;
Cole UMA das seguintes linhas numa janela do Terminal para testar o som. Se tiver duas placas de som, pode usar a opÃ§Ã£o &amp;quot;-ao oss:/dev/dsp1&amp;quot; para fazer com que o som seja desviado para a 2Âª placa. Modifique o caminho do ficheiro e o nome para que aponte correctamente para o ficheiro. Se conseguir ouvir o som, entÃ£o copie a linha de comando para a caixa de texto na janela dos Alertas do GKrellM.&lt;br /&gt;
&lt;br /&gt;
 mplayer /home/myfolder/alert_messages/heat_alert.mp3&lt;br /&gt;
 mplayer -ao oss:/dev/dsp1 /home/myfolder/alert_messages/heat_alert.mp3&lt;br /&gt;
&lt;br /&gt;
=== CPU ===&lt;br /&gt;
==== Como Activar as funÃ§Ãµes de poupanÃ§a de energia/reduÃ§Ã£o de frequÃªncia do seu CPU ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*1Âº Passo: Activar o suporte da BIOS&lt;br /&gt;
Entre na BIOS da sua motherboard durante o boot e certifique-se de que tanto o ACPI como o Cool'n'Quiet (AMD) ou o SpeedStep (Intel) estÃ£o activos. Algumas BIOS nÃ£o a opÃ§Ã£o. Se for esse o caso provavelmente estÃ¡ activo por defeito. Outras BIOS podem ter a opÃ§Ã£o mas estÃ¡ com outro nome. Leia o manual de instruÃ§Ãµes neste caso.&lt;br /&gt;
&lt;br /&gt;
*2Âº Passo: Remover o software de reduÃ§Ã£o de frequÃªncia Userspace&lt;br /&gt;
powernowd&lt;br /&gt;
 sudo apt-get remove powernowd&lt;br /&gt;
cpudyn&lt;br /&gt;
 sudo apt-get remove cpudyn&lt;br /&gt;
&lt;br /&gt;
*3Âº Passo: Instalar o modulo do CPU&lt;br /&gt;
Identifique o seu CPU correndo o seguinte comando&lt;br /&gt;
 cat /proc/cpuinfo&lt;br /&gt;
&lt;br /&gt;
Pode tambÃ©m procurar num dos seguintes links&lt;br /&gt;
Lista de CPUs AMD - [[http://www.tomshardware.com/2005/11/21/the_mother_of_all_cpu_charts_2005/page20.html]]&lt;br /&gt;
Lista de CPUs Intel - [[http://www.tomshardware.com/2005/11/21/the_mother_of_all_cpu_charts_2005/page21.html]]&lt;br /&gt;
&lt;br /&gt;
''AMD Sempron/Athlon/MP ( K7 )''&lt;br /&gt;
&lt;br /&gt;
Socket Types: A, Slot A&lt;br /&gt;
 sudo modprobe powernow-k7&lt;br /&gt;
''AMD Duron/Sempron/Athlon/Opteron 64 ( K8 )''&lt;br /&gt;
&lt;br /&gt;
Socket Types: 754, 939, 940, S1 ( 638 ), AM2 ( 940 ), F ( 1207 )&lt;br /&gt;
 sudo modprobe powernow-k8&lt;br /&gt;
''Intel Core Duo''&lt;br /&gt;
 sudo modprobe speedstep-centrino&lt;br /&gt;
''Intel Pentium M''&lt;br /&gt;
 sudo modprobe speedstep-centrino&lt;br /&gt;
''Intel Pentium 4''&lt;br /&gt;
 sudo modprobe p4_clockmod&lt;br /&gt;
''Others (Unknown)''&lt;br /&gt;
&lt;br /&gt;
NÃ£o estou 100% certo acerca de que CPUs suportam este modo. Se o seu CPU nÃ£o funcionar com nenhum dos mÃ©todos acima tente este.&lt;br /&gt;
 sudo modprobe acpi-cpufreq&lt;br /&gt;
&lt;br /&gt;
*4Âº Passo: Modos de ReduÃ§Ã£o de frequÃªncia&lt;br /&gt;
 sudo modprobe cpufreq_conservative&lt;br /&gt;
 sudo modprobe cpufreq_ondemand&lt;br /&gt;
 sudo modprobe cpufreq_powersave&lt;br /&gt;
 sudo modprobe cpufreq_stats&lt;br /&gt;
 sudo modprobe cpufreq_userspace&lt;br /&gt;
&lt;br /&gt;
*5Âº Passo: Teste/ConfiguraÃ§Ã£o&lt;br /&gt;
Mostrar mÃ©todos disponiveis&lt;br /&gt;
 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors&lt;br /&gt;
Deve obter um resutado como este&lt;br /&gt;
 powersave conservative ondemand performance&lt;br /&gt;
&lt;br /&gt;
*6Âº Passo: Correr o modulo no start-up&lt;br /&gt;
Add the following lines to the end of /etc/modules&lt;br /&gt;
 cpufreq_conservative&lt;br /&gt;
 cpufreq_ondemand&lt;br /&gt;
 cpufreq_powersave&lt;br /&gt;
 cpufreq_stats&lt;br /&gt;
 cpufreq_userspace&lt;br /&gt;
'''''Adicione tambÃ©m o modulo que escolheu no 3Âº passo'''''&lt;br /&gt;
&lt;br /&gt;
*7Âº Passo: Instalar o cpufrequtils&lt;br /&gt;
This is a simple, effective tool for using the modules from the command line.&lt;br /&gt;
 sudo apt-get install cpufrequtils&lt;br /&gt;
Test that it's working.&lt;br /&gt;
 cpufreq-info&lt;br /&gt;
&lt;br /&gt;
*8Âº Passo: Escolha um mÃ©todos&lt;br /&gt;
The different governors control how the CPU speed is scaled. Your choices are:&lt;br /&gt;
&lt;br /&gt;
''ondemand''&lt;br /&gt;
&lt;br /&gt;
A frequÃªncia do CPU Ã© alterada consoante a utilizaÃ§Ã£o do mesmo.&lt;br /&gt;
&lt;br /&gt;
''conservative''&lt;br /&gt;
&lt;br /&gt;
O mÃ©todo &amp;quot;consrvative&amp;quot;, muito como o &amp;quot;ondemand&amp;quot;, aplica a a frequencia de que necessita num determinado momento. Difere no comportanmento jÃ¡ que este aumenta e reduz a velocidade do CPU em vez de alternar entre velocidade mÃ¡xima e mÃ­nima. Este comportamento encaixa melhor num ambiente de poupanÃ§a de energia.&lt;br /&gt;
&lt;br /&gt;
''performance''&lt;br /&gt;
&lt;br /&gt;
O CPU corre na sua mÃ¡xima velocidade independentemente da utilizaÃ§Ã£o.&lt;br /&gt;
&lt;br /&gt;
''powersave''&lt;br /&gt;
&lt;br /&gt;
O CPU corre Ã¡ mÃ­nima frequÃªncia independentemente da utilizaÃ§Ã£o.&lt;br /&gt;
&lt;br /&gt;
Ver [[http://www.mjmwired.net/kernel/Documentation/cpu-freq/governors.txt]] para mais detalhes.&lt;br /&gt;
&lt;br /&gt;
Eu uso &amp;quot;ondemand&amp;quot; geralmente, nunca falta velocidade e poupa-se muita energia (e produz muito menos calor quando em Idle).&lt;br /&gt;
&lt;br /&gt;
Experimente:&lt;br /&gt;
 cpufreq-set -g ondemand&lt;br /&gt;
&lt;br /&gt;
Em sistemas com mais que um CPU tem que repetir o ultimo comando para todos os CPUs que tiver com o parametro -c (CPU). para activar o comando no segundo CPU escreva:&lt;br /&gt;
 cpufreq-set -c 1 -g ondemand&lt;br /&gt;
Para ver quantos CPUs possui escreva:&lt;br /&gt;
 ls /sys/devices/system/cpu/ &lt;br /&gt;
&lt;br /&gt;
*9Âº Passo: Configure o cpufrequtils  para automaticamente utilizar o mÃ©todo que escolheu no start-up&lt;br /&gt;
Edite o ficheiro /etc/default/cpufrequtils. Mude a linha:&lt;br /&gt;
 ENABLE=&amp;quot;false&amp;quot;&lt;br /&gt;
para&lt;br /&gt;
 ENABLE=&amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Mude o valor do GOVERNOR para o nome do mÃ©todo que escolheu no 8Âº passo.&lt;br /&gt;
&lt;br /&gt;
Fontes:&lt;br /&gt;
[[http://www.ubuntuforums.org/showthread.php?s=a98372407aafdee660ab498a531c55e9&amp;amp;t=248867]]&lt;br /&gt;
[[http://www.ovro.caltech.edu/~abeard/FC3_ON_8600/governors.html]]&lt;br /&gt;
&lt;br /&gt;
=== Modems / Rede ===&lt;br /&gt;
==== Como identificar o chipset do Modem ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Para  instalar o identificador do Chipset do Modem&lt;br /&gt;
*Ler [[#How to install Basic Compilers (build-essential)]]&lt;br /&gt;
&lt;br /&gt;
 wget -c http://easylinux.info/uploads/scanModem.gz&lt;br /&gt;
 gunzip -c scanModem.gz &amp;gt; scanModem&lt;br /&gt;
 chmod +x scanModem&lt;br /&gt;
 sudo cp scanModem /usr/bin/&lt;br /&gt;
&lt;br /&gt;
*Para identificar o Chipset do Modem&lt;br /&gt;
&lt;br /&gt;
 sudo scanModem&lt;br /&gt;
 gedit Modem/ModemData.txt&lt;br /&gt;
&lt;br /&gt;
==== Como instalar Drivers Wireless Windows (Ndiswrapper) ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Para instalar o ndiswrapper vai precisar de uma cÃ³pia das drivers do windows para o dispositivo ethernet Wireless.&lt;br /&gt;
*Isto sÃ³ tem significado em ser instalado se a placa nÃ£o for suportada pelo Ubuntu, consulte a lista de [https://help.ubuntu.com/community/WifiDocs/WirelessCardsSupported placas wireless suportadas para Ubuntu].&lt;br /&gt;
*Consulte a lista ndiswrapper de placas wireless suportadas se a sua placa nÃ£o for suportada, visite [http://ndiswrapper.sourceforge.net/mediawiki/index.php/List lista oficial Ndiswrapper de placas suportadas]&lt;br /&gt;
&lt;br /&gt;
*Verifique se tem o mÃ³dulo acx carregado. Porque o mÃ³dulo acx interfere com a driver do windows, Ã© necessÃ¡rio remover caso seja encontrada.&lt;br /&gt;
 lsmod | grep acx&lt;br /&gt;
&lt;br /&gt;
*Remover o mÃ³dulo acx se for encontrado. Poderia tambÃ©m ser acx_pci ou similar.  Nota: Novo update ao kernel irÃ¡ auto carregar novamente o mÃ³dulo acx. Por isso repita os seguintes dois comandos todas as vezes que o kernel for actualizado.&lt;br /&gt;
 sudo rmmod acx&lt;br /&gt;
 sudo nano /etc/modprobe.d/blacklist&lt;br /&gt;
*Adicionar uma nova lista no fim do ficheiro tal como estÃ¡:&lt;br /&gt;
 # drivers wireless ACX&lt;br /&gt;
 blacklist acx&lt;br /&gt;
&lt;br /&gt;
*Instalar o ndiswrapper e as drivers (devido a um erro no Edgy, vai ser necessÃ¡rio especificar ndiswrapper-utils-1.8)&lt;br /&gt;
 sudo apt-get install ndiswrapper-utils-1.8&lt;br /&gt;
 sudo ndiswrapper -i /location_of_your_wireless_driver/your_driver.inf&lt;br /&gt;
 sudo ndiswrapper -l&lt;br /&gt;
 sudo modprobe ndiswrapper&lt;br /&gt;
&lt;br /&gt;
*Introduzir ndiswrapper para carregar no arranque&lt;br /&gt;
&lt;br /&gt;
 sudo ndiswrapper -m&lt;br /&gt;
 gksudo gedit /etc/modules&lt;br /&gt;
&lt;br /&gt;
*Adicione o seguinte mÃ³dulo Ã  lista&lt;br /&gt;
&lt;br /&gt;
 ndiswrapper&lt;br /&gt;
&lt;br /&gt;
*Agora pode configurar a placa wireless atravÃ©s do ifconfig e iwconfig.&lt;br /&gt;
&lt;br /&gt;
:''Ex: Supondo que wlan0 Ã© o dispositivo wireless.&lt;br /&gt;
&lt;br /&gt;
 sudo iwconfig wlan0 essid &amp;quot;AP&amp;quot; key ababababababababab mode Managed&lt;br /&gt;
 iwconfig&lt;br /&gt;
&lt;br /&gt;
*Agora Ã© capaz de ver o endereÃ§o MAC do access point e o sinal de acesso.&lt;br /&gt;
&lt;br /&gt;
==== Ndiswrapper for Broadcom 43xx wireless chipset ====&lt;br /&gt;
*The Broadcom 43xx (bcm43xx) wireless chipset is one of the most common chipsets, so special scripts have been written for it.&lt;br /&gt;
*'''Only follow this if you have a bcm43xx device'''. To check in the Terminal type:&lt;br /&gt;
 lspci | grep Broadcom\ Corporation&lt;br /&gt;
If it displays a line similar to this,&lt;br /&gt;
 0000:02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)&lt;br /&gt;
you have a Broadcom wireless chipset. Please proceed with the instructions.&lt;br /&gt;
&lt;br /&gt;
*Put the Ubuntu CD that you installed Ubuntu with in the CD drive.&lt;br /&gt;
*[http://student.khleuven.be/~501115/bcm4318.Feisty.tar.gz Download this] to the desktop (the Firefox default, so if you haven't changed it, that's where it went/will go).&lt;br /&gt;
*In a terminal type&lt;br /&gt;
 cd ~/Desktop (or wherever you downloaded the file)&lt;br /&gt;
 tar -xf bcm4318*.tar.gz&lt;br /&gt;
 sudo ./ndiswrapper_setup_Feisty&lt;br /&gt;
&lt;br /&gt;
Your wireless chipset should now work. Try rebooting if you have problems.&lt;br /&gt;
Please see this thread if you have problems: http://ubuntuforums.org/showthread.php?t=197102&amp;amp;highlight=install+ndiswrapper&lt;br /&gt;
&lt;br /&gt;
==== How to enable WPA with Ndiswrapper driver ====&lt;br /&gt;
*First, make sure the Ndiswrapper driver works by itself without encryption.&lt;br /&gt;
&lt;br /&gt;
*Create a file called /etc/wpa_supplicant.conf, and paste in the following.  Modify the ssid and psk values.&lt;br /&gt;
 ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
  network={&lt;br /&gt;
    ssid=&amp;quot;YourWiFiSSID&amp;quot;&lt;br /&gt;
    psk=&amp;quot;YourWiFiPassword&amp;quot;&lt;br /&gt;
    key_mgmt=WPA-PSK&lt;br /&gt;
    proto=WPA&lt;br /&gt;
    pairwise=TKIP&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
*Test it.  Make sure your router is broadcasting its SSID.&lt;br /&gt;
 sudo wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd&lt;br /&gt;
&lt;br /&gt;
*If your WPA works.  Load it automatically when you reboot.&lt;br /&gt;
 gksudo gedit /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
*Change your wlan0 section to the following.&lt;br /&gt;
&lt;br /&gt;
If you are using static IP:&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet static&lt;br /&gt;
 address 192.168.1.20&lt;br /&gt;
 netmask 255.255.255.0&lt;br /&gt;
 gateway 192.168.1.1&lt;br /&gt;
 pre-up wpa_supplicant -Bw -Dwext -iwlan0 -c/etc/wpa_supplicant.conf&lt;br /&gt;
 post-down killall -q wpa_supplicant&lt;br /&gt;
&lt;br /&gt;
or this, if you are using dhcp.&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet dhcp&lt;br /&gt;
 pre-up wpa_supplicant -Bw -Dwext -iwlan0 -c/etc/wpa_supplicant.conf&lt;br /&gt;
 post-down killall -q wpa_supplicant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Reboot&lt;br /&gt;
&lt;br /&gt;
==== Como instalar Driver Modem (SmartLink) ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
&lt;br /&gt;
 uname -r (must be 2.6.10-5-386)&lt;br /&gt;
 wget -c http://easylinux.info/uploads/sl-modem-modules-2.6.10-5-386_2.9.9a-1ubuntu2+2.6.10-34_i386.deb&lt;br /&gt;
 sudo dpkg -i sl-modem-modules-*.deb&lt;br /&gt;
 sudo apt-get install sl-modem-daemon&lt;br /&gt;
&lt;br /&gt;
=== Palm ===&lt;br /&gt;
&lt;br /&gt;
==== Como configurar aparelhos PalmOS ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 gksudo gedit /etc/udev/rules.d/10-custom.rules&lt;br /&gt;
&lt;br /&gt;
*Insira a seguinte linha no novo ficheiro&lt;br /&gt;
&lt;br /&gt;
 BUS=&amp;quot;usb&amp;quot;, SYSFS{product}=&amp;quot;Palm Handheld*&amp;quot;, KERNEL=&amp;quot;ttyUSB*&amp;quot;, NAME{ignore_remove}=&amp;quot;pilot&amp;quot;, MODE=&amp;quot;666&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado &lt;br /&gt;
*Add the pilot-applet to the Taskbar by Right-Clicking on an empty spot&lt;br /&gt;
*Siga as intruÃ§Ãµes que aparecem no ecrÃ£&lt;br /&gt;
&lt;br /&gt;
=== Hard Drive ===&lt;br /&gt;
&lt;br /&gt;
==== Como listar a tabela de PartiÃ§Ãµes ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 sudo fdisk -l&lt;br /&gt;
&lt;br /&gt;
*TambÃ©m pode usar Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Discos&lt;br /&gt;
&lt;br /&gt;
==== Como mostrar a utilizaÃ§Ã£o do espaÃ§o de disco do sistema ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 df -Th&lt;br /&gt;
&lt;br /&gt;
*TambÃ©m pode usar Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Discos&lt;br /&gt;
&lt;br /&gt;
==== Como listar os dispositivos/discos montados ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 mount&lt;br /&gt;
&lt;br /&gt;
==== Como re-montar o /etc/fstab sem reiniciar ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 sudo mount -a&lt;br /&gt;
&lt;br /&gt;
=== USB ===&lt;br /&gt;
==== Como listar dispositivos USB ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 lsusb&lt;br /&gt;
&lt;br /&gt;
==== Workaround for random device disconnections ====&lt;br /&gt;
&lt;br /&gt;
Random disconnection is a kernel bug that is not fixed yet. Some users report randomly disconnecting USB devices, especially external hard drives. One solution is to start the system with the option &amp;quot;irqpoll&amp;quot; in grub, but this doesn't work for everybody, and is believed to make the whole system slower. The other solution is to disable USB 2.0. This will result in way slower read/write, but the connection remains stable.&lt;br /&gt;
&lt;br /&gt;
To disable USB 2.0, type this in the terminal:&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe -r ehci_hcd&lt;br /&gt;
&lt;br /&gt;
Test if the copy/write process is stable, and if you want to disable USB 2.0 upon boot, type:&lt;br /&gt;
&lt;br /&gt;
 sudo sh -c 'echo blacklist ehci_hcd &amp;gt; /etc/modprobe.d/blacklist-ehci'&lt;br /&gt;
 sudo update-initramfs -u -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
=== Optical Drives ===&lt;br /&gt;
==== Como acelerar o CD/DVD-ROM ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
:''e.g. Assumindo que /dev/cdrom Ã© a localizaÃ§Ã£o do CD/DVD-ROM''&lt;br /&gt;
&lt;br /&gt;
 sudo hdparm -d1 /dev/cdrom&lt;br /&gt;
 sudo cp /etc/hdparm.conf /etc/hdparm.conf_backup&lt;br /&gt;
 gksudo gedit /etc/hdparm.conf&lt;br /&gt;
&lt;br /&gt;
*Adicione as linhas seguintes ao final do ficheiro&lt;br /&gt;
&lt;br /&gt;
 /dev/cdrom {&lt;br /&gt;
     dma = on&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado&lt;br /&gt;
&lt;br /&gt;
==== Como montar/desmontar CD/DVD-ROM manualmente, e mostrar todas os ficheiros/pastas escondidos ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
:''e.g. Assumindo que /media/cdrom0/ Ã© a localizaÃ§Ã£o do CD/DVD-ROM''&lt;br /&gt;
&lt;br /&gt;
*Para montar CD/DVD-ROM&lt;br /&gt;
&lt;br /&gt;
 sudo mount /media/cdrom0/ -o unhide&lt;br /&gt;
&lt;br /&gt;
*Para desmontar CD/DVD-ROM&lt;br /&gt;
&lt;br /&gt;
 sudo umount /media/cdrom0/&lt;br /&gt;
&lt;br /&gt;
==== Como forÃ§ar o desmontar do CD/DVD-ROM manualmente ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
:''e.g. Assumindo que /media/cdrom0/ Ã© a localizaÃ§Ã£o do CD/DVD-ROM''&lt;br /&gt;
&lt;br /&gt;
 sudo umount /media/cdrom0/ -l&lt;br /&gt;
&lt;br /&gt;
=== Monitores / Displays ===&lt;br /&gt;
==== Como activar Suporte Large Widescreen ====&lt;br /&gt;
&lt;br /&gt;
*Monitores widescreen 24/23&amp;quot; por vezes tem problemas a funcionar em 1920x1200.&lt;br /&gt;
*Exemplos incluÃ­ndo: Dell 2405, HP 2335 ou Apple Cinema Display.&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
*Adicione a seguinte linha para a secÃ§Ã£o &amp;quot;Monitor&amp;quot; apropriado&lt;br /&gt;
&lt;br /&gt;
 Modeline	&amp;quot;1920x1200&amp;quot; 154 1920 1968 2000 2080 1200 1203 1209 1235&lt;br /&gt;
&lt;br /&gt;
*Por exemplo o HP2335 deve agora ficar parecido:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
 	Identifier	&amp;quot;hp L2335&amp;quot;&lt;br /&gt;
 	Option		&amp;quot;DPMS&amp;quot;&lt;br /&gt;
 	Modeline	&amp;quot;1920x1200&amp;quot; 154 1920 1968 2000 2080 1200 1203 1209 1235&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
==== Como ligar o sinal CRT (monitor externo/projector) para portÃ¡teis (Intel) ====&lt;br /&gt;
'''Nota:''' VÃ¡lido apenas para placas grÃ¡ficas baseadas em chipsets IntelÂ®&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install i810switch&lt;br /&gt;
&lt;br /&gt;
Ligar o sinal CRT&lt;br /&gt;
&lt;br /&gt;
 i810switch crt on&lt;br /&gt;
&lt;br /&gt;
Desligar o sinal CRT &lt;br /&gt;
&lt;br /&gt;
 i810switch crt off&lt;br /&gt;
&lt;br /&gt;
=== Som ===&lt;br /&gt;
==== Como configurar colunas em surround (5.1 e outros) com o ALSA ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
*Edite o ficheiro ~/.asoundrc, crie-o se nÃ£o existir:&lt;br /&gt;
&lt;br /&gt;
 gedit ~/.asoundrc&lt;br /&gt;
&lt;br /&gt;
*Adicione a seguinte secÃ§Ã£o:&lt;br /&gt;
&lt;br /&gt;
 pcm.!default {&lt;br /&gt;
     type plug&lt;br /&gt;
     slave.pcm &amp;quot;surround51&amp;quot;&lt;br /&gt;
     slave.channels 6&lt;br /&gt;
     route_policy duplicate&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
*Isto permitirÃ¡ reproduzir som surround e duplicar o stereo por todos os 6 canais (nÃ£o apenas os frontais).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Como modificar a placa de som por defeito ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
*Ver placas de som disponiveis&lt;br /&gt;
&lt;br /&gt;
 sudo asoundconf list&lt;br /&gt;
&lt;br /&gt;
*Deve obter algo como isto&lt;br /&gt;
&lt;br /&gt;
 Names of available sound cards:&lt;br /&gt;
   Live&lt;br /&gt;
   V8237&lt;br /&gt;
&lt;br /&gt;
*Troque a placa de som, com &amp;quot;exemplo&amp;quot; sendo o nome da placa de som que escolheu&lt;br /&gt;
&lt;br /&gt;
 sudo asoundconf set-default-card exemplo&lt;br /&gt;
&lt;br /&gt;
=== Misc ===&lt;br /&gt;
==== Como listar os perifÃ©ricos PCI ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 lspci&lt;br /&gt;
&lt;br /&gt;
==== How to install a Wacom tablet ====&lt;br /&gt;
&lt;br /&gt;
'''For a detailed guide with screenshots about how to configure the &amp;quot;Extended input devices&amp;quot; in your graphic applications, please follow the official Dapper guide at https://wiki.ubuntu.com//Wacom '''&lt;br /&gt;
&lt;br /&gt;
''With the version of the Linux Wacom driver (0.7.2) in Ubuntu 6.06 Dapper Drake, if you unplug you tablet, it won't function when you plug it back in and you will have to restart X. For this reason, it is best to leave the tablet plugged in. This limitation will be removed when the 0.7.4 version of the driver is included in Ubuntu.''&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
*   1. Using Synaptic package manager, check if the packages xserver-xorg-input-wacom and wacom-tools are already installed - if not, install them. If you prefer using the command line, you can also execute :&lt;br /&gt;
&lt;br /&gt;
      sudo apt-get install xserver-xorg-input-wacom wacom-tools&lt;br /&gt;
&lt;br /&gt;
*   2. Save a copy of your /etc/X11/xorg.conf :&lt;br /&gt;
&lt;br /&gt;
       sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
&lt;br /&gt;
*      then edit it with the command line :&lt;br /&gt;
&lt;br /&gt;
       gksudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
*      and change all /dev/wacom occurences into /dev/input/wacom (created by wacom-tools udev scripts), then save the file.&lt;br /&gt;
&lt;br /&gt;
*You should be ready to go after you have restarted X. Remember to configure the &amp;quot;Extended input devices&amp;quot; in your graphic applications (Gimp, Inkscape), however you can already check if it's working by moving your stylus on the tablet : the mouse cursor should go through the whole screen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CD/DVD Burning ==&lt;br /&gt;
&lt;br /&gt;
==== Como apagar um CD-RW/DVD-RW ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
:''e.x. Assumindo que /dev/cdrom Ã© a localizaÃ§Ã£o do CD/DVD-ROM''&lt;br /&gt;
&lt;br /&gt;
 sudo umount /dev/cdrom&lt;br /&gt;
 cdrecord dev=/dev/cdrom blank=fast&lt;br /&gt;
&lt;br /&gt;
==== Como gravar ficheiros/pastas num CD/DVD ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 Locais -&amp;gt; Criador de CD/DVD &lt;br /&gt;
&lt;br /&gt;
*Arraste ficheiros/pastas para a janela&lt;br /&gt;
&lt;br /&gt;
 Ficheiro -&amp;gt; Gravar no disco... -&amp;gt; Gravar&lt;br /&gt;
&lt;br /&gt;
==== Como gravar ficheiros Imagem (ISO) num CD/DVD ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 Clique direito no ficheiro Imagem (ISO) -&amp;gt; Gravar no disco... -&amp;gt; Gravar&lt;br /&gt;
&lt;br /&gt;
====  Como copiar um CD/DVD? ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como criar ficheiros Imagem (ISO) apartir dum CD/DVD]]&lt;br /&gt;
*Ler [[#Como gravar ficheiros Imagem (ISO) num CD/DVD]]&lt;br /&gt;
&lt;br /&gt;
==== Como criar ficheiros Imagem (ISO) apartir dum CD/DVD ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
:''e.x. Assumindo que /dev/cdrom Ã© a localizaÃ§Ã£o do CD/DVD-ROM''&lt;br /&gt;
&lt;br /&gt;
 sudo umount /dev/cdrom&lt;br /&gt;
 dd if=/dev/cdrom of=file.iso bs=1024&lt;br /&gt;
&lt;br /&gt;
==== Como criar ficheiros Imagem (ISO) apartir de pastas ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 mkisofs -r -o ficheiro.iso /localizaÃ§Ã£o_da_pasta/&lt;br /&gt;
&lt;br /&gt;
====  Como criar ficheiros de verificaÃ§Ã£o de integridade MD5? ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 md5sum ficheiro.iso &amp;gt; ficheiro.iso.md5&lt;br /&gt;
&lt;br /&gt;
====  Como verificar a integridade MD5 de ficheiros? ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
:''e.x. Assumindo que o ficheiro.iso e o ficheiro.iso.md5 estÃ£o na mesma pasta''&lt;br /&gt;
&lt;br /&gt;
 md5sum -c ficheiro.iso.md5&lt;br /&gt;
&lt;br /&gt;
====  Como montar/desmontar ficheiros de imagem (ISO) sem gravÃ¡-los? ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Para montar um ficheiro de imagem (ISO)&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /media/iso&lt;br /&gt;
 sudo modprobe loop&lt;br /&gt;
 sudo mount ficheiro.iso /media/iso/ -t iso9660 -o loop&lt;br /&gt;
&lt;br /&gt;
*Para desmontar um ficheiro de imagem (ISO)&lt;br /&gt;
&lt;br /&gt;
 sudo umount /media/iso/&lt;br /&gt;
&lt;br /&gt;
====  Como definir/alterar a velocidade de gravaÃ§Ã£o de um gravador de CD/DVD? ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*AplicaÃ§Ãµes &amp;gt; Ferramentas de Sistema -&amp;gt; Editor de ConfiguraÃ§Ã£o&lt;br /&gt;
*Editor de ConfiguraÃ§Ã£o&lt;br /&gt;
&lt;br /&gt;
 / -&amp;gt; apps -&amp;gt; nautilus-cd-burner -&amp;gt; default_speed (set/change the burn speed)&lt;br /&gt;
&lt;br /&gt;
====  Como activar o burnproof para o gravador de CD/DVD? ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*AplicaÃ§Ãµes &amp;gt; Ferramentas de Sistema -&amp;gt; Editor de ConfiguraÃ§Ã£o&lt;br /&gt;
*Editor de ConfiguraÃ§Ã£o&lt;br /&gt;
&lt;br /&gt;
 / -&amp;gt; apps -&amp;gt; nautilus-cd-burner -&amp;gt; burnproof ('''Checked''')&lt;br /&gt;
&lt;br /&gt;
==== Como activar o overburn para gravador de CD/DVD? ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*AplicaÃ§Ãµes &amp;gt; Ferramentas de Sistema -&amp;gt; Editor de ConfiguraÃ§Ã£o&lt;br /&gt;
*Editor de ConfiguraÃ§Ã£o&lt;br /&gt;
&lt;br /&gt;
 / -&amp;gt; apps -&amp;gt; nautilus-cd-burner -&amp;gt; overburn ('''Checked''')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Networking ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.debianadmin.com/ubuntu-networking-for-basic-and-advanced-users.html Tutorial Completo sobre Redes em Ubuntu]- Ingles, Guia passo-a-passo sobre redes para utilizadores iniciantes e avanÃ§ados.&lt;br /&gt;
&lt;br /&gt;
==== Como configurar o Google Talk ====&lt;br /&gt;
&lt;br /&gt;
*Veja a resposta em [http://www.google.com/support/talk/bin/answer.py?answer=24073 Google Talk Help Center] &lt;br /&gt;
&lt;br /&gt;
==== Como activar/desactivar as ligaÃ§Ãµes de rede ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Rede&lt;br /&gt;
*DefiniÃ§Ãµes de Rede&lt;br /&gt;
&lt;br /&gt;
 Separador LigaÃ§Ãµes -&amp;gt; Escolher &amp;quot;LigaÃ§Ã£o com fios&amp;quot; -&amp;gt; Activar modo roaming&lt;br /&gt;
&lt;br /&gt;
ou usando o Network Manager que estÃ¡ no systray.&lt;br /&gt;
&lt;br /&gt;
==== Como configurar ligaÃ§Ãµes a rede ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Rede&lt;br /&gt;
*DefiniÃ§Ãµes de Rede&lt;br /&gt;
&lt;br /&gt;
 Separador LigaÃ§Ãµes -&amp;gt; Escolher &amp;quot;LigaÃ§Ã£o com fios&amp;quot; -&amp;gt; '''Propriedades'''&lt;br /&gt;
 Desactivar modo roaming&lt;br /&gt;
 Connection -&amp;gt; Enable this connection ('''Checked''')&lt;br /&gt;
 DefiniÃ§Ãµes de ligaÃ§Ã£o -&amp;gt; ConfiguraÃ§Ã£o: Escolher &amp;quot;DHCP/Static IP address&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Separador DNS -&amp;gt; Servidores DNS -&amp;gt; Adicionar/Apagar&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Como activar/desactivar as ligaÃ§Ãµes de rede]]&lt;br /&gt;
&lt;br /&gt;
==== Como configurar ligaÃ§Ãµes Dialup ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
* Para configurar dialup &lt;br /&gt;
&lt;br /&gt;
 sudo pppconfig&lt;br /&gt;
&lt;br /&gt;
* Para ligar dialup &lt;br /&gt;
&lt;br /&gt;
sudo pon provider_name&lt;br /&gt;
&lt;br /&gt;
* Para desconectar dialup &lt;br /&gt;
&lt;br /&gt;
sudo poff&lt;br /&gt;
&lt;br /&gt;
''OU''&lt;br /&gt;
&lt;br /&gt;
*Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Rede&lt;br /&gt;
*DefiniÃ§Ãµes de Rede&lt;br /&gt;
&lt;br /&gt;
 Separador LigaÃ§Ãµes -&amp;gt; Escolher &amp;quot;LigaÃ§Ã£o por modem&amp;quot; -&amp;gt; Propriedades&lt;br /&gt;
&lt;br /&gt;
==== Como configurar ligaÃ§Ãµes ADSL ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 sudo pppoeconf&lt;br /&gt;
&lt;br /&gt;
==== Como mudar o nome do computador ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Rede&lt;br /&gt;
*DefiniÃ§Ãµes de Rede&lt;br /&gt;
&lt;br /&gt;
 Separador Geral -&amp;gt; DefiniÃ§Ãµes de MÃ¡quina -&amp;gt; Nome da mÃ¡quina (Hostname): Especificar nome do computador&lt;br /&gt;
&lt;br /&gt;
*Reiniciar o computador&lt;br /&gt;
&lt;br /&gt;
==== Como mudar a descriÃ§Ã£o do computador ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como instalar o servidor Samba para o serviÃ§o de partilha de ficheiros/pastas]]&lt;br /&gt;
 &lt;br /&gt;
 sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup&lt;br /&gt;
 gksudo gedit /etc/samba/smb.conf&lt;br /&gt;
&lt;br /&gt;
*Procure esta linha&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
   server string = %h server (Samba, Ubuntu)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Substitua pela linha seguinte&lt;br /&gt;
&lt;br /&gt;
   server string = nova_descricao_computador&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado&lt;br /&gt;
&lt;br /&gt;
 sudo testparm&lt;br /&gt;
 sudo /etc/init.d/samba restart&lt;br /&gt;
&lt;br /&gt;
==== Como mudar o domÃ­nio/grupo de trabalho (Domain/Workgroup) do computador ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como instalar o servidor Samba para o serviÃ§o de partilha de ficheiros/pastas]]&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup&lt;br /&gt;
 sudo gedit /etc/samba/smb.conf&lt;br /&gt;
&lt;br /&gt;
*Procure esta linha&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
   workgroup = MSHOME&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Substitua pela linha seguinte&lt;br /&gt;
&lt;br /&gt;
   workgroup = novo_dominio_ou_grupo_de_trabalho&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado&lt;br /&gt;
&lt;br /&gt;
 sudo testparm&lt;br /&gt;
 sudo /etc/init.d/samba restart&lt;br /&gt;
&lt;br /&gt;
====  Como designar o Hostname de uma mÃ¡quina local com IP dinÃ¢mico, usando um serviÃ§o de DynDNS gratuito ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
*Registe o DNS DinÃ¢mico gratuito em https://www.dyndns.org&lt;br /&gt;
 &lt;br /&gt;
 sudo apt-get install ipcheck&lt;br /&gt;
 gksudo gedit /etc/ppp/ip-up.d/dyndns_update&lt;br /&gt;
&lt;br /&gt;
*Insira as linhas seguintes no ficheiro novo, alterando &amp;quot;meuutilizador&amp;quot; and &amp;quot;minhapassword&amp;quot; pelo seu utilizador e password e myhostname pelo seu do registo dyndns.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
 USERNAME=meuutilizador&lt;br /&gt;
 PASSWORD=minhapassword&lt;br /&gt;
 HOSTNAME=myhostname.dyndns.org&lt;br /&gt;
&lt;br /&gt;
 cd /root/&lt;br /&gt;
 if [ -f /root/ipcheck.dat ]; then&lt;br /&gt;
  ipcheck -r checkip.dyndns.org:8245 $USERNAME $PASSWORD $HOSTNAME&lt;br /&gt;
 else&lt;br /&gt;
  ipcheck --makedat -r checkip.dyndns.org:8245 $USERNAME $PASSWORD $HOSTNAME&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Grave o ficheiro editado &lt;br /&gt;
 &lt;br /&gt;
 sudo chmod 700 /etc/ppp/ip-up.d/dyndns_update&lt;br /&gt;
 sudo sh /etc/ppp/ip-up.d/dyndns_update&lt;br /&gt;
&lt;br /&gt;
==== Como partilhar pastas de forma fÃ¡cil ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como instalar o servidor Samba para o serviÃ§o de partilha de ficheiros/pastas]]&lt;br /&gt;
&lt;br /&gt;
 Right click on folder -&amp;gt; Share folder&lt;br /&gt;
&lt;br /&gt;
 Shared folder -&amp;gt; Share with: Select &amp;quot;SMB&amp;quot;&lt;br /&gt;
 Share properties -&amp;gt; Name: Specify the share name&lt;br /&gt;
&lt;br /&gt;
==== Como ver os computadores na rede ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
:''Exemplo: Assumindo que as ligaÃ§Ãµes de rede foram bem configuradas''&lt;br /&gt;
:''   Se as pastas dos computadores ou de rede nÃ£o forem encontradas, tente aceder directamente a elas''&lt;br /&gt;
:''   Ler [[#Como aceder a pastas de rede sem as montar]]''&lt;br /&gt;
&lt;br /&gt;
*Locais -&amp;gt; Rede&lt;br /&gt;
&lt;br /&gt;
==== Como aceder a pastas de rede sem as montar ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
:''Exemplo: Assumindo que as ligaÃ§Ãµes de rede foram bem configuradas''&lt;br /&gt;
:''   IP do computador na rede: 192.168.0.1''&lt;br /&gt;
:''   Nome da pasta partilhada: linux''&lt;br /&gt;
&lt;br /&gt;
*Pressione em 'Alt+F2' (Executar AplicaÃ§Ã£o...):&lt;br /&gt;
&lt;br /&gt;
 smb://192.168.0.1/linux&lt;br /&gt;
&lt;br /&gt;
==== Como montar/desmontar manualmente pastas de rede, e permitir que todos os utilizadores as possam ler ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como instalar o servidor Samba para o serviÃ§o de partilha de ficheiros/pastas]]&lt;br /&gt;
&lt;br /&gt;
:''Exemplo: Assumindo que as ligaÃ§Ãµes de rede foram bem configuradas''&lt;br /&gt;
:''   IP do computador na rede: 192.168.0.1''&lt;br /&gt;
:''   Utilizador do computador na rede: myusername''&lt;br /&gt;
:''   Password do computador na rede: mypassword''&lt;br /&gt;
:''   Nome da pasta partilhada: linux''&lt;br /&gt;
:''   Local de montagem da pasta: /media/sharename''&lt;br /&gt;
&lt;br /&gt;
*Para montar pasta de rede&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /media/sharename&lt;br /&gt;
 sudo mount //192.168.0.1/linux /media/sharename/ -o username=myusername,password=mypassword&lt;br /&gt;
&lt;br /&gt;
*Para desmontar pasta de rede&lt;br /&gt;
&lt;br /&gt;
 sudo umount /media/sharename/&lt;br /&gt;
&lt;br /&gt;
==== Como montar/desmontar manualmente pastas de rede, e permitir que todos os utilizadores as possam ler/escrever ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como instalar o servidor Samba para o serviÃ§o de partilha de ficheiros/pastas]]&lt;br /&gt;
&lt;br /&gt;
:''Exemplo: Assumindo que as ligaÃ§Ãµes de rede foram bem configuradas''&lt;br /&gt;
:''   IP do computador na rede: 192.168.0.1''&lt;br /&gt;
:''   Utilizador do computador na rede: myusername''&lt;br /&gt;
:''   Password do computador na rede: mypassword''&lt;br /&gt;
:''   Nome da pasta partilhada: linux''&lt;br /&gt;
:''   Local de montagem da pasta: /media/sharename''&lt;br /&gt;
&lt;br /&gt;
*Para montar pasta de rede&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /media/sharename&lt;br /&gt;
 sudo mount //192.168.0.1/linux /media/sharename/ -o username=myusername,password=mypassword,dmask=777,fmask=777&lt;br /&gt;
&lt;br /&gt;
*Para desmontar pasta de rede&lt;br /&gt;
&lt;br /&gt;
 sudo umount /media/sharename/&lt;br /&gt;
&lt;br /&gt;
==== Como montar pastas de rede no arranque, e permitir que todos os utilizadores as possam ler ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como instalar o servidor Samba para o serviÃ§o de partilha de ficheiros/pastas]]&lt;br /&gt;
&lt;br /&gt;
:''Exemplo: Assumindo que as ligaÃ§Ãµes de rede foram bem configuradas''&lt;br /&gt;
:''   IP do computador na rede: 192.168.0.1''&lt;br /&gt;
:''   Utilizador do computador na rede: myusername''&lt;br /&gt;
:''   Password do computador na rede: mypassword''&lt;br /&gt;
:''   Nome da pasta partilhada: linux''&lt;br /&gt;
:''   Local de montagem da pasta: /media/sharename''&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /media/sharename&lt;br /&gt;
 gksudo gedit /root/.smbcredentials&lt;br /&gt;
&lt;br /&gt;
*Insira as linhas seguintes no ficheiro novo.&lt;br /&gt;
&lt;br /&gt;
 username=myusername&lt;br /&gt;
 password=mypassword &lt;br /&gt;
&lt;br /&gt;
*Guarde o ficheiro editado &lt;br /&gt;
 &lt;br /&gt;
 sudo chmod 700 /root/.smbcredentials&lt;br /&gt;
 sudo cp /etc/fstab /etc/fstab_backup&lt;br /&gt;
 gksudo gedit /etc/fstab&lt;br /&gt;
&lt;br /&gt;
*Adicione a linha seguinte ao final do ficheiro&lt;br /&gt;
&lt;br /&gt;
 //192.168.0.1/linux    /media/sharename smbfs  credentials=/root/.smbcredentials    0    0&lt;br /&gt;
&lt;br /&gt;
*Guarde o ficheiro editado &lt;br /&gt;
*Ler [[#Como re-montar o /etc/fstab sem reiniciar]]&lt;br /&gt;
&lt;br /&gt;
====  Como montar pastas de rede ao iniciar, e permitir que todos os utilizadores as possam ler/escrever ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como instalar o servidor Samba para o serviÃ§o de partilha de ficheiros/pastas]]&lt;br /&gt;
&lt;br /&gt;
:''Exemplo: Assumindo que as ligaÃ§Ãµes de rede foram bem configuradas''&lt;br /&gt;
:''   IP do computador na rede: 192.168.0.1''&lt;br /&gt;
:''   Utilizador do computador na rede: myusername''&lt;br /&gt;
:''   Password do computador na rede: mypassword''&lt;br /&gt;
:''   Nome da pasta partilhada: linux''&lt;br /&gt;
:''   Local de montagem da pasta: /media/sharename''&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /media/sharename&lt;br /&gt;
 gksudo gedit /root/.smbcredentials&lt;br /&gt;
&lt;br /&gt;
*Insira as linhas seguintes no ficheiro novo.&lt;br /&gt;
&lt;br /&gt;
 username=myusername&lt;br /&gt;
 password=mypassword&lt;br /&gt;
&lt;br /&gt;
*Guarde o ficheiro editado  &lt;br /&gt;
&lt;br /&gt;
 sudo chmod 700 /root/.smbcredentials&lt;br /&gt;
 sudo cp /etc/fstab /etc/fstab_backup&lt;br /&gt;
 gksudo gedit /etc/fstab&lt;br /&gt;
&lt;br /&gt;
*Adicione a linha segunte ao final do ficheiro&lt;br /&gt;
&lt;br /&gt;
 //192.168.0.1/linux    /media/sharename smbfs  credentials=/root/.smbcredentials,dmask=777,fmask=777  0    0&lt;br /&gt;
&lt;br /&gt;
*Guarde o ficheiro editado &lt;br /&gt;
*Ler [[#Como re-montar o /etc/fstab sem reiniciar]]&lt;br /&gt;
&lt;br /&gt;
====  Como ter ipw2200 e wpa a funcionar ====&lt;br /&gt;
&lt;br /&gt;
*Funciona no Ubuntu Feisty de base.&lt;br /&gt;
&lt;br /&gt;
==== Como ter ipw3945 e wep/wpa a funcionar ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
&lt;br /&gt;
*Instalar o pacote linux-restricted-modules para o seu kernel&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install linux-restricted-modules-$(uname -r)&lt;br /&gt;
&lt;br /&gt;
:Reinicie o seu sistema e jÃ¡ deverÃ¡ ter Wireless.&lt;br /&gt;
&lt;br /&gt;
*Para uma fÃ¡cil conecÃ§Ã£o rede, ler [[#Como configurar Ubuntu/Kubuntu com WPA usando Network-Manager]].&lt;br /&gt;
&lt;br /&gt;
==== Como configurar e iniciar PPTP tunnels (VPN) ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Use [http://pptpclient.sourceforge.net/howto-ubuntu.phtml estas instruÃ§Ãµes] para instalar o Cliente PPTP automaticamente&lt;br /&gt;
:'''OU'''&lt;br /&gt;
*Instale manualmente&lt;br /&gt;
&lt;br /&gt;
 wget -c http://linux.edu.lv/uploads/content/pptp.tar.gz&lt;br /&gt;
 tar zxvf pptp.tar.gz&lt;br /&gt;
 cd ./pptp/&lt;br /&gt;
 sudo sh ./pptp/install&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
*Para configurar o Cliente PPTP&lt;br /&gt;
&lt;br /&gt;
 gksudo gedit /usr/share/applications/pptpconfig.desktop&lt;br /&gt;
&lt;br /&gt;
*Substitua o conteÃºdo desse ficheiro com as seguintes linhas&lt;br /&gt;
&lt;br /&gt;
 [Desktop Entry]&lt;br /&gt;
 Name=PPTP Client&lt;br /&gt;
 Comment=Configure and start PPTP tunnels (VPN)&lt;br /&gt;
 Categories=Application;Network&lt;br /&gt;
 Encoding=UTF-8&lt;br /&gt;
 Exec=gksudo pptpconfig&lt;br /&gt;
 Icon=gnome-remote-desktop.png&lt;br /&gt;
 StartupNotify=true&lt;br /&gt;
 Terminal=false&lt;br /&gt;
 Type=Application&lt;br /&gt;
&lt;br /&gt;
*As linhas acima mudam o ficheiro que vem por defeito de trÃªs maneiras: a aplicaÃ§Ã£o Ã© colocada na categoria AplicaÃ§Ãµes/Internet, gksudo vai fazer com que a aplicaÃ§Ã£o seja executada como superuser e nÃ³s pomos um Ã­cone bonito que aparece no menu.&lt;br /&gt;
*Inicie o cliente com ''AplicaÃ§Ãµes &amp;gt; Internet -&amp;gt; PPTP Client''&lt;br /&gt;
&lt;br /&gt;
:'''OU'''&lt;br /&gt;
&lt;br /&gt;
Pode recorrer a um mÃ©todo diferente no caso de utilizar o NetworkManager&lt;br /&gt;
&lt;br /&gt;
*Configurar VPN com o Network Manager&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install network-manager-pptp&lt;br /&gt;
&lt;br /&gt;
Tem que reiniciar apÃ³s a instalaÃ§Ã£o.  &lt;br /&gt;
&lt;br /&gt;
Para configurar uma VPN clique no Ã­cone NetworkManager no tabuleiro VPN Connections-&amp;gt;Configure VPN&lt;br /&gt;
Use the defaults and be sure to check the box: Refuse EAP under the Authentication tab.  To get my connection to work I also had to check Require MPPE Encryption under Compression &amp;amp; Encryption  &lt;br /&gt;
* A Nice [http://customisinglife.wordpress.com/2006/11/20/vpn-connection-in-edgy/ tutorial here]&lt;br /&gt;
&lt;br /&gt;
==== How to Configure Ubuntu/Kubuntu with WPA using Network-Manager ====&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; This section should probably be removed? Network manager w/ WPA support is standard in Feisty?&lt;br /&gt;
&lt;br /&gt;
Ubuntu Dapper in typical cases can configure WPA to work out of the box with minimal hassle.  You'll need to install network-manager.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ubuntu:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install network-manager-gnome&lt;br /&gt;
&lt;br /&gt;
For Kubuntu (will install knetworkmanager):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install network-manager-kde&lt;br /&gt;
&lt;br /&gt;
Logout/Reboot.&lt;br /&gt;
&lt;br /&gt;
Ubuntu users should now see the NetworkManager Applet in the Gnome notification area.  Kubuntu users will probably have to run &amp;lt;tt&amp;gt;knetworkmanager&amp;lt;/tt&amp;gt; before they see NetworkManager in the systray.&lt;br /&gt;
&lt;br /&gt;
If instead, you get a &amp;quot;The NetworkManager applet could not find some required resources. It cannot continue.&amp;quot; message, then:&lt;br /&gt;
&lt;br /&gt;
 sudo gtk-update-icon-cache -f /usr/share/icons/hicolor&lt;br /&gt;
&lt;br /&gt;
Once Network-Manager is installed, click on the NM icon in the notification area (default is at the top right of Ubuntu/Gnome).  Choose your network, then enter your passphrase.  Type a password for the keyring, and you're set.&lt;br /&gt;
&lt;br /&gt;
If you don't see your network, click &amp;quot;Create New Wireless Network...&amp;quot;, type your essid/networkname, then choose &amp;quot;WPA Personal&amp;quot; for wireless security.&lt;br /&gt;
&lt;br /&gt;
*Note:  If you installed Kubuntu then installed ubuntu-desktop &amp;amp; network-manager-gnome, you may not be able to use network-manager in Gnome, if at all.  In this case, you may have to use WPA Supplicant and do some manual editing of conf files to get WPA up and running.&lt;br /&gt;
&lt;br /&gt;
*Note:  When you first log into Gnome/KDE, the keyring application will ask for a password.  Future revisions of Network-Manager should resolve this.&lt;br /&gt;
&lt;br /&gt;
====Como instalar uma chave GPG com Seahorse e Evolution====&lt;br /&gt;
* Ler [[#Notas Gerais]]&lt;br /&gt;
* Instalar seahorse&lt;br /&gt;
 apt-get install seahorse&lt;br /&gt;
* AplicaÃ§Ãµes &amp;gt; AcessÃ³rios &amp;gt; Palavras-chave e Chaves de EncriptaÃ§Ã£o&lt;br /&gt;
* Chave &amp;gt; Criar Nova Chave&lt;br /&gt;
* Seleccione &amp;quot;Chave PGP&amp;quot;, depois preencher toda a informaÃ§Ã£o. Assegure-se que usou o seu endereÃ§o de correio electrÃ³nico real.&lt;br /&gt;
* Espere que a chave termine de gerar.&lt;br /&gt;
* Pode agora clicar com botÃ£o direito do rato na chave de entrada para exportar, sincronizar ou publicar a chave.&lt;br /&gt;
&lt;br /&gt;
* Evolution deve agora ter esperanÃ§a de ver a chave transparente.&lt;br /&gt;
&lt;br /&gt;
====How to Setup BIND DNS Server====&lt;br /&gt;
Reference: copied from http://ubuntuforums.org/showthread.php?t=236093&lt;br /&gt;
&lt;br /&gt;
* Install bind 9:&lt;br /&gt;
 sudo apt-get install bind9&lt;br /&gt;
&lt;br /&gt;
* Configure the main Bind files. Usually, if you install Bind from the source code, you will have to edit the file named.conf. However, Ubuntu provides you with a pre-configured Bind, so we will edit another file:&lt;br /&gt;
 sudo vi /etc/bind/named.conf.local&lt;br /&gt;
&lt;br /&gt;
This is where we will insert our zones. By the way, a zone is a domain name that is referenced in the DNS server&lt;br /&gt;
Insert this in the named.conf.local file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# This is the zone definition. replace example.com with your domain name&lt;br /&gt;
zone &amp;quot;example.com&amp;quot; {&lt;br /&gt;
       type master;&lt;br /&gt;
       file &amp;quot;/etc/bind/zones/example.com.db&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
# This is the zone definition for reverse DNS. replace 0.168.192 with your &lt;br /&gt;
# network  address in reverse notation - e.g my network address is 192.168.0&lt;br /&gt;
zone &amp;quot;0.168.192.in-addr.arpa&amp;quot; {&lt;br /&gt;
    type master;&lt;br /&gt;
    file &amp;quot;/etc/bind/zones/rev.0.168.192.in-addr.arpa&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Ok, now, let's edit the options file:&lt;br /&gt;
 sudo vi /etc/bind/named.conf.options&lt;br /&gt;
&lt;br /&gt;
* We need to modify the forwarder. This is the DNS server to which your own DNS will forward the requests he cannot process.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
forwarders {&lt;br /&gt;
      # Replace the address below with the address of your provider's DNS server&lt;br /&gt;
      123.123.123.123;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Now, let's add the zone definition files (replace example.com with your domain name:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir /etc/bind/zones&lt;br /&gt;
sudo vi /etc/bind/zones/example.com.db&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The zone definition file is where we will put all the addresses / machine names that our DNS server will know. You can take the following example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// replace example.com with your domain name. do not forget the . after the domain name!&lt;br /&gt;
// Also, replace ns1 with the name of your DNS server&lt;br /&gt;
example.com.      IN      SOA     ns1.example.com. admin.example.com. (&lt;br /&gt;
// Do not modify the following lines!&lt;br /&gt;
                                                        2006081401&lt;br /&gt;
                                                        28800&lt;br /&gt;
                                                        3600&lt;br /&gt;
                                                        604800&lt;br /&gt;
                                                        38400&lt;br /&gt;
 )&lt;br /&gt;
&lt;br /&gt;
// Replace the following line as necessary:&lt;br /&gt;
// ns1 = DNS Server name&lt;br /&gt;
// mta = mail server name&lt;br /&gt;
// example.com = domain name&lt;br /&gt;
example.com.      IN      NS              ns1.example.com.&lt;br /&gt;
example.com.      IN      MX     10       mta.example.com.&lt;br /&gt;
&lt;br /&gt;
// Replace the IP address with the right IP addresses.&lt;br /&gt;
www              IN      A       192.168.0.2&lt;br /&gt;
mta              IN      A       192.168.0.3&lt;br /&gt;
ns1              IN      A       192.168.0.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Now, let's create the reverse DNS zone file:&lt;br /&gt;
&lt;br /&gt;
 sudo vi /etc/bind/zones/rev.0.168.192.in-addr.arpa&lt;br /&gt;
&lt;br /&gt;
* Copy and paste the following text, modify as needed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//replace example.com with yoour domain name, ns1 with your DNS server name.&lt;br /&gt;
// The number before IN PTR example.com is the machine address of the DNS server. in my case, it's 1, as my IP address is 192.168.0.1.&lt;br /&gt;
@ IN SOA ns1.example.com. admin.example.com. (&lt;br /&gt;
                        2006081401;&lt;br /&gt;
                        28800; &lt;br /&gt;
                        604800;&lt;br /&gt;
                        604800;&lt;br /&gt;
                        86400 &lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
                     IN    NS     ns1.example.com.&lt;br /&gt;
1                    IN    PTR    example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Ok, now you just need to restart bind:&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/bind9 restart&lt;br /&gt;
&lt;br /&gt;
* We can now test the new DNS server...&lt;br /&gt;
* Modify the file resolv.conf with the following settings:&lt;br /&gt;
&lt;br /&gt;
 sudo vi /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
* enter the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// replace example.com with your domain name, and 192.168.0.1 with the address of your new DNS server.&lt;br /&gt;
search example.com&lt;br /&gt;
nameserver 192.168.0.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Now, test your DNS:&lt;br /&gt;
&lt;br /&gt;
 dig example.com&lt;br /&gt;
&lt;br /&gt;
== Remote Access ==&lt;br /&gt;
&lt;br /&gt;
==== Remote Login via XDMCP ====&lt;br /&gt;
&lt;br /&gt;
===== What is XDMCP? =====&lt;br /&gt;
&lt;br /&gt;
GNOME windows can support several different users simultaniously.  Unlike vncviewer that just duplicates the current screen on a remote system, XDMCP allows several different users to login and run different GNOME sessions at the same time.  So if you have a fast computer runing Ubuntu, several users can use their slow machines to login and run heavy applications only available on the fast machine.&lt;br /&gt;
&lt;br /&gt;
===== How to turn on the XDMCP feature =====&lt;br /&gt;
To turn on the XDMCP feature on the fast computer, click the menu&lt;br /&gt;
 Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Login Window &lt;br /&gt;
&lt;br /&gt;
In the Login Window Preferences dialog window, select&lt;br /&gt;
 Remote Tab -&amp;gt; Style: Same as Local -&amp;gt;  Close the dialog window -&amp;gt; Restart the PC&lt;br /&gt;
&lt;br /&gt;
===== How to login from another PC running Ubuntu =====&lt;br /&gt;
 1. Reboot the slow PC and stop at the login screen&lt;br /&gt;
 2. Click Options at the lower left corner of the login screen&lt;br /&gt;
 3. Select &amp;quot;Remote Login via XDMCP&amp;quot;&lt;br /&gt;
 4. On the dialog window, type in the host name or ip of the fast computer you want to login to&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Remote Desktop Sharing/Duplication via VNC ====&lt;br /&gt;
&lt;br /&gt;
===== How to configure remote desktop (not secure) =====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
:''Warning! Remote Desktop will only work if there's a GNOME login session''&lt;br /&gt;
:''     Leaving computer with an unattended GNOME login session is not secure''&lt;br /&gt;
:''     Use (System -&amp;gt; Lock Screen) and switch off the monitor when computer is left unattended''&lt;br /&gt;
&lt;br /&gt;
*Sistema -&amp;gt; Preferencias -&amp;gt; Remote Desktop&lt;br /&gt;
*Remote Desktop Preferences&lt;br /&gt;
&lt;br /&gt;
 Sharing -&amp;gt;&lt;br /&gt;
 Allow other users to view your desktop ('''Checked''')&lt;br /&gt;
 Allow other users to control your desktop ('''Checked''')&lt;br /&gt;
&lt;br /&gt;
 Security -&amp;gt;&lt;br /&gt;
 Ask you for confirmation (Un-Checked)&lt;br /&gt;
 Require the user to enter this password: ('''Checked''')&lt;br /&gt;
 Password: Specify the password&lt;br /&gt;
&lt;br /&gt;
===== How to connect into remote Ubuntu desktop =====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
:''e.g. Assumed that remote Ubuntu machine have configured Remote Desktop''&lt;br /&gt;
:''   Read [[#How to configure remote desktop (not secure)]]''&lt;br /&gt;
:''   Remote Ubuntu machine: 192.168.0.1''&lt;br /&gt;
&lt;br /&gt;
 vncviewer -fullscreen 192.168.0.1:0&lt;br /&gt;
&lt;br /&gt;
*To quit vncviewer&lt;br /&gt;
&lt;br /&gt;
 Press 'F8' -&amp;gt; Quit viewer&lt;br /&gt;
&lt;br /&gt;
===== How to connect into remote Ubuntu desktop via Windows machine =====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
:''e.g. Assumed that remote Ubuntu machine have configured Remote Desktop''&lt;br /&gt;
:''   Read [[#How to configure remote desktop (not secure)]]''&lt;br /&gt;
:''   Remote Ubuntu machine: 192.168.0.1''&lt;br /&gt;
&lt;br /&gt;
*If you have a router remember to open the appropiate port. The default one is 5900&lt;br /&gt;
:''   This process is called port forwarding [http://en.wikipedia.org/wiki/Port_forwarding port forwarding]&lt;br /&gt;
&lt;br /&gt;
*Download DotNetVNC: [http://dotnetvnc.sourceforge.net/ Here] or RealVNC [http://www.realvnc.com/ Here]&lt;br /&gt;
:''   this is a free DotNet version that require the DotNet framework available from microsoft [http://msdn.microsoft.com/netframework/ here]&lt;br /&gt;
:''   The RealVNC website was created and maintained by the original developers of VNC during their time at AT&amp;amp;T.  RealVNC comes in Free, Personal, and Enterprise editions - the latter two costing money.&lt;br /&gt;
&lt;br /&gt;
*Open the VNC client you have chosen, and insert the connection string formatted like this &amp;lt;LINUX BOX IP&amp;gt;&amp;lt;:DESKTOP NUMBER&amp;gt;|&amp;lt;::PORT&amp;gt;&lt;br /&gt;
:''   In example use: 192.168.1.2:0 or 192.168.1.2::5900 to connect to desktop 0, to connect to desktop 1 use 192.168.1.2:1 or 192.168.1.2::5901 and so on&lt;br /&gt;
&lt;br /&gt;
===== How to connect into remote Ubuntu desktop via OSX =====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
:''e.g. Assumed that remote Ubuntu machine have configured Remote Desktop''&lt;br /&gt;
:''   Read [[#How to configure remote desktop (not secure)]]''&lt;br /&gt;
:''   Remote Ubuntu machine: 192.168.0.1''&lt;br /&gt;
&lt;br /&gt;
*If you have a router remember to open the appropiate port the default one is 5900&lt;br /&gt;
:''   This process is called port forwarding [http://en.wikipedia.org/wiki/Port_forwarding port forwarding]&lt;br /&gt;
&lt;br /&gt;
*Download ChickenOfTheVNC: [http://sourceforge.net/projects/cotvnc/ Here]&lt;br /&gt;
&lt;br /&gt;
*Open ChickenOfTheVNC, and insert the host (IP address of remote machine), the display number (0 is default and is port 5900) and the password.&lt;br /&gt;
:''   In example use: Host: 192.168.0.1, Display 0, Password: password&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
==== Como fazer o mount/unmount de partiÃ§Ãµes Windows (NTFS) manualmente, permitindo apenas o modo de leitura ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como listar a tabela de PartiÃ§Ãµes]]&lt;br /&gt;
 &lt;br /&gt;
:''e.g. Assumindo que /dev/hda1 Ã© a localizaÃ§Ã£o da partiÃ§Ã£o do Windows (NTFS)''&lt;br /&gt;
:''   Pasta de montagem: /media/windows''&lt;br /&gt;
&lt;br /&gt;
*Para montar a partiÃ§Ã£o do Windows&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /media/windows&lt;br /&gt;
 sudo mount /dev/hda1 /media/windows/ -t ntfs -o nls=utf8,umask=0222&lt;br /&gt;
&lt;br /&gt;
*Para desmontar a partiÃ§Ã£o do Windows&lt;br /&gt;
&lt;br /&gt;
 sudo umount /media/windows/&lt;br /&gt;
&lt;br /&gt;
==== Como fazer mount/unmount de partiÃ§Ãµes Windows (FAT) manualmente, e permitir leitura/escrita a todos os utilizadores====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como listar a tabela de PartiÃ§Ãµes]]&lt;br /&gt;
&lt;br /&gt;
:''e.g. Assumindo que /dev/hda1 Ã© a localizaÃ§Ã£o da partiÃ§Ã£o do Windows (FAT)''&lt;br /&gt;
:''   Pasta local para mount: /media/windows''&lt;br /&gt;
&lt;br /&gt;
*Para fazer o mount da partiÃ§Ã£o Windows &lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /media/windows&lt;br /&gt;
 sudo mount /dev/hda1 /media/windows/ -t vfat -o iocharset=utf8,umask=000&lt;br /&gt;
&lt;br /&gt;
*Para fazer o unmount da partiÃ§Ã£o Windows&lt;br /&gt;
&lt;br /&gt;
 sudo umount /media/windows/&lt;br /&gt;
&lt;br /&gt;
==== Como montar partiÃ§Ãµes de Windows (NTFS) no arranque e permitir modo de leitura apenas ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como listar a tabela de PartiÃ§Ãµes]]&lt;br /&gt;
&lt;br /&gt;
:''e.g. Assumindo que /dev/hda1 Ã© onde estÃ¡ a sua partiÃ§Ã£o do Windows (NTFS)''&lt;br /&gt;
:''   Local de montagem da pasta: /media/windows''&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /media/windows&lt;br /&gt;
 sudo cp /etc/fstab /etc/fstab_backup&lt;br /&gt;
 gksudo gedit /etc/fstab&lt;br /&gt;
&lt;br /&gt;
*Adicionar ao final do ficheiro&lt;br /&gt;
&lt;br /&gt;
 /dev/hda1    /media/windows ntfs  nls=utf8,umask=0222 0    0&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado &lt;br /&gt;
*Ler [[#Como re-montar o /etc/fstab sem reiniciar]]&lt;br /&gt;
&lt;br /&gt;
==== Como montar partiÃ§Ãµes de Windows (FAT) no arranque, permitindo a leitura/escrita a todos os utilizadores ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como listar a tabela de PartiÃ§Ãµes]]&lt;br /&gt;
&lt;br /&gt;
:''e.g. Assumed that /dev/hda1 is the location of Windows partition (FAT)''&lt;br /&gt;
:''   Local mount folder: /media/windows''&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir /media/windows&lt;br /&gt;
 sudo cp /etc/fstab /etc/fstab_backup&lt;br /&gt;
 gksudo gedit /etc/fstab&lt;br /&gt;
&lt;br /&gt;
*Append the following line at the end of file&lt;br /&gt;
&lt;br /&gt;
 /dev/hda1    /media/windows vfat  iocharset=utf8,umask=000  0    0&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado &lt;br /&gt;
*Ler [[#Como re-montar o /etc/fstab sem reiniciar]]&lt;br /&gt;
&lt;br /&gt;
==== Como montar partiÃ§Ãµes de Windows (NTFS) no arranque, permitindo a leitura/escrita a todos os utilizadores ====&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
&lt;br /&gt;
*Para poder escrever em NTFS Ã© preciso instalar o Driver Ntfs-3G&lt;br /&gt;
&lt;br /&gt;
LimitaÃ§Ãµes:&lt;br /&gt;
- Aceder a ficheiros encriptados&lt;br /&gt;
- Escrever em sistemas comprimidos ( pode-se ler )&lt;br /&gt;
- Alterar permissoes e dono&lt;br /&gt;
&lt;br /&gt;
InstalaÃ§Ã£o via Consola:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ntfs-3g ntfs-config&lt;br /&gt;
&lt;br /&gt;
InstalaÃ§Ã£o Graficamente:&lt;br /&gt;
&lt;br /&gt;
*AplicaÃ§Ãµes -&amp;gt; Adicionar/Remover Programas -&amp;gt; Pesquisar por NTFS  -&amp;gt; Instalar a Ferramenta de ConfiguraÃ§Ã£o NTFS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Para activar:&lt;br /&gt;
&lt;br /&gt;
*AplicaÃ§Ãµes -&amp;gt; Ferramentas de Sistema -&amp;gt; Ferramenta de ConfiguraÃ§Ã£o NTFS -&amp;gt; Activar suporte a escrita&lt;br /&gt;
&lt;br /&gt;
== SeguranÃ§a ==&lt;br /&gt;
&lt;br /&gt;
==== What are the basic things I need to know about securing my Ubuntu ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Assegurar-se que o disco rÃ­gido Ã© o primeiro na sequÃªncia de arranque na BIOS&lt;br /&gt;
**Para impedir que os utilizadores maliciosos usem um CD de instalaÃ§Ã£o de Linux que permiti-lhes-ia aceder Ã  conta de utilizador root&lt;br /&gt;
**Para impedir que os utilizadores maliciosos usem um CD Live de Linux (por ex: UBUNTU/KNOPPIX/MEPIS) que permiti-lhes-ia destruir/navegar/partilhar todo o disco rÃ­gido&lt;br /&gt;
**Para impedir que os utilizadores maliciosos de instalar outro Sistema Operativo&lt;br /&gt;
*Assegurar-se que a BIOS tem Password activada&lt;br /&gt;
**Para impedir que os utilizadores maliciosos de modificar a sequÃªncia de arranque na BIOS&lt;br /&gt;
*Assegurar-se que o computador estÃ¡ localizado num lugar seguro&lt;br /&gt;
**Para impedir que os utilizadores maliciosos de remover o disco rÃ­gido do computador que permiti-lhes-ia destruir/navegar/partilhar todo o disco rÃ­gido num outro computador&lt;br /&gt;
**Para impedir que os utilizadores maliciosos de remover a pilha da motherboard do computador que lhes permitiria limpar a password da BIOS&lt;br /&gt;
*Assegurar-se que as passwords usadas no sistema nÃ£o sejam facilmente adivinhadas&lt;br /&gt;
**Para impedir que os utilizadores maliciosos de crackar o ficheiro de password utilizando ataques de forÃ§a bruta (por ex: John the Ripper)&lt;br /&gt;
**Criar uma password com o comprimento mÃ­nimo de 8 caracteres&lt;br /&gt;
**Criar uma password com uma mistura de caracteres/numeros, e tambÃ©m maiÃºsculas/minÃºsculas&lt;br /&gt;
*Ensure interactive editing control for GRUB menu is disabled&lt;br /&gt;
**To prevent trespassers from modifying kernel boot-up arguments which allows them to have root user access&lt;br /&gt;
**Ler [[#How to disable all interactive editing control for GRUB menu]]&lt;br /&gt;
*Ensure history listing is disabled in Console mode&lt;br /&gt;
**To prevent trespassers from seeing previously issued commands&lt;br /&gt;
**Ler [[#How to disable history listing in Console mode]]&lt;br /&gt;
*Ensure Ctrl+Alt+Del is disabled in Console mode&lt;br /&gt;
**To prevent trespassers from restarting the system without permission in Console mode&lt;br /&gt;
**Ler [[#How to disable Ctrl+Alt+Del from restarting computer in Console mode]] &lt;br /&gt;
*Ensure interactive option is set for remove, copy and move of files/folders in Console mode&lt;br /&gt;
**To prevent accidental removal/overwritten of files/folders&lt;br /&gt;
**Ler [[#How to enable prompt before removal/overwritten of files/folders in Console mode]]&lt;br /&gt;
*For day to day usage, login as a normal user&lt;br /&gt;
**To prevent accidental deletion/modification of system files/folders&lt;br /&gt;
**Ler [[#How to add/edit/delete system users]]&lt;br /&gt;
*Disable root user account, use &amp;quot;sudo&amp;quot; instead&lt;br /&gt;
**To reduce the amount of time spent with root privileges, and thus the risk of inadvertently executing a command as root&lt;br /&gt;
**&amp;quot;sudo&amp;quot; provides a more useful audit trail (/var/log/auth.log)&lt;br /&gt;
**Ler [[#How to disable root user account]]&lt;br /&gt;
*Install a Firewall&lt;br /&gt;
**A firewall does not guarantee security but it is in most environments the first line of defense against network based attacks&lt;br /&gt;
**Ler [[#How to install Firewall (Firestarter)]]&lt;br /&gt;
*Perform vulnerability test&lt;br /&gt;
**Nessus is a great tool designed to automate the testing and discovery of known security problems&lt;br /&gt;
**Ler [[#How to install Vulnerability Scanner (Nessus)]]&lt;br /&gt;
&lt;br /&gt;
==== Como desactivar a ediÃ§Ã£o interactiva do menu do GRUB? ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
*Corra na consola o seguinte comando:&lt;br /&gt;
 &lt;br /&gt;
 grub&lt;br /&gt;
&lt;br /&gt;
 grub&amp;gt; md5crypt&lt;br /&gt;
 Password: ****** (ubuntu)&lt;br /&gt;
 Encrypted: $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (password encriptada)&lt;br /&gt;
 grub&amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
*FaÃ§a uma cÃ³pia de seguranÃ§a do ficheiro de configuraÃ§Ã£o do grub&lt;br /&gt;
&lt;br /&gt;
 sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup&lt;br /&gt;
 sudo gedit /boot/grub/menu.lst&lt;br /&gt;
&lt;br /&gt;
*Procure esta secÃ§Ã£o&lt;br /&gt;
 ...&lt;br /&gt;
 ## password ['--md5'] passwd&lt;br /&gt;
 # If used in the first section of a menu file, disable all interactive editing&lt;br /&gt;
 # control (menu entry editor and command-line) and entries protected by the&lt;br /&gt;
 # command 'lock'&lt;br /&gt;
 # e.g. password topsecret&lt;br /&gt;
 #   password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/&lt;br /&gt;
 # password topsecret&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Adicione a seguinte linha por baixo, com password encriptada dadÃ¡ anteriormente&lt;br /&gt;
&lt;br /&gt;
 password --md5 $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (password encriptada dadÃ¡ anteriormente)&lt;br /&gt;
&lt;br /&gt;
*Procure a secÃ§Ã£o semelhante a esta - AnteÃ§Ã£o as parte &amp;quot;Recovery mode&amp;quot; e &amp;quot;Single&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 title		Ubuntu, kernel 2.6.10-5-386 (recovery mode)&lt;br /&gt;
 root		(hd0,1)&lt;br /&gt;
 kernel		/boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro single&lt;br /&gt;
 initrd		/boot/initrd.img-2.6.10-5-386&lt;br /&gt;
 savedefault&lt;br /&gt;
 boot&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Adicione ''lock'' entre as linhas do ''title'' e ''root'':&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 title		Ubuntu, kernel 2.6.10-5-386 (recovery mode)&lt;br /&gt;
 '''lock'''&lt;br /&gt;
 root		(hd0,1)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Guarde o ficheiro editado&lt;br /&gt;
&lt;br /&gt;
*Desta forma, para editar o Grub serÃ¡ necessÃ¡rio password, e os modos de recuperaÃ§Ã£o sÃ³ iram funcionar com a introduÃ§Ã£o da password.&lt;br /&gt;
Para aceder as opÃ§Ãµes do grub, siga as instruÃ§Ãµes no final do ecrÃ¡ do grub.&lt;br /&gt;
&lt;br /&gt;
====  Como desactivar o histÃ³rico no modo consola ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]] &lt;br /&gt;
*Fonte: [http://gentoo-wiki.com/SECURITY_Adjusting_The_Way_Bash_History_Funtions Gentoo Wiki]:&lt;br /&gt;
 rm -f .bash_history&lt;br /&gt;
 gedit ~/.bash_profile&lt;br /&gt;
&lt;br /&gt;
*Adicione as linhas seguintes:&lt;br /&gt;
 export HISTFILESIZE=4&lt;br /&gt;
 unset HISTFILE=5&lt;br /&gt;
 &lt;br /&gt;
 # Change this to a reasonable number of lines to save, I like to save only 100.&lt;br /&gt;
 export HISTSIZE=100&lt;br /&gt;
 &lt;br /&gt;
 # Ignores duplicate lines next to each other&lt;br /&gt;
 export HISTCONTROL=ignoredups&lt;br /&gt;
&lt;br /&gt;
This will disable Bash history for the user, retaining keystroke history and recall to use while limiting recall history to 100 lines. This will also not record duplicate lines next to each other.&lt;br /&gt;
&lt;br /&gt;
==== Como impedir as teclas Ctrl+Alt+Del de reiniciarem o computador no modo Consola ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/inittab /etc/inittab_backup&lt;br /&gt;
 gksudo gedit /etc/inittab&lt;br /&gt;
&lt;br /&gt;
*Procure a seguinte linha&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Substitua pela linha seguinte&lt;br /&gt;
&lt;br /&gt;
 #ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado &lt;br /&gt;
 &lt;br /&gt;
 sudo telinit q&lt;br /&gt;
&lt;br /&gt;
==== Como activar a confirmaÃ§Ã£o antes de remover/alterar ficheiros/pastas no modo Consola ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/bash.bashrc /etc/bash.bashrc_backup&lt;br /&gt;
 gksudo gedit /etc/bash.bashrc&lt;br /&gt;
&lt;br /&gt;
*Adicione as linhas seguintes ao final do ficheiro&lt;br /&gt;
&lt;br /&gt;
 alias rm='rm -i'&lt;br /&gt;
 alias cp='cp -i'&lt;br /&gt;
 alias mv='mv -i'&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado&lt;br /&gt;
&lt;br /&gt;
==== How to setup a [http://en.wikipedia.org/wiki/Lojack LoJack] system for your laptop ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
*Ler [[#How to assign Hostname to local machine with dynamic IP using free DynDNS service]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''What:'''&amp;lt;/u&amp;gt; Quote from Wikipedia: &amp;quot;LoJack is an aftermarket vehicle tracking system that allows cars to be tracked by police after being stolen. The manufacturer claims a 90% recovery rate. The name &amp;quot;LoJack&amp;quot; is a play on the word &amp;quot;hijack,&amp;quot; meaning the theft of a vehicle through force.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''Why:'''&amp;lt;/u&amp;gt; If your laptop is ever stolen and connected to the Internet. You will be able to find out from what IP it connects to the Internet from and contact the authorities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''How:'''&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Get a free dynamic IP account from one of the many providers. Here we will use [https://www.dyndns.com/ DynDNS].&lt;br /&gt;
&lt;br /&gt;
* Install ddclient. In the section [[#How to assign Hostname to local machine with dynamic IP using free DynDNS service]] we installed the package ''ipcheck'', here we prefer to use ''ddclient'' because it can get the IP from an external source on the Internet instead of getting it from a network adapter.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ddclient &lt;br /&gt;
&lt;br /&gt;
* Edit the configuration file ''/etc/ddclient.conf'' using you fevorite text editor (emacs, gedit, kedit or even vi)&lt;br /&gt;
&lt;br /&gt;
 sudo emacs /etc/ddclient.conf&lt;br /&gt;
&lt;br /&gt;
* Make it look like this:&lt;br /&gt;
&lt;br /&gt;
 # Configuration file for ddclient generated by debconf&lt;br /&gt;
 #&lt;br /&gt;
 # /etc/ddclient.conf&lt;br /&gt;
 pid=/var/run/ddclient.pid&lt;br /&gt;
 protocol=dyndns2&lt;br /&gt;
 use=web&lt;br /&gt;
 server=members.dyndns.org&lt;br /&gt;
 login=YourNameHere&lt;br /&gt;
 password='YourPasswordHere'&lt;br /&gt;
 YourHostNameHere.gotmyip.com&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;u&amp;gt;NOTE:&amp;lt;/u&amp;gt;&lt;br /&gt;
: * Make sure that you use the ''web'' IP detection method.&lt;br /&gt;
: * Specify your own user id instead of the place holder ''YourNameHere''.&lt;br /&gt;
: * Specify your own password instead of the place holder ''YourPasswordHere'', make sure to surround it with single quotes.&lt;br /&gt;
: * The last line should specify the hostname you registered with the dynamic IP service.&lt;br /&gt;
&lt;br /&gt;
* You can now start the ddclient daemon, or wait until your next reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/ddclient start&lt;br /&gt;
&lt;br /&gt;
*  The hostname you registered with your dynamic IP service should be updated. You can test it with the ''ping'' command:&lt;br /&gt;
&lt;br /&gt;
 ping YourHostNameHere.gotmyip.com&lt;br /&gt;
&lt;br /&gt;
: Even if your laptop has a firewall that prevents pings the hostname should resolve to the IP of the network gateway that your laptop is connected to.&lt;br /&gt;
: Now all that is left is for someone to steal your laptop.....&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''References:'''&amp;lt;/u&amp;gt;&lt;br /&gt;
* http://ddclient.sourceforge.net/index.php&lt;br /&gt;
&lt;br /&gt;
== Boot Menu ==&lt;br /&gt;
&lt;br /&gt;
==== How to gain root user access without login ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Easiest method (will not work if GRUB menu password is set)&lt;br /&gt;
**Boot-up computer&lt;br /&gt;
**If GRUB menu is hidden, press 'Esc' to enter the GRUB menu&lt;br /&gt;
**Select&lt;br /&gt;
&lt;br /&gt;
 Ubuntu, kernel 2.6.10-5-386 (recovery mode)&lt;br /&gt;
&lt;br /&gt;
**Press 'Enter' to boot&lt;br /&gt;
*Other methods&lt;br /&gt;
**Ler [[#How to modify kernel boot-up arguments, to gain root user access]]&lt;br /&gt;
**Ler [[#How to use Ubuntu Installation CD, to gain root user access]]&lt;br /&gt;
&lt;br /&gt;
==== How to modify kernel boot-up arguments, to gain root user access ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Boot-up computer&lt;br /&gt;
*If GRUB menu is hidden, press 'Esc' to enter the GRUB menu&lt;br /&gt;
*If GRUB password is set, press 'p' to unlock the GRUB menu&lt;br /&gt;
*Select&lt;br /&gt;
&lt;br /&gt;
 Ubuntu, kernel 2.6.10-5-386&lt;br /&gt;
&lt;br /&gt;
*Press 'e' to edit the commands before booting&lt;br /&gt;
*Select&lt;br /&gt;
&lt;br /&gt;
 kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro quiet splash&lt;br /&gt;
&lt;br /&gt;
*Press 'e' to edit the selected command in the boot sequence&lt;br /&gt;
*Add &amp;quot;rw init=/bin/bash&amp;quot; to the end of the arguments&lt;br /&gt;
&lt;br /&gt;
 grub edit&amp;gt; kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro quiet splash rw init=/bin/bash&lt;br /&gt;
&lt;br /&gt;
*Press 'b' to boot&lt;br /&gt;
&lt;br /&gt;
==== How to use Ubuntu Installation CD, to gain root user access ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Boot-up computer into Ubuntu Installation CD&lt;br /&gt;
*At &amp;quot;boot:&amp;quot; prompt, add &amp;quot;rescue&amp;quot; to the argument&lt;br /&gt;
&lt;br /&gt;
 boot: rescue&lt;br /&gt;
&lt;br /&gt;
*Follow the instructions on screen&lt;br /&gt;
&lt;br /&gt;
==== How to change root user/main user password if forgotten ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#How to gain root user access without login]]&lt;br /&gt;
*To change root user password&lt;br /&gt;
&lt;br /&gt;
 # passwd root&lt;br /&gt;
&lt;br /&gt;
*To change main user password&lt;br /&gt;
&lt;br /&gt;
 # passwd system_main_username&lt;br /&gt;
&lt;br /&gt;
==== How to change GRUB menu password if forgotten ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
&lt;br /&gt;
 grub&lt;br /&gt;
&lt;br /&gt;
 grub&amp;gt; md5crypt&lt;br /&gt;
 Password: ****** (ubuntu)&lt;br /&gt;
 Encrypted: $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password)&lt;br /&gt;
 grub&amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
 sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup&lt;br /&gt;
 gksudo gedit /boot/grub/menu.lst&lt;br /&gt;
&lt;br /&gt;
*Procure a seguinte linha&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Substitua pela linha seguinte&lt;br /&gt;
&lt;br /&gt;
 password --md5 $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password above)&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado &lt;br /&gt;
&lt;br /&gt;
==== How to restore GRUB menu after Windows installation ====&lt;br /&gt;
&lt;br /&gt;
=====Super Grub Disk=====&lt;br /&gt;
*Use [http://supergrub.forjamari.linex.org/ Super Grub Disk]&lt;br /&gt;
*More info on how to use it [http://users.bigpond.net.au/hermanzone/SuperGrubDiskPage.html here]&lt;br /&gt;
&lt;br /&gt;
=====Grub=====&lt;br /&gt;
If you have booted your linux distro with Super Grub Disk, or a live CD and want to restore your grub, follow the below instructions:&lt;br /&gt;
*As root (or with sudo), type &amp;lt;code&amp;gt;grub&amp;lt;/code&amp;gt;&lt;br /&gt;
*When at the grub prompt, type &amp;lt;code&amp;gt;find /boot/grub/stage2&amp;lt;/code&amp;gt;&lt;br /&gt;
*This will return something like &amp;lt;code&amp;gt;(hd0,2)&amp;lt;/code&amp;gt;&lt;br /&gt;
*To setup the boot partition boot type &amp;lt;code&amp;gt;root (hd0,2)&amp;lt;/code&amp;gt;.  This is the harddrive and the partition your linux is installed on...&lt;br /&gt;
*And then to configure grub type &amp;lt;code&amp;gt;setup (hd0)&amp;lt;/code&amp;gt;&lt;br /&gt;
*Now you're done, so exit with &amp;lt;code&amp;gt;quit&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== How to identify the name of the boot drive (hd0, hd1, hd2, etc) ====&lt;br /&gt;
&lt;br /&gt;
Press &amp;quot;c&amp;quot; on boot menu.  If you don't see a boot menu, press ESC key first when booting to show the boot menu.  &lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
 root (hd0,0)&lt;br /&gt;
&lt;br /&gt;
Most likely you will get &amp;quot;(hd0,0) ext2fs&amp;quot;, which should be your current Linux drive.  Now change hd0 to hd1 to see what is there.&lt;br /&gt;
&lt;br /&gt;
 root (hd1,0)&lt;br /&gt;
&lt;br /&gt;
If you get &amp;quot;(hd1,0) filesystem type unknown, partition type 0x7&amp;quot;, then hd1 is a Windows drive.&lt;br /&gt;
&lt;br /&gt;
Now change hd1 to hd2, keep going until you reach hd7.&lt;br /&gt;
&lt;br /&gt;
==== How to add Windows entry into GRUB menu ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#Como listar a tabela de PartiÃ§Ãµes]]&lt;br /&gt;
&lt;br /&gt;
:''e.g. Assumed that /dev/hda1 is the location of Windows partition''&lt;br /&gt;
&lt;br /&gt;
 sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup&lt;br /&gt;
 gksudo gedit /boot/grub/menu.lst&lt;br /&gt;
&lt;br /&gt;
*Adicione as linhas seguintes ao final do ficheiro&lt;br /&gt;
&lt;br /&gt;
 title		Microsoft Windows&lt;br /&gt;
 root		(hd0,0)&lt;br /&gt;
 savedefault&lt;br /&gt;
 makeactive&lt;br /&gt;
 chainloader	+1&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== How to boot into Windows installed on a seperate SATA drive ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Ler [[#How to identify the name of the boot drive (hd0, hd1, hd2, etc)]]&lt;br /&gt;
&lt;br /&gt;
This configuration applies to people who have Linux installed on a IDE drive, and Windows installed on a seperate SATA.  The IDE drive boots first, so we need to add an entry to the boot menu on the Linux disk.  Here we assume the name of your Windows drive is hd1.  If you are not sure, click the link above to find out.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup&lt;br /&gt;
 gksudo gedit /boot/grub/menu.lst&lt;br /&gt;
&lt;br /&gt;
*Adicione as linhas seguintes ao final do ficheiro.&lt;br /&gt;
&lt;br /&gt;
 title           Windows XP on SATA drive&lt;br /&gt;
 map (hd0) (hd1)&lt;br /&gt;
 map (hd1) (hd0)&lt;br /&gt;
 chainloader (hd1,0)+1&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado&lt;br /&gt;
&lt;br /&gt;
==== How to read Linux partitions (ext2, ext3) in Windows machine ====&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Notas Gerais]]&lt;br /&gt;
*Download Explore2fs: [http://easylinux.info/uploads/explore2fs-1.07.zip Here]&lt;br /&gt;
:ou&lt;br /&gt;
*See [http://www.fs-driver.org/index.html www.fs-driver.org]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips And Tricks ==&lt;br /&gt;
&lt;br /&gt;
=== How to enable lame for FFMPEG (needed to encode FLV with sound) ===&lt;br /&gt;
&lt;br /&gt;
KINO FLVs silent? You need to recompile FFMPEG with LAME enabled. FFMPEG can be installed via apt-get as a package, but is not able encode MP3, which is the audio stream in FLV video (like Google &amp;amp; YouTube).&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
*Ensure Ubuntu Universe repository is not preceded by # in /etc/apt/sources.list&lt;br /&gt;
*Download and install lame liblame-dev and gcc packages (mp3 encoder + GNU compiler collection)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get build-dep ffmpeg&lt;br /&gt;
sudo apt-get install liblame-dev libfaad2-dev libfaac-dev libxvidcore4-dev liba52-0.7.4 \&lt;br /&gt;
liba52-0.7.4-dev libx264-dev checkinstall build-essential gcc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Download and extract FFMPEG source to current working directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get source ffmpeg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Compile FFMPEG from source&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ffmpeg-*&lt;br /&gt;
sudo ./configure --enable-gpl --enable-pp --enable-vorbis --enable-libogg \&lt;br /&gt;
--enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug \&lt;br /&gt;
--enable-mp3lame --enable-faad --enable-faac --enable-xvid --enable-pthreads \&lt;br /&gt;
--enable-x264&lt;br /&gt;
&lt;br /&gt;
maybe try instead = &lt;br /&gt;
sudo ./configure --enable-gpl --enable-pp --enable-libvorbis --enable-libogg \&lt;br /&gt;
--enable-liba52 --enable-libdts --enable-dc1394 --enable-libgsm --disable-debug \ &lt;br /&gt;
--enable-libmp3lame --enable-libfaad --enable-libfaac --enable-xvid --enable-pthreads \&lt;br /&gt;
--enable-x264&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo make&lt;br /&gt;
sudo checkinstall [accept defaults, set version to 3:0.cvs20060823-3.1ubuntu2]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If an application you are using employs FFMPEG to encode FLV, it should now work properly. You can also call FFMPEG directly from the command line. The  extension/suffix of the outfile tells FFMPEG which audio or video format to encode to. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ffmpeg [-i infile] [outfile]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== How to enable smooth fonts ===&lt;br /&gt;
&lt;br /&gt;
 gedit ~/.fonts.conf&lt;br /&gt;
*Paste in this text:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=â1.0â ?&amp;gt;&lt;br /&gt;
 &amp;lt;!DOCTYPE fontconfig SYSTEM âfonts.dtdâ&amp;gt;&lt;br /&gt;
 &amp;lt;fontconfig&amp;gt;&lt;br /&gt;
 &amp;lt;match target=âfontâ&amp;gt;&lt;br /&gt;
 &amp;lt;edit name=âautohintâ mode=âassignâ&amp;gt;&lt;br /&gt;
 &amp;lt;bool&amp;gt;true&amp;lt;/bool&amp;gt;&lt;br /&gt;
 &amp;lt;/edit&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
 &amp;lt;/fontconfig&amp;gt;&lt;br /&gt;
*Youâll have to log out and back in to see the difference.&lt;br /&gt;
&lt;br /&gt;
=== Como reiniciar o GNOME sem reiniciar o computador ===&lt;br /&gt;
&lt;br /&gt;
*Guarde e encerre todas as aplicaÃ§Ãµes em execuÃ§Ã£o&lt;br /&gt;
&lt;br /&gt;
 Pressione 'Ctrl + Alt + Backspace'&lt;br /&gt;
 &lt;br /&gt;
:ou&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/gdm restart&lt;br /&gt;
&lt;br /&gt;
:ou&lt;br /&gt;
&lt;br /&gt;
 Se estas dicas nÃ£o tiverem ajudado, ler: [[#System requests (What to do if your system is unresponsive)]]&lt;br /&gt;
&lt;br /&gt;
=== How to turn on Num Lock on GNOME startup ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install numlockx&lt;br /&gt;
 sudo cp /etc/X11/gdm/Init/Default /etc/X11/gdm/Init/Default_backup&lt;br /&gt;
 gksudo gedit /etc/X11/gdm/Init/Default&lt;br /&gt;
&lt;br /&gt;
*Procure a seguinte linha&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 exit 0&lt;br /&gt;
&lt;br /&gt;
*Add the following lines above it&lt;br /&gt;
&lt;br /&gt;
 if [ -x /usr/bin/numlockx ]; then&lt;br /&gt;
  /usr/bin/numlockx on&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado &lt;br /&gt;
*Ler [[#How to restart GNOME without rebooting computer]]&lt;br /&gt;
&lt;br /&gt;
=== How to remap the Caps Lock key as another Control key ===&lt;br /&gt;
&lt;br /&gt;
 gksudo gedit /etc/console-tools/remap&lt;br /&gt;
&lt;br /&gt;
==== In the Console ====&lt;br /&gt;
*Change&lt;br /&gt;
 #s/keycode  58 = Caps_Lock/keycode  58 = Control/;&lt;br /&gt;
to&lt;br /&gt;
 s/keycode  58 = Caps_Lock/keycode  58 = Control/;&lt;br /&gt;
&lt;br /&gt;
*Save your work&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/console-screen.sh&lt;br /&gt;
&lt;br /&gt;
*Try using it&lt;br /&gt;
&lt;br /&gt;
==== In X Windows ====&lt;br /&gt;
 gksudo gedit ~/.Xmodmap&lt;br /&gt;
&lt;br /&gt;
*Add this:&lt;br /&gt;
 keycode 66 = Control_L&lt;br /&gt;
 clear Lock&lt;br /&gt;
 add Control = Control_L&lt;br /&gt;
 &lt;br /&gt;
*Now, apply the changes.&lt;br /&gt;
 xmodmap ~/.Xmodmap&lt;br /&gt;
&lt;br /&gt;
*To apply them on startup&lt;br /&gt;
**If ~/.xinitrc does not exist,&lt;br /&gt;
 cp /etc/X11/xinit/xinitrc ~/.xinitrc&lt;br /&gt;
&lt;br /&gt;
*In all cases&lt;br /&gt;
 gedit ~/.xinitrc&lt;br /&gt;
&lt;br /&gt;
*Make the first line this:&lt;br /&gt;
 xmodmap ~/.Xmodmap&lt;br /&gt;
&lt;br /&gt;
*Restart X (Ctrl - Alt - Backspace)&lt;br /&gt;
*Log In, a dialog should pop up, add .Xmodmap to the left side with the add button, and Save.&lt;br /&gt;
&lt;br /&gt;
=== How to run programs on startup when login into GNOME ===&lt;br /&gt;
&lt;br /&gt;
*Sistema -&amp;gt; Preferencias -&amp;gt; Sessions&lt;br /&gt;
*Sessions&lt;br /&gt;
&lt;br /&gt;
 Startup Programs Tab -&amp;gt; Add/Edit/Delete&lt;br /&gt;
&lt;br /&gt;
=== How to speed-up your Ubuntu box ===&lt;br /&gt;
&lt;br /&gt;
*Read the following post: http://ubuntuforums.org/showthread.php?t=189192&lt;br /&gt;
&lt;br /&gt;
=== How to switch to Console mode in GNOME ===&lt;br /&gt;
&lt;br /&gt;
*To switch to Console mode&lt;br /&gt;
&lt;br /&gt;
 Press 'Ctrl + Alt + F1' (F2 - F6)&lt;br /&gt;
&lt;br /&gt;
*To switch between consoles in Console mode&lt;br /&gt;
&lt;br /&gt;
 Press 'Alt + F1' (F2 - F6)&lt;br /&gt;
&lt;br /&gt;
*To switch back to GNOME mode&lt;br /&gt;
&lt;br /&gt;
 Press 'Alt + F7'&lt;br /&gt;
&lt;br /&gt;
=== How to disable Ctrl+Alt+Backspace from restarting X in GNOME and KDE 3.5.x ===&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup&lt;br /&gt;
 gksudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
*Adicione as linhas seguintes ao final do ficheiro&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
 	Option		&amp;quot;DontZap&amp;quot;		&amp;quot;yes&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado &lt;br /&gt;
*Ler [[#How to restart GNOME without rebooting computer]]&lt;br /&gt;
&lt;br /&gt;
=== Como fazer o Ctrl+Alt+Del abrir o System Monitor no GNOME ===&lt;br /&gt;
&lt;br /&gt;
 gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_9 &amp;quot;&amp;lt;Control&amp;gt;&amp;lt;Alt&amp;gt;Delete&amp;quot;&lt;br /&gt;
 gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_9 &amp;quot;gnome-system-monitor&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Como fazer refresh ao ambiente de trabalho do GNOME ===&lt;br /&gt;
&lt;br /&gt;
 killall nautilus&lt;br /&gt;
&lt;br /&gt;
=== Como actualizar o painel do GNOME ===&lt;br /&gt;
&lt;br /&gt;
 killall gnome-panel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== How to enable autosave in Gedit and disable creation of some_file~ files ===&lt;br /&gt;
&lt;br /&gt;
*Applications -&amp;gt; System Tools -&amp;gt; Configuration Editor&lt;br /&gt;
*Configuration Editor&lt;br /&gt;
&lt;br /&gt;
 / -&amp;gt; apps -&amp;gt; gedit-2 -&amp;gt; preferences -&amp;gt; editor -&amp;gt; save -&amp;gt; create_backup_copy ('''Unchecked''')&lt;br /&gt;
 / -&amp;gt; apps -&amp;gt; gedit-2 -&amp;gt; preferences -&amp;gt; editor -&amp;gt; save -&amp;gt; auto_save ('''Checked''')&lt;br /&gt;
&lt;br /&gt;
=== How to show all hidden files/folders in Nautilus ===&lt;br /&gt;
&lt;br /&gt;
*Places -&amp;gt; Home Folder&lt;br /&gt;
*To temporary show all hidden files/folders in Nautilus&lt;br /&gt;
&lt;br /&gt;
 Press 'Ctrl + H'&lt;br /&gt;
&lt;br /&gt;
*To permanently show all hidden files/folders in Nautilus&lt;br /&gt;
&lt;br /&gt;
 Edit Menu -&amp;gt; Preferences&lt;br /&gt;
&lt;br /&gt;
 Views Tab -&amp;gt; Default View -&amp;gt; Show hidden and backup files ('''Checked''')&lt;br /&gt;
&lt;br /&gt;
=== How to browse files/folders as root user in Nautilus ===&lt;br /&gt;
&lt;br /&gt;
*To install File Browser (Root)&lt;br /&gt;
&lt;br /&gt;
 gksudo gedit /usr/share/applications/Nautilus-root.desktop&lt;br /&gt;
&lt;br /&gt;
**Insert the following lines into the new file&lt;br /&gt;
&lt;br /&gt;
 [Desktop Entry]&lt;br /&gt;
 Name=File Browser (Root)&lt;br /&gt;
 Comment=Browse the filesystem with the file manager&lt;br /&gt;
 Exec=gksudo &amp;quot;nautilus --browser %U&amp;quot;&lt;br /&gt;
 Icon=file-manager&lt;br /&gt;
 Terminal=false&lt;br /&gt;
 Type=Application&lt;br /&gt;
 Categories=Application;System;&lt;br /&gt;
&lt;br /&gt;
**Grave o ficheiro editado &lt;br /&gt;
**Ler [[#Como actualizar o painel do GNOME]]&lt;br /&gt;
&lt;br /&gt;
*To browse files/folders as root user in Nautilus&lt;br /&gt;
**Applications -&amp;gt; System Tools -&amp;gt; File Browser (Root)&lt;br /&gt;
&lt;br /&gt;
=== How to install a &amp;quot;View in Terminal&amp;quot; Menu for Nautilus ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install nautilus-open-terminal&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to refresh GNOME desktop]]&lt;br /&gt;
&lt;br /&gt;
*Nautilus -&amp;gt; Right-click on folder or background -&amp;gt; Open in Terminal&lt;br /&gt;
&lt;br /&gt;
=== How to change default file type &amp;quot;Open with&amp;quot; program ===&lt;br /&gt;
&lt;br /&gt;
 Right click on file -&amp;gt; '''Properties'''&lt;br /&gt;
&lt;br /&gt;
 Open With Tab -&amp;gt; Add&lt;br /&gt;
 Select &amp;quot;Open with&amp;quot; program&lt;br /&gt;
&lt;br /&gt;
 Select &amp;quot;Open with&amp;quot; program ('''Checked''')&lt;br /&gt;
&lt;br /&gt;
=== Como alterar o cliente de e-mail predefinido para o Mozilla Thunderbird ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to install Email Client (Mozilla Thunderbird)]]&lt;br /&gt;
*Sistema -&amp;gt; Preferencias -&amp;gt; Preferred Applications&lt;br /&gt;
*Preferred Applications&lt;br /&gt;
&lt;br /&gt;
 Mail Reader Tab -&amp;gt; Default Mail Reader -&amp;gt; Command: mozilla-thunderbird %s&lt;br /&gt;
&lt;br /&gt;
=== How to open files as root user via right click ===&lt;br /&gt;
&lt;br /&gt;
 gedit $HOME/.gnome2/nautilus-scripts/Open\ as\ root&lt;br /&gt;
&lt;br /&gt;
*Insert the following lines into the new file&lt;br /&gt;
&lt;br /&gt;
 for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do&lt;br /&gt;
 	gksudo &amp;quot;gnome-open $uri&amp;quot; &amp;amp;&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado &lt;br /&gt;
&lt;br /&gt;
 chmod +x $HOME/.gnome2/nautilus-scripts/Open\ as\ root&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 Right click on file -&amp;gt; Scripts -&amp;gt; Open as root&lt;br /&gt;
&lt;br /&gt;
=== How to disable beep sound in Terminal mode ===&lt;br /&gt;
&lt;br /&gt;
Not for Dapper---- firingstone&lt;br /&gt;
&lt;br /&gt;
*Applications -&amp;gt; Accessories -&amp;gt; Terminal&lt;br /&gt;
*Terminal&lt;br /&gt;
&lt;br /&gt;
 Edit Menu -&amp;gt; Current Profile...&lt;br /&gt;
&lt;br /&gt;
 General Tab -&amp;gt; General -&amp;gt; Terminal bell (Un-Checked)&lt;br /&gt;
&lt;br /&gt;
=== How to handle mms protocol in Mozilla Firefox ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to install VLC Multimedia Player with plug-in for Mozilla Firefox]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Open your firefox.&lt;br /&gt;
* Type as url: about:config&lt;br /&gt;
Now just right click somewhere into the main window. A little box with options to choose will appear. Choose '''&amp;quot;new&amp;quot;''', then '''&amp;quot;string&amp;quot;'''. Then copy the following line into the appearing text field:&lt;br /&gt;
&lt;br /&gt;
 network.protocol-handler.app.mms&lt;br /&gt;
&lt;br /&gt;
Into the next text field copy this:&lt;br /&gt;
&lt;br /&gt;
 /usr/bin/X11/vlc&lt;br /&gt;
&lt;br /&gt;
Now you do the same thing again, but this time you do not choose &amp;quot;string&amp;quot; but '''&amp;quot;boolean&amp;quot;''', and the line to copy is:&lt;br /&gt;
&lt;br /&gt;
 network.protocol-handler.external.mms&lt;br /&gt;
&lt;br /&gt;
Then set&lt;br /&gt;
&lt;br /&gt;
 true&lt;br /&gt;
&lt;br /&gt;
=== How to handle rtsp (realmedia) protocol in Mozilla Firefox ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to install Multimedia Player (RealPlayer 10)]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Open your firefox.&lt;br /&gt;
* Type as url: about:config&lt;br /&gt;
Now just right click somewhere into the main window. A little box with options to choose will appear. Choose '''&amp;quot;new&amp;quot;''', then '''&amp;quot;string&amp;quot;'''. Then copy the following line into the appearing text field:&lt;br /&gt;
&lt;br /&gt;
 network.protocol-handler.app.rtsp&lt;br /&gt;
&lt;br /&gt;
Into the next text field copy this:&lt;br /&gt;
&lt;br /&gt;
 /usr/bin/X11/realplay&lt;br /&gt;
&lt;br /&gt;
Now you do the same thing again, but this time you do not choose &amp;quot;string&amp;quot; but '''&amp;quot;boolean&amp;quot;''', and the line to copy is:&lt;br /&gt;
&lt;br /&gt;
 network.protocol-handler.external.rtsp&lt;br /&gt;
&lt;br /&gt;
Then set&lt;br /&gt;
&lt;br /&gt;
 true&lt;br /&gt;
&lt;br /&gt;
=== How to load Web site faster in Mozilla Firefox ===&lt;br /&gt;
&lt;br /&gt;
*[http://www.ubuntugeek.com/speed-up-firefox-web-browser.html Speed Up Firefox Web Browser Tips]&lt;br /&gt;
&lt;br /&gt;
*Applications -&amp;gt; Internet -&amp;gt; Firefox Web Browser&lt;br /&gt;
*Mozilla Firefox&lt;br /&gt;
&lt;br /&gt;
 Address Bar -&amp;gt; about:config&lt;br /&gt;
&lt;br /&gt;
 Filter: -&amp;gt;&lt;br /&gt;
 network.dns.disableIPv6 -&amp;gt; true&lt;br /&gt;
 network.http.pipelining -&amp;gt; true&lt;br /&gt;
 network.http.pipelining.maxrequests -&amp;gt; 8&lt;br /&gt;
 network.http.proxy.pipelining -&amp;gt; true&lt;br /&gt;
&lt;br /&gt;
*Restart Mozilla Firefox&lt;br /&gt;
&lt;br /&gt;
=== How to disable beep sound for link find function in Mozilla Firefox ===&lt;br /&gt;
&lt;br /&gt;
*Applications -&amp;gt; Internet -&amp;gt; Firefox Web Browser&lt;br /&gt;
*Mozilla Firefox&lt;br /&gt;
&lt;br /&gt;
 Address Bar -&amp;gt; about:config&lt;br /&gt;
&lt;br /&gt;
 Filter: -&amp;gt; accessibility.typeaheadfind.enablesound -&amp;gt; false&lt;br /&gt;
&lt;br /&gt;
*Restart Mozilla Firefox&lt;br /&gt;
&lt;br /&gt;
=== How to apt-get the easy way (Synaptic) ===&lt;br /&gt;
&lt;br /&gt;
*[http://www.debianadmin.com/simple-package-management-with-synaptic-package-manager-in-ubuntu.html Step By Step Synaptic Package Manager Tutorials with Screenshots ]&lt;br /&gt;
*Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Synaptic Package Manager&lt;br /&gt;
*To enable the extra Universe and Multiverse repositories&lt;br /&gt;
*#Settings -&amp;gt; Repositories&lt;br /&gt;
*#In the Installation Media tab, click Add. There are three separate repositories; Dapper Drake, Security Updates and Updates. Select each repository and check Officially supported, Restricted copyright, Community maintained (Universe) and Non-free (Multiverse). Ensure you click OK between each repository to save your changes&lt;br /&gt;
*#You should now see those three repositories under Channels. Make sure Officially supported, Restricted copyright, Community maintained (Universe) and Non-free (Multiverse) appears under each repository&lt;br /&gt;
&lt;br /&gt;
*To add backports and PLF (new versions of many applications.  Unsupported. May contain illegal packages. Use at own risk.)&lt;br /&gt;
*#Settings -&amp;gt; Repositories&lt;br /&gt;
*#Click on Add and then Custom&lt;br /&gt;
*#Paste the following four lines into the box and click Add Repository, one line at a time:&lt;br /&gt;
 &lt;br /&gt;
 deb http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse&lt;br /&gt;
 deb-src http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse&lt;br /&gt;
&lt;br /&gt;
 deb http://medibuntu.sos-sts.com/repo/ feisty free&lt;br /&gt;
 deb http://medibuntu.sos-sts.com/repo/ feisty non-free&lt;br /&gt;
 deb-src http://medibuntu.sos-sts.com/repo/ feisty free&lt;br /&gt;
 deb-src http://medibuntu.sos-sts.com/repo/ feisty non-free&lt;br /&gt;
*To refresh the list of known packages (equivalent to apt-get update)&lt;br /&gt;
&lt;br /&gt;
 Edit Menu -&amp;gt; Reload Package Information&lt;br /&gt;
&lt;br /&gt;
*To install all possible upgrades (equivalent to aptitude upgrade)&lt;br /&gt;
&lt;br /&gt;
 Edit Menu -&amp;gt; Mark All Upgrades... -&amp;gt; Default Upgrade&lt;br /&gt;
 Edit Menu -&amp;gt; Apply Marked Changes&lt;br /&gt;
&lt;br /&gt;
*To search for a package (equivalent to aptitude search package_name)&lt;br /&gt;
&lt;br /&gt;
 Edit Menu -&amp;gt; Search... Specify the package name&lt;br /&gt;
&lt;br /&gt;
*To install the selected package (equivalent to aptitude install package_name)&lt;br /&gt;
&lt;br /&gt;
 Select &amp;quot;package_name&amp;quot;&lt;br /&gt;
 Package Menu -&amp;gt; Mark for Installation&lt;br /&gt;
 Edit Menu -&amp;gt; Apply Marked Changes&lt;br /&gt;
&lt;br /&gt;
*To remove installed package (equivalent to aptitude remove package_name)&lt;br /&gt;
&lt;br /&gt;
 Select &amp;quot;package_name&amp;quot;&lt;br /&gt;
 Package Menu -&amp;gt; Mark for Removal&lt;br /&gt;
 Edit Menu -&amp;gt; Apply Marked Changes&lt;br /&gt;
&lt;br /&gt;
=== What packages do the extra repositories provide ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to apt-get the easy way (Synaptic)]]&lt;br /&gt;
&lt;br /&gt;
* The [http://packages.freecontrib.org/ubuntu/plf/ PLF repository] provides&lt;br /&gt;
*# DVD playback support (libdvdcss2)&lt;br /&gt;
*# Skype&lt;br /&gt;
*# Sun Java SDK (Software Development Kit) and JRE (Java Runtime Environment)&lt;br /&gt;
*# Opera Web browser&lt;br /&gt;
*# RealPlayer 10&lt;br /&gt;
*# Win32 binary multimedia codecs&lt;br /&gt;
&lt;br /&gt;
=== Como instalar/desinstalar ficheiros .deb ===&lt;br /&gt;
&lt;br /&gt;
*Para instalar ficheiros .deb&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg -i package_file.deb&lt;br /&gt;
&lt;br /&gt;
*Para desinstalar ficheiros .deb&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg -r package_name&lt;br /&gt;
&lt;br /&gt;
=== Como descobrir a versÃ£o instalada de determinado pacote ===&lt;br /&gt;
&lt;br /&gt;
 dpkg -l nome_do_pacote&lt;br /&gt;
&lt;br /&gt;
=== Como converter de .rpm para .deb ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to install .rpm to .deb Converter (Alien)]]&lt;br /&gt;
&lt;br /&gt;
 sudo alien -d nome_do_pacote.rpm&lt;br /&gt;
&lt;br /&gt;
=== How to compile .deb files from source ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
*There are various programs available to help automate the process of create .deb files from source.  For more information, see the links at the end of this section.  A basic well tested method is described here.&lt;br /&gt;
*Install the necessary software to build the source (build-essential may be all that is necessary, though there may be other dependencies) and checkinstall (which creates deb files).&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install checkinstall build-essential&lt;br /&gt;
&lt;br /&gt;
*In the directory where you have extracted the source, after you have run ''./configure'' and ''make'' you can create a .deb file and install it with either of the following commands.  The second ''-D'' option creates a .deb file in the directory that you can share with others or install without needing the source.&lt;br /&gt;
&lt;br /&gt;
 sudo checkinstall&lt;br /&gt;
or&lt;br /&gt;
 sudo checkinstall -D&lt;br /&gt;
&lt;br /&gt;
*For more info go to [http://asic-linux.com.mx/~izto/checkinstall/index.php CheckInstall home page] and the [http://www.psychocats.net/ubuntu/installingsoftware.php Installing software on Ubuntu page].  [https://wiki.ubuntu.com/AutoDeb Autodeb] uses a modified version of [https://wiki.ubuntu.com/AutoApt AutoApt] to complete the entire process above including extraction from the .tar.gz file, however it is still in an early stage of development.&lt;br /&gt;
&lt;br /&gt;
=== How to rename all files in directory at once ===&lt;br /&gt;
&lt;br /&gt;
*To install &amp;quot;mvb&amp;quot; file name renamer&lt;br /&gt;
&lt;br /&gt;
 wget -c http://easylinux.info/uploads/mvb_1.6.tgz&lt;br /&gt;
 sudo tar zxvf mvb_1.6.tgz -C /usr/share/&lt;br /&gt;
 sudo chown -R root:root /usr/share/mvb_1.6/&lt;br /&gt;
 sudo ln -fs /usr/share/mvb_1.6/mvb /usr/bin/mvb&lt;br /&gt;
 &lt;br /&gt;
*To rename all files in directory at once&lt;br /&gt;
&lt;br /&gt;
 mvb NEW_NAME&lt;br /&gt;
&lt;br /&gt;
=== How to manipulate all image files in directory at once ===&lt;br /&gt;
&lt;br /&gt;
*To install bash batch image processing script&lt;br /&gt;
**Ler [[#Como adicionar repositÃ³rios extra]]  &lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install imagemagick&lt;br /&gt;
 wget -c http://easylinux.info/uploads/bbips.0.3.2.sh&lt;br /&gt;
 sudo cp bbips.0.3.2.sh /usr/bin/bbips&lt;br /&gt;
 sudo chmod 755 /usr/bin/bbips&lt;br /&gt;
&lt;br /&gt;
*To manipulate all image files in directory at once&lt;br /&gt;
&lt;br /&gt;
 bbips&lt;br /&gt;
&lt;br /&gt;
=== How to set System-wide Environment Variables ===&lt;br /&gt;
&lt;br /&gt;
 sudo cp -p /etc/profile /etc/profile_backup&lt;br /&gt;
 gksudo gedit /etc/profile&lt;br /&gt;
&lt;br /&gt;
*Append the System-wide Environment Variables at the end of file&lt;br /&gt;
*Grave o ficheiro editado&lt;br /&gt;
&lt;br /&gt;
=== How to save &amp;quot;man&amp;quot; outputs into files ===&lt;br /&gt;
&lt;br /&gt;
 man command | col -b &amp;gt; file.txt&lt;br /&gt;
&lt;br /&gt;
=== How to hide GRUB menu on boot-up ===&lt;br /&gt;
&lt;br /&gt;
 sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup&lt;br /&gt;
 gksudo gedit /boot/grub/menu.lst&lt;br /&gt;
 &lt;br /&gt;
*Procure a seguinte linha&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 #hiddenmenu&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Substitua pela linha seguinte&lt;br /&gt;
&lt;br /&gt;
 hiddenmenu&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado &lt;br /&gt;
&lt;br /&gt;
=== How to change the timeout seconds for GRUB menu on boot-up ===&lt;br /&gt;
&lt;br /&gt;
 sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup&lt;br /&gt;
 gksudo gedit /boot/grub/menu.lst&lt;br /&gt;
&lt;br /&gt;
*Procure a seguinte linha&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 timeout     3&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Substitua pela linha seguinte&lt;br /&gt;
&lt;br /&gt;
 timeout     X_seconds&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado &lt;br /&gt;
&lt;br /&gt;
=== How to change default Operating System boot-up for GRUB menu ===&lt;br /&gt;
&lt;br /&gt;
 sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup&lt;br /&gt;
 gksudo gedit /boot/grub/menu.lst&lt;br /&gt;
&lt;br /&gt;
*Procure a seguinte linha&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 default     0&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Substitua pela linha seguinte&lt;br /&gt;
&lt;br /&gt;
 default     X_sequence&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado &lt;br /&gt;
&lt;br /&gt;
=== How to display Splash Image for GRUB menu on boot-up ===&lt;br /&gt;
&lt;br /&gt;
:''e.g. Assumed that hd0,1 is the location of Ubuntu boot partition''&lt;br /&gt;
&lt;br /&gt;
 wget -c http://easylinux.info/uploads/ubuntu.xpm.gz&lt;br /&gt;
 chmod 644 ubuntu.xpm.gz&lt;br /&gt;
 sudo mkdir /boot/grub/images&lt;br /&gt;
 sudo cp ubuntu.xpm.gz /boot/grub/images/&lt;br /&gt;
 sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup&lt;br /&gt;
 gksudo gedit /boot/grub/menu.lst&lt;br /&gt;
&lt;br /&gt;
*Procure esta secÃ§Ã£o&lt;br /&gt;
&lt;br /&gt;
 # menu.lst - See: grub(8), info grub, update-grub(8)&lt;br /&gt;
 #      grub-install(8), grub-floppy(8),&lt;br /&gt;
 #      grub-md5-crypt, /usr/share/doc/grub&lt;br /&gt;
 #      and /usr/share/doc/grub-doc/.&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Add the following line below it&lt;br /&gt;
&lt;br /&gt;
 splashimage (hd0,1)/boot/grub/images/ubuntu.xpm.gz&lt;br /&gt;
&lt;br /&gt;
: ''NOTE: If you have seperate boot partition use this line: splashimage (hd0,1)/grub/images/ubuntu.xpm.gz''&lt;br /&gt;
*Grave o ficheiro editado&lt;br /&gt;
&lt;br /&gt;
=== How to convert Wallpaper to Splash Image for GRUB menu ===&lt;br /&gt;
&lt;br /&gt;
:''e.g. Assumed that wallpaper.png is the Wallpaper to be converted to Splash Image''&lt;br /&gt;
:''   splashimage.xpm.gz is the Splash Image for GRUB menu''&lt;br /&gt;
:''   ImageMagick is installed''&lt;br /&gt;
&lt;br /&gt;
 convert -resize 640x480 -colors 14 wallpaper.png splashimage.xpm &amp;amp;&amp;amp; gzip splashimage.xpm&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to display Splash Image for GRUB menu on boot-up]] (use splashimage.xpm.gz instead of ubuntu.xpm.gz)&lt;br /&gt;
&lt;br /&gt;
=== How to display only one kernel on GRUB menu ===&lt;br /&gt;
&lt;br /&gt;
 sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup-`date +%F`&lt;br /&gt;
 gksudo gedit /boot/grub/menu.lst&lt;br /&gt;
&lt;br /&gt;
* Procure a seguinte linha&lt;br /&gt;
 ...&lt;br /&gt;
 # howmany=all&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
* Substitua pela linha seguinte&lt;br /&gt;
&lt;br /&gt;
 # howmany=1&lt;br /&gt;
&lt;br /&gt;
Where 1 means to keep the last kernel, 2 to keep the last 2 kernels,&lt;br /&gt;
etc. Do not delete the # symbol. The menu will be updated once a new&lt;br /&gt;
kernel will be updated by the system, not before.&lt;br /&gt;
&lt;br /&gt;
* Grave o ficheiro editado&lt;br /&gt;
&lt;br /&gt;
=== How to force GDM to system beep when login screen ready ===&lt;br /&gt;
&lt;br /&gt;
*This is useful on computers where headphones are usually plugged in, allowing them to utilize the speakers for this attention-getting task.&lt;br /&gt;
&lt;br /&gt;
 echo foo &amp;gt;&amp;gt; ~/foo.wav&lt;br /&gt;
&lt;br /&gt;
*Sistema -&amp;gt; AdministraÃ§Ã£o -&amp;gt; Login Window -&amp;gt; Accessibility&lt;br /&gt;
Now make sure the &amp;quot;Login Screen Ready&amp;quot; check mark is checked.  Click on the folder icon and navigate to your home folder and select &amp;quot;foo.wav&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 rm foo.wav&lt;br /&gt;
&lt;br /&gt;
The drop down menu should now say &amp;quot;(None)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== How to temporary skip boot-up services ===&lt;br /&gt;
&lt;br /&gt;
 Press 'Ctrl + C'&lt;br /&gt;
&lt;br /&gt;
=== Clean up Ubuntu GNU/Linux System ===&lt;br /&gt;
&lt;br /&gt;
*[http://www.ubuntugeek.com/cleaning-up-all-unnecessary-junk-files-in-ubuntu.html Clean up Ubuntu GNU/Linux System] - This is very Detailed step by step procedure how to Clean up Ubuntu GNU/Linux System with different tools.&lt;br /&gt;
&lt;br /&gt;
=== How to permanently disable/enable boot-up services ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to install Boot-Up Manager (BUM)]]&lt;br /&gt;
&lt;br /&gt;
=== How to clean /tmp/ folder contents on shutdown ===&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/init.d/sysklogd /etc/init.d/sysklogd_backup&lt;br /&gt;
 gksudo gedit /etc/init.d/sysklogd&lt;br /&gt;
&lt;br /&gt;
*Procure esta secÃ§Ã£o&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
  stop)&lt;br /&gt;
   log_begin_msg &amp;quot;Stopping system log daemon...&amp;quot;&lt;br /&gt;
   start-stop-daemon --stop --quiet --oknodo --exec $binpath --pidfile $pidfile&lt;br /&gt;
   log_end_msg $?&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Add the following line below it&lt;br /&gt;
&lt;br /&gt;
   rm -fr /tmp/* /tmp/.??*&lt;br /&gt;
&lt;br /&gt;
*Grave o ficheiro editado &lt;br /&gt;
&lt;br /&gt;
=== How to scroll up and down to view previous outputs in Console mode ===&lt;br /&gt;
&lt;br /&gt;
*To scroll up to view previously outputs&lt;br /&gt;
&lt;br /&gt;
 Press 'Shift + Page Up'&lt;br /&gt;
&lt;br /&gt;
*To scroll down to view previously outputs&lt;br /&gt;
&lt;br /&gt;
 Press 'Shift + Page Down'&lt;br /&gt;
&lt;br /&gt;
=== HComo saber a versÃ£o do Ubuntu que estÃ¡ a utilizar ===&lt;br /&gt;
&lt;br /&gt;
 cat /etc/issue&lt;br /&gt;
&lt;br /&gt;
=== How to set up (automatic) background/wallpaper-changer application for GNOME ===&lt;br /&gt;
&lt;br /&gt;
*To install the script into a different location than your home directory, replace &amp;quot;~&amp;quot; with your path&lt;br /&gt;
 cd ~&lt;br /&gt;
 wget http://members.chello.at/horst.jens/files/wallpaperchanger.py&lt;br /&gt;
 chmod +x wallpaperchanger.py&lt;br /&gt;
 ~/wallpaperchanger.py&lt;br /&gt;
 gedit ~/.wallpaperchanger/wallpaperchangerconfig.py&lt;br /&gt;
&lt;br /&gt;
*Edit all the lines not beginning with an &amp;quot;#&amp;quot; according to your needs. Save the file and close gedit.&lt;br /&gt;
&lt;br /&gt;
*To create an menu entry for wallpaperchanger:&lt;br /&gt;
 Click the menuitems: Applications -&amp;gt; Accessoires -&amp;gt; Alacarte Menu Editor -&amp;gt; File -&amp;gt; New Entry:&lt;br /&gt;
 Name: wallpaperchanger&lt;br /&gt;
 command: ~/wallpaperchanger.py&lt;br /&gt;
 &lt;br /&gt;
*To change desktop background every time you reboot your computer:&lt;br /&gt;
 Click the menuitems: Sistema -&amp;gt; Preferencias -&amp;gt; Session -&amp;gt; Startup Programs -&amp;gt; Add:&lt;br /&gt;
 ~/wallpaperchanger.py&lt;br /&gt;
&lt;br /&gt;
=== How to set up automatic background change (KDE) ===&lt;br /&gt;
&lt;br /&gt;
*Go to K-menu -&amp;gt; System Settings -&amp;gt; Desktop -&amp;gt; Background&lt;br /&gt;
*Choose Slide Show &lt;br /&gt;
*Press Setup... &lt;br /&gt;
*Press Add... to add pictures you wish to see as desktop background&lt;br /&gt;
*Set 'Change picture after' to desired picture rotation interval.&lt;br /&gt;
*Press 'OK'&lt;br /&gt;
&lt;br /&gt;
=== How to add keyboard layouts for other languages ===&lt;br /&gt;
&lt;br /&gt;
*Go to Sistema -&amp;gt; Preferencias -&amp;gt; Keyboard&lt;br /&gt;
*Choose Layouts&lt;br /&gt;
*Press Add... to add the secondary keyboard layout. It is simpler to have two layouts; the maximum is currently four for Xorg.&lt;br /&gt;
*Choose Layout Options&lt;br /&gt;
*Expand option Group Shift/Lock behaviour&lt;br /&gt;
*Choose the key combination that enables you to switch between keyboard layouts. The default is by pressing both Alt keys at the same time. A common alternative is to use Alt+Shift.&lt;br /&gt;
*Press Close.&lt;br /&gt;
&lt;br /&gt;
See [[#How to add the Keyboard (Layout) Indicator applet]] to add the Keyboard Indicator applet.&lt;br /&gt;
&lt;br /&gt;
=== How to add keyboard layouts toggle for other languages (Xfce) ===&lt;br /&gt;
*use &amp;lt;tt&amp;gt;*.lst&amp;lt;/tt&amp;gt; files on &amp;lt;tt&amp;gt;/etc/X11/xkb/rules&amp;lt;/tt&amp;gt; to select ''2nd_laguage_code'' &lt;br /&gt;
&lt;br /&gt;
 setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,''2nd_laguage_code''&lt;br /&gt;
&lt;br /&gt;
*you can add it to a startup file, which will be set to be executed on startup, with the following lines (remember to 'chmod +x' the file):&lt;br /&gt;
&lt;br /&gt;
 #!/bin/tcsh&lt;br /&gt;
 setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,il&lt;br /&gt;
&lt;br /&gt;
=== How to add the Keyboard (Layout) Indicator applet ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to add keyboard layouts for other languages]]&lt;br /&gt;
&lt;br /&gt;
*Right-click on empty space on the top panel so that you see the pop-up menu.&lt;br /&gt;
*Click Add to Panel...&lt;br /&gt;
*Choose Keyboard Indicator (it is under the Utilities section, at the end)&lt;br /&gt;
&lt;br /&gt;
The Keyboard Indicator applet appears on the panel. The default language should be USA for U.S. English. You can either right-click on this applet for more options or see above on how to configure.&lt;br /&gt;
&lt;br /&gt;
=== How to type extended characters ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to add keyboard layouts for other languages]]&lt;br /&gt;
*Ler [[#How to add the Keyboard (Layout) Indicator applet]]&lt;br /&gt;
&lt;br /&gt;
*Add the keyboard layout US English International (with dead keys)&lt;br /&gt;
*Make US English International (with dead keys) the default keyboard layout.&lt;br /&gt;
&lt;br /&gt;
The key marked ['&amp;quot;] is now a dead key. When you press it, nothing happens. However if you press a consonant immediately afterwards, the consonant appears with an accent.&lt;br /&gt;
* ' + a = Ã¡&lt;br /&gt;
* ' + e = Ã©&lt;br /&gt;
* and so on for i-Ã­, o-Ã³, y-Ã½, c-Ä, z-Åº, n-Å, l-Äº, u-Ãº, r-Å&lt;br /&gt;
&lt;br /&gt;
* &amp;quot; + a = Ã¤&lt;br /&gt;
* &amp;quot; + e = Ã«&lt;br /&gt;
* and so on for y-Ã¿, u-Ã¼, i-Ã¯, o-Ã¶&lt;br /&gt;
&lt;br /&gt;
Similarly, ` and a consonant generates Ã , Ã¨, Ã¹, Ã¬, Ã².&lt;br /&gt;
Similarly, ~ and a consonant generates Ã£, Å©, Ä©, Ãµ, Ã±.&lt;br /&gt;
&lt;br /&gt;
To type ' and &amp;quot;, press RightAlt+' and RightAlt+&amp;quot; respectively.&lt;br /&gt;
To type ' and &amp;quot;, you may also press '+&amp;lt;space&amp;gt; and &amp;quot;+&amp;lt;space&amp;gt; respectively.&lt;br /&gt;
&lt;br /&gt;
There are more characters available by keeping RightAlt pressed and typing a character. Therefore,&lt;br /&gt;
* RightAlt+q = Ã¤&lt;br /&gt;
* RightAlt+w = Ã¥&lt;br /&gt;
* RightAlt+e = Ã©&lt;br /&gt;
* RightAlt+r = Â®&lt;br /&gt;
* RightAlt+t = Ã¾&lt;br /&gt;
* RightAlt+y = Ã¼&lt;br /&gt;
* RightAlt+u = Ãº&lt;br /&gt;
* RightAlt+i = Ã­&lt;br /&gt;
* RightAlt+o = Ã³&lt;br /&gt;
* RightAlt+p = Ã¶&lt;br /&gt;
* RightAlt+[ and ] for Â« and Â» respectively.&lt;br /&gt;
* RightAlt+a = Ã¡&lt;br /&gt;
* RightAlt+s = Ã&lt;br /&gt;
* RightAlt+d = Ã°&lt;br /&gt;
* RightAlt+l = Ã¸&lt;br /&gt;
* RightAlt+; = Â¶&lt;br /&gt;
* RightAlt+: = Â°&lt;br /&gt;
* RightAlt+z = Ã¦&lt;br /&gt;
* RightAlt+c = Â©&lt;br /&gt;
* RightAlt+n = Ã±&lt;br /&gt;
* RightAlt+m = Âµ&lt;br /&gt;
* RightAlt+, = Ã§&lt;br /&gt;
* RightAlt+/ = Â¿&lt;br /&gt;
&lt;br /&gt;
* RightAlt+1 = Â¡&lt;br /&gt;
* RightAlt+2 = Â²&lt;br /&gt;
* RightAlt+3 = Â³&lt;br /&gt;
* RightAlt+4 = Â¤&lt;br /&gt;
* RightAlt+5 = â¬&lt;br /&gt;
* RightAlt+6 = Â¼&lt;br /&gt;
* RightAlt+7 = Â½&lt;br /&gt;
* RightAlt+8 = Â¾&lt;br /&gt;
* RightAlt+9 = â&lt;br /&gt;
* RightAlt+0 = â&lt;br /&gt;
* RightAlt+- = Â¥&lt;br /&gt;
* RightAlt+= = Ã&lt;br /&gt;
&lt;br /&gt;
* RightAlt+! = Â¹&lt;br /&gt;
* RightAlt+@, then o = Å (and Å).&lt;br /&gt;
* RightAlt+#, then a = Ä (and Ä). Similarly for ÄÄ, Å«Åª, Ä«Äª, ÅÅ.&lt;br /&gt;
* RightAlt+$ = Â£&lt;br /&gt;
* RightAlt+% = &lt;br /&gt;
* RightAlt+^ = &lt;br /&gt;
* RightAlt+&amp;amp; = &lt;br /&gt;
* RightAlt+*, then a = Ä (and Ä). Similarly for ÄÄ, Ä¯Ä®.&lt;br /&gt;
* RightAlt+(, then a = Ä (and Ä)&lt;br /&gt;
* RightAlt+(, then g = Ä (and Ä)&lt;br /&gt;
* RightAlt+), then a = Ã¥ (and Ã)&lt;br /&gt;
* RightAlt+_ = &lt;br /&gt;
* RightAlt++ = Ã·&lt;br /&gt;
&lt;br /&gt;
=== How to set the Compose key to type special characters ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to add keyboard layouts for other languages]]&lt;br /&gt;
*Ler [[#How to add the Keyboard (Layout) Indicator applet]]&lt;br /&gt;
&lt;br /&gt;
*Click '''System''', '''Preferences''', '''Keyboard'''.&lt;br /&gt;
*Under '''Layout Options''', expand on '''Compose key position'''.&lt;br /&gt;
*Choose '''Right-Win key is compose''', click Close.&lt;br /&gt;
&lt;br /&gt;
Now you can type extended characters using the RightWin key (next to AltGr), according to [http://cvs.gnome.org/viewcvs/gtk%2B/gtk/gtkimcontextsimple.c?view=markup this keyboard settings file].&lt;br /&gt;
Specifically, the lines that start with ''GDK_Multi_key'' are those that we can use here. The '''Compose''' key is actually '''GDK_Multi_key'''.&lt;br /&gt;
&lt;br /&gt;
Some examples,&lt;br /&gt;
*RightWin + C + =  produces  â¬&lt;br /&gt;
*RightWin + = + C  produces  â¬&lt;br /&gt;
*RightWin + C + O  produces  Â©&lt;br /&gt;
*RightWin + O + C  produces  Â©&lt;br /&gt;
*RightWin + a + '  produces  Ã¡&lt;br /&gt;
*RightWin + a + &amp;quot;  produces  Ã¤&lt;br /&gt;
*RightWin + a + `  produces  Ã &lt;br /&gt;
*RightWin + a + ~  produces  Ã£&lt;br /&gt;
*RightWin + a + *  produces  Ã¥&lt;br /&gt;
*RightWin + a + ^  produces  Ã¢&lt;br /&gt;
*RightWin + a + &amp;gt;  produces  Ã¢&lt;br /&gt;
*RightWin + a + ,  produces  Ä&lt;br /&gt;
*RightWin + e + -  produces  Ä&lt;br /&gt;
*RightWin + S + 1  produces  Â¹&lt;br /&gt;
*RightWin + S + 2  produces  Â²&lt;br /&gt;
*RightWin + S + 3  produces  Â³&lt;br /&gt;
&lt;br /&gt;
=== How to install ubuntu-title font used in Ubuntu logo ===&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install ttf-ubuntu-title&lt;br /&gt;
Now you can use this font in your favorite applications&lt;br /&gt;
&lt;br /&gt;
=== How to associate Adobe Reader with files in Nautilus ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to install PDF Reader (Adobe Reader) with Plug-in for Mozilla Firefox]]&lt;br /&gt;
*Open Nautilus (Places -&amp;gt; Desktop)&lt;br /&gt;
*Browse to a .pdf file&lt;br /&gt;
*Right-click the .pdf file, select '''Properties''', go to the '''Open With''' tab, choose Adobe Reader.&lt;br /&gt;
&lt;br /&gt;
Now when you double-click on a .pdf file, it will be opened with Adobe Reader.&lt;br /&gt;
&lt;br /&gt;
=== How to print from Adobe Reader ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to install PDF Reader (Adobe Reader) with Plug-in for Mozilla Firefox]]&lt;br /&gt;
*Ler [[#How to add a printer]]&lt;br /&gt;
*Applications -&amp;gt; Office -&amp;gt; Adobe Reader&lt;br /&gt;
*File -&amp;gt; Print&lt;br /&gt;
*In the '''Print Command''' box, append '''-d printername'''. For example, if your printer was named FS-1010, the Print Command would read:&lt;br /&gt;
&lt;br /&gt;
 /usr/bin/lp -d FS-1010&lt;br /&gt;
&lt;br /&gt;
=== How to pull apart and combine pdf files ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#Como adicionar repositÃ³rios extra]]&lt;br /&gt;
 sudo aptitude install pdftk&lt;br /&gt;
 cd&lt;br /&gt;
 mkdir bin&lt;br /&gt;
 cd bin&lt;br /&gt;
 gedit pdftk_burst&lt;br /&gt;
* add the following text to pdftk_burst:&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 cd ${1%/*}&lt;br /&gt;
 /usr/bin/pdftk &amp;quot;$1&amp;quot; burst&lt;br /&gt;
 rm doc_data.txt&lt;br /&gt;
* save and close pdftk_burst&lt;br /&gt;
 gedit pdftk_cat&lt;br /&gt;
* add the following text to pdftk_cat:&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 cd ${1%/*}&lt;br /&gt;
 outfile=&amp;quot;00out.pdf&amp;quot;&lt;br /&gt;
 if [ -f $outfile ] ; then&lt;br /&gt;
     rm -f $outfile&lt;br /&gt;
 fi&lt;br /&gt;
 /usr/bin/pdftk *.pdf cat output $outfile&lt;br /&gt;
* save and close pdftk_cat&lt;br /&gt;
 chmod u+x pdftk_burst pdftk_cat&lt;br /&gt;
* open Nautilus (Places -&amp;gt; Desktop) and browse to a .pdf file&lt;br /&gt;
* right-click the .pdf file, select '''Properties''', go to the '''Open With''' tab, click '''Add''', click '''Use a Custom Command''', click '''Browse''', browse to '''pdftk_burst'''. Do the same with '''pdftk_cat'''.&lt;br /&gt;
&lt;br /&gt;
Now, when you right-click on a .pdf file, you'll get two extra options:&lt;br /&gt;
* '''Open With -&amp;gt; pdftk_burst''' which will convert a 30 page pdf file to 30 x 1 page pdf files&lt;br /&gt;
* '''Open With -&amp;gt; pdftk_cat''' which will join together all the pdf files in the same directory, and create a file called '''00out.pdf'''&lt;br /&gt;
&lt;br /&gt;
'''Note:''' this won't work with pdfs with any type of protection - read '''man pdftk''' for more command line options.&lt;br /&gt;
&lt;br /&gt;
=== How to remove jedit when Synaptic package manager fails after install ===&lt;br /&gt;
&lt;br /&gt;
*Ler [[#How to install jedit]]&lt;br /&gt;
 sudo dpkg --remove --force-depends --force-remove-reinstreq jedit&lt;br /&gt;
&lt;br /&gt;
Now, you can use your Synaptic package manager again.&lt;br /&gt;
&lt;br /&gt;
=== How to compile a kernel the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
http://www.howtoforge.com/kernel_compilation_ubuntu&lt;br /&gt;
&lt;br /&gt;
=== System requests (What to do if your system is unresponsive) ===&lt;br /&gt;
&lt;br /&gt;
You can &amp;quot;talk&amp;quot; to the kernel directly via system requests:&lt;br /&gt;
Press &amp;quot;ALT&amp;quot; + &amp;quot;sysreq-key&amp;quot; + &amp;quot;one of the keys&amp;quot; listed below (The sysreq-key is also known as the 'print screen' key):&lt;br /&gt;
&lt;br /&gt;
(Taken from /usr/src/linux/Documentation/sysrq.txt)&lt;br /&gt;
&lt;br /&gt;
*'r'     - Turns off keyboard raw mode and sets it to XLATE.&lt;br /&gt;
*'k'     - Secure Access Key (SAK) Kills all programs on the current virtual console.&lt;br /&gt;
*'b'     - Will immediately reboot the system without syncing or unmounting your disks.&lt;br /&gt;
*'c'	- Will perform a kexec reboot in order to take a crashdump.&lt;br /&gt;
*'o'     - Will shut your system off (if configured and supported).&lt;br /&gt;
*'s'     - Will attempt to sync all mounted filesystems.&lt;br /&gt;
*'u'     - Will attempt to remount all mounted filesystems read-only.&lt;br /&gt;
*'p'     - Will dump the current registers and flags to your console.&lt;br /&gt;
*'t'     - Will dump a list of current tasks and their information to your console.&lt;br /&gt;
*'m'     - Will dump current memory info to your console.&lt;br /&gt;
*'v'	- Dumps Voyager SMP processor info to your console.&lt;br /&gt;
*'0'-'9' - Sets the console log level, controlling which kernel messages will be printed to your console. ('0', for example would make it so that only emergency messages like PANICs or OOPSes would make it to your console.)&lt;br /&gt;
*'f'	- Will call oom_kill to kill a memory hog process&lt;br /&gt;
*'e'     - Send a SIGTERM to all proces&lt;/div&gt;</description>
			<pubDate>Thu, 08 Oct 2009 12:28:15 GMT</pubDate>			<dc:creator>Krampo</dc:creator>			<comments>http://easylinux.info/wiki/Ubuntu_talk:Feisty_pt</comments>		</item>
	</channel>
</rss>