Ubuntu edgy
De Guia Ubuntu PT
Guia Em Desenvolvimento
Alterado a 24-10-2006
Guia Iniciante Não Oficial Ubuntu 6.10 (Edgy Eft)
Este guia foi começado por Chua Wen Kiat (Kuala Lumpur, Malasia). Neste momento está a ser mantido pelo Centro Linux da Universidade da Letónia e todos estão convidados a contribuir.
A primeira versão Portuguesa do Guia foi criada em http://www.guiaubuntupt.org por iGama.
Contribuídores da versão Portuguesa: iGama, jc87, gothicx
Infelizmente por causa de wiki-vandalismo, só utilizadores registados podem editar o wiki, e só utilizadores registados podem criar uma conta. Se deseja juntar-se e ajudar, por favor avise [ ubuntupt _at_ guiaubuntupt.org ]. Não esquecer de indicar o username desejado.
Notas Gerais
- Este é um guia não-oficial de Ubuntu 6.10 (Edgy Eft) para servir de ponto de partida. Não é associado com Ubuntu nem com a Canonical Ltd.
- Este guia pode ser discutido no UbuntuGuide.org Forum oficial em ubuntuforums.org. Entra na discussão.
- O Guia foi testado numa instalação completa de Ubuntu 6.10 x86 Install CD (Edgy)
- 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.
- Para evitar erros de escrita, copie e cole os comandos para o modo Consola (Clique botão direito nos comandos ->"Copiar" ou "Colar". Também pode usar Ctrl+c para copiar e Shift+Insert para Colar)
- "sudo" significa "superuser do" ( SuperUtilizador faz ). "sudo" vai pedir "Password:". Por favor insira Password do utilizador
- 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”.
- Se está cansado de escrever "apt-get" todas as vezes, Leia #Como apt-get the easy way (Synaptic)
- "apt-get" e "<wg3t></wg3t>" requerem uma ligação à Internet para instalar/actualizar/download dos programas.
- Para fazer download a um ficheiro, clique com o botão direito do rato -> Seleccione "Salvar link como..." -> Verifique que o nome e extensão do ficheiro estão correctos
- Se deseja ajudar a traduzir o Ubuntu para a sua língua ou ajudar o Ubuntu de outra maneira, visite https://launchpad.net/
- Que o espírito "humanidade para com os outros" esteja sempre consigo....
- Se está a usar Kubuntu não precisa de instalar o Gedit, porque agora existe uma ligação simbólica do "gedit" para "kate", assim pode usar todos os comandos abaixo sem problemas. Pelo que, se quiser usar o gedit como seu editor, faça:
sudo apt-get install gedit
- Se o comando "gedit" (ligação simbólica) não funcionar, voçê também pode criá-lo:
sudo ln -s /usr/bin/kate /usr/bin/gedit
- Se está a usar a versão 64-bit substitua qualquer "i386" por "amd64"
Para Começar
O que é Ubuntu?
O que há de novo no Ubuntu 6.10 Edgy Eft?
Onde posso ver screenshots/apresentações do Ubuntu?
- Videos
Onde posso ver screenshots/apresentações do Kubuntu?
- Videos
Onde posso encontrar a lista de todos os programas/libraries quem vêm com Ubuntu?
- Result of dpkg -l: Here
- http://packages.ubuntu.com/edgy
- http://distrowatch.com/table.php?distribution=ubuntu
Onde fazer download do Ubuntu?
Onde encomendar os CDs Ubuntu sem pagar NADA?
Nota: Os CDs podem demorar entre 4 a 5 semanas a ser entregues. É encorajado a copiar, modificar e redistribuir os cds. Só a versão 6.06 LTS (Long Term Support) [Dapper] é possível encomendar.
Onde encontrar ajuda para Ubuntu?
- Ver: Sistema -> Ajuda -> Documentação do Sistema
- Official Documentation website
- Official User Documentation (wiki)
- Ubuntu Document Storage Facility
- Mailing Lists
- Web Forums
- IRC Channel
Onde procurar por novos programas?
Onde procurar por elementos estilísticos para o desktop?
Repositórios
Como adicionar repositórios extra
- Ler #Notas Gerais
- Voçê pode também adicionar repositórios extra usando o Synaptic Package Manager. Utilizadores novos podem achar mais "user-friendly" adicionar novos repositórios pelo Package Manager. Se seguir o link acima, não precisa de seguir o resto desta ajuda.
sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup sudo gedit /etc/apt/sources.list
- Substitua por um dos seguintes blocos como preferir (Internacional ou PT)
- Para usar o seu mirror local voçê pode adicionar "cc." antes de archive.ubuntu.com (cc = código do seu país)
- exemplo:. deb http://lv.archive.ubuntu.com/ubuntu edgy main restricted universe multiverse
Repositórios Internacionais:
## Add comments (##) in front of any line to remove it from being checked. ## Use the following sources.list at your own risk. deb http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse ## MAJOR BUG FIX UPDATES produced after the final release deb http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse ## UBUNTU SECURITY UPDATES deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse ## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.) deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse ## Medibuntu - Ubuntu 6.10 "edgy eft" ## Please report any bug on https://launchpad.net/products/medibuntu/+bugs deb http://medibuntu.sos-sts.com/repo/ edgy free non-free deb-src http://medibuntu.sos-sts.com/repo/ edgy free non-free ## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu ## servers. RealPlayer10, Opera and more to come.) deb http://archive.canonical.com/ubuntu dapper-commercial main ## Listen deb http://theli.free.fr/packages/ dapper listen
Repositórios Portugueses
## Add comments (##) in front of any line to remove it from being checked. ## Use the following sources.list at your own risk. deb http://pt.archive.ubuntu.com/ubuntu edgy main restricted universe multiverse deb-src http://pt.archive.ubuntu.com/ubuntu edgy main restricted universe multiverse ## MAJOR BUG FIX UPDATES produced after the final release deb http://pt.archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse deb-src http://pt.archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse ## UBUNTU SECURITY UPDATES deb http://pt.archive.ubuntu.com/ubuntu edgy-security main restricted universe multiverse deb-src http://pt.archive.ubuntu.com/ubuntu edgy-security main restricted universe multiverse ## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.) deb http://pt.archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse deb-src http://pt.archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse ## Proposed Repository ( Repositório com pacotes propostos para o Ubuntu pela comunidade ) ## Descomentar se quiser usar deb http://pt.archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse deb-src http://pt.archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse ## Medibuntu - Ubuntu 6.10 "edgy eft" - Internacionais mas recomendados ## Please report any bug on https://launchpad.net/products/medibuntu/+bugs deb http://medibuntu.sos-sts.com/repo/ edgy free non-free deb-src http://medibuntu.sos-sts.com/repo/ edgy free non-free
- Grave o ficheiro editado
- Adicionar chave do Repositório Mediabuntu
wget -q http://medibuntu.sos-sts.com/repo/medibuntu-key.gpg -O- | sudo apt-key add -
- Actualizar lista.
sudo apt-get update
- Voçê pode também gerar a sua própria sources.list e descobrir outros repositórios em: http://www.ubuntulinux.nl/source-o-matic
- Voçê pode também substituir a sua sources.list com esta lista completa: sources.list (tenha a certeza que substitui o "it" de "it.archive.ubuntu.com" com o código do seu país. Use ao seu próprio risco.
- Apenas modifique a sources.list que vem por omissão no Ubuntu, se perceber o que está a fazer. Misturar repositórios pode causar problemas.
Updates Ubuntu
Como actualizar manualmente o Ubuntu
sudo apt-get update sudo apt-get upgrade
ou
Usar Update Manager: Sistema -> Administração -> Update Manager
Adicionar Aplicações
Como usar o Easy Ubuntu
- Ler #Notas Gerais
- Easy Ubuntu é uma pequena aplicação e simples que permite aos novos utilizadores instalar facilmente uma grande variadade de aplicações para Ubuntu, como codecs, fonts, Macromedia Flash e Sun Java.
<wg3t></wg3t>http://easyubuntu.freecontrib.org/files/easyubuntu-3.1.tar.gz tar -zxf easyubuntu-3.1.tar.gz cd easyubuntu sudo python easyubuntu.in
- Da janela do Easy Ubuntu, escolha as opções apropriadas para instalar pacotes no Ubuntu.
Como instalar Automatix no Ubuntu, Kubuntu, e Xubuntu
- Ler #Notas Gerais
- Automatix é uma interface gráfica para automatizar a instalação das aplicações mais comuns no Ubuntu/Kubuntu/Xubuntu Gnu/linux.
- Nota: Antes de instalar, note que alguns codecs disponibilizados podem ser proibidos em alguns paises. É da sua responsabilidade ver se as leis não são quebradas.
- Para mais informações ver o site : http://www.getautomatix.com/
- Usando o editor de texto preferido (kwrite, gedit)
sudo gedit /etc/apt/sources.list
- Se usa Kubuntu ou Xubuntu Edgy, é necessário ter lista dos repositórios completa como está referido mais acima neste guia.
- Adicione a linha seguite:
deb http://www.getautomatix.com/apt edgy main
- Grave o ficheiro e feche
- Adicionar as chaves GPG
<wg3t></wg3t>http://www.getautomatix.com/apt/key.gpg.asc gpg --import key.gpg.asc gpg --export --armor 521A9C7C | sudo apt-key add -
- Execute os seguintes comandos para instalar o Automatix
sudo apt-get update sudo apt-get install automatix2
- Automatix pode ser iniciado pela linha de comandos:
automatix2
- Ou pelo Menu:
Menu -> System -> Automatix-Kubuntu
Como instalar J2SE Runtime Environment (JRE) com Plug-in para o Mozilla Firefox
sudo apt-get install sun-java5-jre sun-java5-plugin
- Quando questionado, concorde com os termos de licença DLJ.
- Para configurar o J2SE como JVM por omissão (necessário para programas como Frostwire, RSSOwl e como plugin para o Mozilla Firefox):
sudo update-alternatives --config java
Escolha então a opção que corresponde ao J2SE (normalmente a 3ª opção).
Como instalar JRE v5.0 Update 9
- Aceder a http://java.sun.com/javase/downloads/index.jsp
- Escolha "Java Runtime Environment (JRE) 5.0 Update 9" e carregue em "Download"
- Aceite os termos da licença
- Faça download do "Linux self-extracting file"
- Instalar os pacotes necessários:
sudo apt-get install java-package
- Criar o pacote para Ubuntu:
fakeroot make-jpkg jre-1_5_0_09-linux-i586.bin
- Instalar o pacote criado:
sudo dpkg -i sun-j2re1.5_1.5.0+update09_i386.deb
- Reiniciar o Mozilla Firefox
- Se se deparar com um erro, tente mudar o 09 no nome do ficheiro para o número da versão apropriada.
Como instalar Java Development Kit (JDK) v5.0
sudo apt-get install sun-java5-jdk
- Aceite os termos de licença que aparecem.
- Meta o Sun's JVM como versão Java por omissão:
sudo update-java-alternatives -s java-1.5.0-sun
- Edite o /etc/jvm e mova /usr/lib/jvm/java-1.5.0-sun para o topo da lista de JVMs:
gksudo gedit /etc/jvm
Como instalar Flash Player (Macromedia Flash) Plug-in para o Mozilla Firefox
sudo apt-get install flashplugin-nonfree sudo update-flashplugin
- Reiniciar o Mozilla Firefox
Nota: Se o som não funcionar no Flash Player (por exemplo no YouTube):
sudo apt-get install alsa-oss gksudo gedit /etc/firefox/firefoxrc
Mudar:
FIREFOX_DSP=""
Para:
FIREFOX_DSP="aoss"
- Reiniciar o Mozilla Firefox. Agora o som deve funcionar no Flash Player.
Como actualizar para o Flash Player 9 Beta (Macromedia Flash) Plug-in para o Mozilla Firefox
<wg3t></wg3t>http://download.macromedia.com/pub/labs/flashplayer9_update/FP9_plugin_beta_101806.tar.gz
tar xvzf FP9_plugin_beta_101806.tar.gz sudo cp flash-player-plugin-9.0.21.55/libflashplayer.so /usr/lib/flashplugin-nonfree/
- Reiniciar o Mozilla Firefox
Como instalar PDF Reader (Adobe Reader) com plug-in para o Mozilla Firefox
sudo apt-get install acroread mozilla-acroread acroread-plugins
- Applications -> Office -> Adobe Reader
- Reiniciar o Mozilla Firefox
Nota: O Adobe Lerer 7.0 não corre se o SCIM estiver a correr. Voçê está a correr o SCIM se tiver instalado outra língua para Ubuntu via System -> Administration -> Language Support. Para circunscrever, faça o seguinte:
gksudo gedit /usr/bin/acroLer
Altere:
#!/bin/sh #
para:
#!/bin/sh # GTK_IM_MODULE=xim
Salve o ficheiro. Agora o Adobe Lerer 7.0 deve funcionar.
Ver também:
- #Como associate Adobe Lerer with files in Nautilus
- #Como print from Adobe Lerer
- #Como pull apart and combine pdf files
Como instalar Download Manager (Downloader for X)
sudo apt-get install d4x
- Applications -> Internet -> Downloader for X
Como instalar um Gestor de Passwords (Revelation)
sudo apt-get install revelation
- Applications -> Accessories -> Revelation Password Manager
Como instalar um Cliente de FTP(gFTP)
sudo apt-get install gftp
- Applications -> Internet -> gFTP
Como instalar IRC Client (XChat)
sudo apt-get install xchat xchat-systray
- Applications -> Internet -> XChat IRC
Como instalar File share utility (LinuxDC++)
- Ler #Notas Gerais
<wg3t>-c http://easylinux.info/uploads/linuxdcpp.tar.gz</wg3t> sudo tar zxvf linuxdcpp.tar.gz -C /opt gksudo gedit /usr/share/applications/linuxdcpp.desktop
- Insira as linhas seguintes no novo ficheiro
[Desktop Entry] Encoding=UTF-8 Name=LinuxDC++ Exec=linuxdcpp Terminal=false Type=Application StartupNotify=true Icon=/opt/linuxdcpp/pixmaps/linuxdcpp.png Categories=Application;Network;
- Grave o ficheiro editado
- Applications -> Internet -> LinuxDC++
- Se querer compilar a última versão CVS use teste guia
Como instalar P2P BitTorrent Client (Azureus)
- Ler #Notas Gerais
sudo apt-get install azureus
- Applications -> Internet -> Azureus
- (Método alternativo) Este método instala o Azureus compilado com o gcj , a alternativa livre ao Java.
- Ler #Notas Gerais
- Ler #Como adicionar repositórios extra
- Ler #Como instalar J2SE Runtime Environment (JRE) com plug-in para o Mozilla Firefox
<wg3t></wg3t>http://kent.dl.sourceforge.net/sourceforge/azureus/Azureus_2.5.0.0_linux.tar.bz2
sudo tar jxvf Azureus_2.5.0.0_linux.tar.bz2 -C /opt/ sudo gedit /usr/share/applications/azureus.desktop
- Adicione o seguinte ao novo ficheiro
[Desktop Entry] Name=Azureus Comment=Java BitTorrent Client Exec=/opt/azureus/azureus Icon=/opt/azureus/Azureus.png Terminal=false Type=Application Categories=Application;Network;
- Grave o ficheiro editado
- Applications -> Internet -> Azureus
Como instalar P2P BitTorrent Client (Bittornado)
sudo apt-get install bittornado bittornado-gui
- Applications -> Internet -> Bittornado Client
Como instalar P2P eMule Client (aMule)
sudo apt-get install amule
- Applications -> Internet -> aMule
Como instalar P2P Gnutella Client (FrostWire)
- Ler #Notas Gerais
- Ler #Como instalar J2SE Runtime Environment (JRE) com plug-in para o Mozilla Firefox
<wg3t></wg3t> -c http://www.users.on.net/~stubby/FrostWire-4.10.9-2.i586.deb sudo dpkg -i FrostWire-4.10.9-2.i586.deb
- Applications -> Internet -> FrostWire
Como instalar um Messenger (aMsn)
- Ler #Notas Gerais
sudo apt-get install amsn
- Applications -> Internet -> aMsn
Como instalar o Skype
- Ler #Notas Gerais
gksudo gedit /etc/apt/sources.list
- Adicione as linhas seguintes ao final do ficheiro
## Repository for Skype deb http://download.skype.com/linux/repos/debian/ stable non-free
- Grave o ficheiro editado
sudo apt-get update sudo apt-get install skype
- Applications -> Internet -> Skype
- Para o Skype 1.3 Beta:
<wg3t></wg3t> -c http://www.skype.com/go/getskype-linux-beta-deb sudo dpkg -i skype-beta-1.3.*i386.deb sudo apt-get -f install
- Applications -> Internet -> Skype
Como instalar WinPopup (LinPopUp)
- Ler #Notas Gerais
- Ler #Como adicionar repositórios extra
- Ler #Como instalar Samba Server for files/folders sharing service
sudo apt-get install linpopup gksudo gedit /usr/share/applications/linpopup.desktop
- Insira as linhas seguintes no novo ficheiro
[Desktop Entry] Name=LinPopUp Comment=LinPopUp Exec=linpopup Icon=/usr/share/pixmaps/linpopup.xpm Terminal=false Type=Application Categories=Application;Utility;
- Grave o ficheiro editado
- Applications -> Accessories -> LinPopUp
Como instalar codecs Multimédia
sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-gl gstreamer0.10-plugins-base \ gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse \ gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse w32codecs
Como instalar a capacidade de reproduzir DVDs
sudo apt-get install libdvdLer3 sudo /usr/share/doc/libdvdLer3/install-css.sh sudo apt-get install totem-xine
sudo apt-get install libdvdcss2
Como instalar Leitor Multimédia (xine-ui)
- Ler #Notas Gerais
- Ler #Como adicionar repositórios extra
- Ler #Como instalar Multimedia Codecs
- Ler #Como instalar DVD playback capability
sudo apt-get install xine-ui libxine-extracodecs
- Applications -> Sound & Video -> xine
Como instalar um Leitor Multimédia (VLC) com plug-in para o Mozilla Firefox
sudo apt-get install vlc vlc-plugin-* mozilla-plugin-vlc
- Inorder to stream video via vlc, you also need to install the following packages.
apt-get install avahi-daemon apt-get install avahi-utils
- Applications -> Sound and Video -> VLC Media Player
Como instalar Leitor Multimédia (Mplayer) com plug-in para o Mozilla Firefox
sudo apt-get install mozilla-mplayer
- Applications -> Sound and Video -> MPlayer Movie Player
Como instalar Leitor Multimédia (Totem) com plug-in para o Mozilla Firefox
- Ler #Notas Gerais
- Ler #Como adicionar repositórios extra
- Ler #Como instalar Multimedia Codecs
- Ler #Como instalar DVD playback capability
sudo apt-get install totem-gstreamer-firefox-plugin
- Reiniciar Mozilla Firefox
Como instalar Leitor Multimédia audio XMMS
sudo apt-get install xmms xmms-skins <wg3t></wg3t> -c http://easylinux.info/uploads/xmms-wma_1.0.4-2_i386.deb sudo dpkg -i xmms-wma_1.0.4-2_i386.deb
- Applications -> Sound & Video -> XMMS
Como instalar Leitor Multimédia audio amaroK
sudo apt-get install amarok
- Applications -> Sound & Video -> amaroK
Como instalar Leitor Multimédia RealPlayer 10
sudo apt-get install realplay
- Nota: 'realplay' instala o RealPlayer 10 do repositório PLF, which you should be enabled if you followed this guide. 'realplayer' instala o RealPlayer 8 do repositório multiverse.
- Applications -> Som & Video -> RealPlayer 10
- Isto instalará também todos os plugins necessários for it to view embedded real videos in Firefox
- To avoid issues of flickering or screen going blank when switching windows, goto
- RealPlayer 10 -> Tools -> Preferences -> Hardware -> Uncheck XVideo
Fonte Alternativa
- Download da Versão Oficial do Realplayer para Linux
- Add execute permissions ao instalador
- Run and install
Como instalar Stream Directory Browser (streamtuner)
sudo apt-get install streamtuner sudo apt-get install streamripper
- Applications -> Som & Video -> streamtuner
Como instalar Music Organizer (Cowbell)
sudo apt-get install cowbell
- Applications -> Sound & Video -> Cowbell Music Organizer
Como instalar ID3 Tag Editor (EasyTAG)
sudo apt-get install easytag
- Applications -> Sound & Video -> EasyTAG
Como instalar Editor de Video(Kino)
sudo apt-get install kino sudo apt-get install kinoplus sudo apt-get install kino-timfx sudo apt-get install kino-dvtitler
- Applications -> Sound & Video -> Kino Video Editor
Como instalar Editor de Audio(Audacity)
sudo apt-get install audacity
- Applications -> Sound & Video -> Audacity
Como instalar Gestor de Musicas e Player (Banshee)
sudo apt-get install banshee
Como instalar DVD Ripper (dvd::rip)
- Ler #Notas Gerais
- Ler #Como adicionar repositórios extra
- Ler #Como instalar Multimedia Codecs
- Ler #Como instalar DVD playback capability
- Ler #Como instalar Leitor Multimedia (Totem) com plug-in para o Mozilla Firefox
- Ler #Como instalar RAR Archiver (rar)
sudo apt-get install dvdrip vcdimager cdrdao subtitleripper sudo ln -fs /usr/bin/rar /usr/bin/rar-2.80 gksudo gedit /usr/share/applications/dvdrip.desktop
- Insira as linhas seguintes no novo ficheiro
[Desktop Entry] Name=dvd::rip Comment=dvd::rip Exec=dvdrip Icon=/usr/share/perl5/Video/DVDRip/icon.xpm Terminal=false Type=Application Categories=Application;AudioVideo;
- Grave o ficheiro editado
- Applications -> Sound & Video -> dvd::rip
Como instalar DVD Ripper (AcidRip)
- Ler #Notas Gerais
- Ler #Como adicionar repositórios extra
- Ler #Como instalar Leitor Multimedia (Mplayer) com plug-in para o Mozilla Firefox
sudo apt-get install acidrip
Nota: O AcidRip não reconhecerá o dvd se o dma estiver activo. If so undo the process #Como speed up CD/DVD-ROM.
Como instalar CD Ripper (Goobox)
sudo apt-get install goobox sudo rm -f /usr/share/applications/goobox.desktop gksudo gedit /usr/share/applications/goobox.desktop
- Insira as linhas seguintes no novo ficheiro
[Desktop Entry] Name=CD Player & Ripper Comment=Play and extract CDs Exec=goobox Icon=goobox.png Terminal=false Type=Application Categories=Application;AudioVideo;
- Grave o ficheiro editado
- Applications -> Sound & Video -> CD Player & Ripper
Como instalar Image Viewer (digiKam)
sudo apt-get install digikam digikamimageplugins kipi-plugins
- Applications -> Graphics -> digikam
Como instalar organizador de imagens Picasa
- Ler #Notas Gerais
gksudo gedit /etc/apt/sources.list
- Adicione as linhas seguintes ao final do ficheiro
# Google Picasa for Linux repository deb http://dl.google.com/linux/deb/ stable non-free
- Grave o ficheiro editado
sudo apt-get update sudo apt-get install picasa
- Applications -> Graphics -> Picasa
Como instalar Internet TV (DemocracyTV beta)
<wg3t></wg3t> http://ftp.osuosl.org/pub/pculture.org/democracy/linux/ubuntu/democracyplayer-data_0.9.0-1ubuntupcf_all.deb <wg3t></wg3t> http://ftp.osuosl.org/pub/pculture.org/democracy/linux/ubuntu/democracyplayer_0.9.0-1ubuntupcf_i386.deb sudo apt-get upgrade sudo dpkg -i democracyplayer-data_0.9.0-1ubuntupcf_all.deb sudo apt-get install mozilla-browser mozilla-psm mozilla-dev sudo dpkg -i democracyplayer_0.9.0-1ubuntupcf_i386.deb
you might also need to install dependencies of the player package if dpkg returns a dependency error.
sudo apt-get -f install
to get support for more formats you have to install libxine-extracodecs (check Restricted Formats for more info)
sudo apt-get install libxine-extracodecs
or use an alternate procedure: double click (or right click and select "Open with gdebi") on the deb files so they are opened with gdebi, first democracyplayer-data_0.8.4.1-1_all.deb and after that democracyplayer_0.8.4.1-1_i386.deb
- Applications -> Sound & Video -> Democracy TV
Como instalar Editor de Gráficos Vectorial (Inkscape)
sudo apt-get install inkscape
Segundo método de instalação:
1. Download the official Inkscape Linux installer. 2. Choose a mirror and save it to your Desktop. 3. Right-click it, enable "Properties --> Permissions --> Owner:Execute" and close the dialogue box. (One-time procedure) 4. Double-click it and follow the instructions. 5. Install the support code system-wide, if you have the root password. (One-time procedure)
NOTE: You can and should install the program as a User, rather than Root. This is easily accomplished with the second method.
Como instalar Opera web browser
sudo apt-get install opera
- Applications -> Internet -> Opera
- To get java working go to Tools->Preferences->Advanced->Content-> Check "Enable Java". Click the "Enable Java..." button enter "/usr/lib/jvm/java-1.5.0-sun/jre/lib/i386" (for sun java) in the new dialog and then click the "Validate Java Path" button.
Como instalar Cliente de Email (Mozilla Thunderbird)
sudo apt-get install mozilla-thunderbird
- Applications -> Internet -> Thunderbird Mail Client
Como instalar NewsLerer (Pan)
- Ler #Notas Gerais
sudo apt-get install pan
- Applications -> Internet -> Pan NewsLerer
Como instalar RSS/RDF/Atom NewsLerer (RSSOwl)
- Ler #Notas Gerais
- Ler #Como instalar J2SE Runtime Environment (JRE) com plug-in para o Mozilla Firefox
<wg3t></wg3t> -c http://easylinux.info/uploads/rssowl_linux_1_1_3_bin.tar.gz sudo tar zxvf rssowl_linux_1_1_3_bin.tar.gz -C /opt/ sudo chown -R root:root /opt/rssowl_linux_1_1_3_bin/ gksudo gedit /usr/bin/runRSSOwl.sh
- Insira as linhas seguintes no novo ficheiro
export MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${MOZILLA_FIVE_HOME}:${LD_LIBRARY_PATH}
cd /opt/rssowl_linux_1_1_3_bin/
./run.sh
- Grave o ficheiro editado
sudo chmod +x /usr/bin/runRSSOwl.sh gksudo gedit /usr/share/applications/RSSOwl.desktop
- Insira as linhas seguintes no novo ficheiro
[Desktop Entry] Name=RSSOwl Comment=RSSOwl Exec=runRSSOwl.sh Icon=/opt/rssowl_linux_1_1_3_bin/rssowl.xpm Terminal=false Type=Application Categories=Application;Network;
- Grave o ficheiro editado
- Applications -> Internet -> RSSOwl
Como instalar Web Authoring System (Nvu)
sudo apt-get install nvu sudo rm -f /usr/share/applications/nvu.desktop gksudo gedit /usr/share/applications/nvu.desktop
- Insira as linhas seguintes no novo ficheiro
[Desktop Entry] Name=Nvu Comment=Web Development Editor Exec=nvu Icon=nvu.xpm Terminal=false Type=Application Categories=Application;Development;
- Grave o ficheiro editado
- Applications -> Internet -> Nvu
Como instalar Web Development Environment (quanta plus)
sudo apt-get install quanta
- Applications -> Programming -> Quanta Plus
Como instalar Project Management Application (Planner)
sudo apt-get install planner
- Applications -> Office -> Project Management
Como instalar jedit
- Ler #Notas Gerais
- Ler #Como adicionar repositórios extra
- Ler #Como instalar J2SE Runtime Environment (JRE) com plug-in para o Mozilla Firefox
<wg3t></wg3t> -c http://optusnet.dl.sourceforge.net/sourceforge/jedit/jedit_4.3pre6_all.deb sudo dpkg -i jedit_4.3pre6_all.deb
- Applications -> Programming -> Programmers text editor jedit
- Note: Install jedit on Dapper Drake might cause broken package which leads to Synaptic Package Manager fails to function. To remove see #Como remove jedit when Synaptic package manager fails after install.
Como instalar Accounting Application (GnuCash)
sudo apt-get install gnucash sudo rm -fr /usr/share/gnome/apps/Applications/ gksudo gedit /usr/share/applications/GnuCash.desktop
- Insira as linhas seguintes no novo ficheiro
[Desktop Entry] Name=GnuCash Comment=GnuCash Personal Finance Exec=gnucash Icon=/usr/share/pixmaps/gnucash/gnucash-icon.png Terminal=false Type=Application Categories=Application;Office;
- Grave o ficheiro editado
- Applications -> Office -> GnuCash
Como instalar Desktop Publishing Application (Scribus)
sudo apt-get install scribus
- Applications -> Office -> Scribus
Como instalar Diagram Editor (Dia)
sudo apt-get install dia-gnome
- Applications -> Graphics -> Dia
Como instalar Compiled HTML Help (CHM) Viewer (xCHM)
sudo apt-get install xchm
- Applications -> Graphics -> xCHM
Como instalar aplicação para gravação CD/DVD (GnomeBaker)
sudo apt-get install gnomebaker
- Applications -> Sound & Video -> GnomeBaker
Como instalar aplicação para gravação CD/DVD (K3b)
sudo apt-get install k3b libk3b2-mp3
- Applications -> Sound & Video -> K3b
Como instalar Dialup PPP Client (GNOME PPP)
sudo apt-get install gnome-ppp
- Applications -> Internet -> GNOME PPP
Como instalar Broadband ADSL/PPPoE Client (RP-PPPoE)
<wg3t></wg3t> -c http://easylinux.info/uploads/rp-pppoe-3.6.tar.gz sudo tar zxvf rp-pppoe-3.6.tar.gz -C /opt/ sudo chown -R root:root /opt/rp-pppoe-3.6/ gksudo gedit /usr/share/applications/RP-PPPoE.desktop
- Insira as linhas seguintes no novo ficheiro
[Desktop Entry] Name=RP-PPPoE Comment=RP-PPPoE Exec=gksudo /opt/rp-pppoe-3.6/go-gui Icon=pppoeconf.xpm Terminal=false Type=Application Categories=Application;Network;
- Grave o ficheiro editado
- Applications -> Internet -> RP-PPPoE
Como instalar Gestor para o Boot-Up (BUM)
sudo apt-get install bum
- System -> Administration -> Boot-Up Manager
Como instalar editor de partições (GParted)
sudo apt-get install gparted
- Applications -> System Tools -> GParted
Como instalar uma Firewall (Firestarter)
sudo apt-get install firestarter
- Applications -> System Tools -> Firestarter
Como instalar um programa de análise de tráfego na rede (Ethereal)
sudo apt-get install ethereal
- Applications -> Internet -> Ethereal
Como instalar scanner de vulnerabilidades (Nessus)
sudo apt-get install nessus sudo apt-get install nessusd sudo nessus-adduser sudo ln -fs /etc/init.d/nessusd /etc/rc2.d/S20nessusd sudo /etc/init.d/nessusd start gksudo gedit /usr/share/applications/Nessus.desktop
- Insira as linhas seguintes no novo ficheiro
[Desktop Entry] Name=Nessus Comment=Nessus Exec=nessus Icon=/usr/share/pixmaps/nessus.xpm Terminal=false Type=Application Categories=Application;System;
- Grave o ficheiro editado
- Applications -> System Tools -> Nessus
Como instalar Arquivador RAR (rar)
sudo apt-get install rar sudo ln -fs /usr/bin/rar /usr/bin/unrar
- Applications -> Accessories -> Archive Manager
Como instalar Extra Fonts
sudo apt-get install xfonts-intl-arabic sudo apt-get install xfonts-intl-asian sudo apt-get install xfonts-intl-chinese sudo apt-get install xfonts-intl-chinese-big sudo apt-get install xfonts-intl-european sudo apt-get install xfonts-intl-japanese sudo apt-get install xfonts-intl-japanese-big sudo apt-get install xfonts-intl-phonetic sudo apt-get install gsfonts-x11 sudo apt-get install msttcorefonts sudo fc-cache -f -v
- Note: Ubuntu Dapper comes with the DejaVu fonts (derived from Bitstream Vera) and provides adequate support for Latin, Greek and Cyrillic based languages.
Como instalar Chinese Input Method (SCIM)
The following advices are outdated and it could be hard to revert to normal afterwards. Please follow instead the official Ubuntu 6.06 Dapper Drake guide HERE
Please note that scim is now installed by default in Dapper, and installing Chinese, Japanese or Korean Support is done using System>Administration>Language Support. The wiki details the method more thoroughly
sudo apt-get install scim sudo apt-get install scim-chinese sudo apt-get install scim-config-socket sudo apt-get install scim-gtk2-immodule sudo apt-get install scim-tables-zh <wg3t></wg3t> -c http://easylinux.info/uploads/fireflysung-1.3.0.tar.gz sudo tar zxvf fireflysung-1.3.0.tar.gz -C /usr/share/fonts/truetype/ sudo chown -R root:root /usr/share/fonts/truetype/fireflysung-1.3.0/ sudo fc-cache -f -v
- System -> Preferences -> SCIM Input Method Setup
- To activate SCIM
Press 'Ctrl + Space'
Como instalar Desktop Applets (gDesklets)
sudo apt-get install gdesklets gdesklets-data
- Applications -> Accessories -> gDesklets
- Para mais informação, visitar: http://www.gdesklets.org/
Como instalar Compiladores Básicos (build-essential)
sudo apt-get install build-essential
Como instalar conversor de .rpm para .deb (Alien)
sudo apt-get install alien
Como instalar Integrated Development Environment (Anjuta)
sudo apt-get install anjuta
- Applications -> Programming -> Anjuta IDE
Como instalar C# Integrated Development Environment (MonoDevelop)
sudo apt-get install mono mono-gmcs mono-gac mono-utils monodevelop
Como instalar Java Integrated Development Environment (Eclipse)
sudo apt-get install eclipse
- Applications -> Development -> Eclipse
Como instalar 3D modeling tool (Blender 3d)
sudo apt-get install blender
- Applications -> Graphics -> Blender 3D modeller
Como instalar jogo Tuxracer
sudo apt-get install planetpenguin-racer planetpenguin-racer-data planetpenguin-racer-extras
- Applications -> jogos -> planetpenguin-racer
Como instalar jogo Frozen-Bubble
sudo apt-get install frozen-bubble
- Applications -> jogos -> Frozen-Bubble
Como instalar jogo Scorched3D
sudo apt-get install scorched3d gksudo gedit /usr/share/applications/scorched3d.desktop
- Insira as linhas seguintes no novo ficheiro
[Desktop Entry] Name=Scorched 3D Comment=A 3D Remake Of Scorched Earth Exec=scorched3d Icon= Terminal=false Type=Application Categories=Application;jogo;Arcadejogo;
- Grave o ficheiro editado
- Applications -> jogos -> Scorched 3D
Como instalar real-time-strategy jogo (globulation 2 alpha21)
<wg3t></wg3t> http://globulation2.org/releases/0.8.21/glob2_alpha21_i386.deb sudo dpkg -i glob2_alpha21_i386.deb
Pode ser preciso instalar dependencias se o dpkg devolver uma mensagem de erro de dependencias.
sudo apt-get -f install
para jogar correr o comando
glob2
Como instalar virtual planetarium (Stellarium)
sudo apt-get install stellarium gksudo gedit /usr/share/applications/stellarium.desktop
- Insira as linhas seguintes no novo ficheiro
[Desktop Entry] Name=Stellarium Comment=Virtual planetarium Exec=stellarium Terminal=false Type=Application Categories=Application;Education; Icon=stellarium
- Applications -> Education -> Stellarium
Segundo método de instalação: (version 0.6.2)
1. Download the Stellarium Linux installer. 2. Save it to your Desktop. 3. Right-click it, enable "Properties --> Permissions --> Owner:Execute" and close the dialogue box. (One-time procedure) 4. Double-click it and follow the instructions. 5. Install the support code system-wide, if you have the root password. (One-time procedure)
Nota: You can and should install the program as a User, rather than Root. This is easily accomplished with the second method.
Como instalar Google Toolbar para Firefox
No Firefox, carregar no seguinte link
http://www.google.com/tools/firefox/toolbar/
e carregar no botão de Download
Como instalar Google Earth
- Ler #Notas Gerais
<wg3t></wg3t> -c http://dl.google.com/earth/GE4/GoogleEarthLinux.bin sudo sh GoogleEarthLinux.bin
- Deixe /usr/local/google-earth como caminho de instalação.
- Depois da instalação clique Exit. If you instead chose to run the application, Ler the Note below.
sudo cp /usr/local/google-earth/googleearth.desktop /usr/share/applications/
- Applications -> Internet -> Google Earth
- Nota: Se voçê correr o Google Earth pela primeira vez a partir do instalador, irá precisar de privilégios root para o correr da próxima vez. Para resolver isto, faça:
sudo chmod 777 -R ~/.googleearth
Como instalar KDE Edutainment applications
sudo apt-get install kdeedu
- Applications -> Education -> ...
Como instalar Internet Explorer + Flash 9
- Ler #Notas Gerais
- Ler #Como adicionar repositórios extra
- Ler #Como instalar Windows_Applications in Linux (Wine)
This will install a wine'd version of Internet Explorer 6 with Flash 9, as well as IE 5.5/5.01 if you really want them.
- Note: Flash 9 will NOT be available in browsers other than IE.
- Install Cabextract. Open a terminal and run
sudo apt-get install cabextract
- Open a terminal and run this:
<wg3t></wg3t> http://www.tatanka.com.br/ies4linux/downloads/ies4linux-2.0.tar.gz -O - | tar xvzf -
- Or, if that doesn't work, use this command:
<wg3t></wg3t> http://modzer0.cs.uaf.edu/~hardwarehank/files/ies4linux-2.0.tar.gz -O - | tar xvzf -
- Then, just run it:
cd ies4linux-2.0 sh ies4linux
You don't have to run it as root (no sudo). If you do, it will make global symlinks, which is fine if you want that. Otherwise, it will use ~/bin. Ler the LerME:
less LerME
Como instalar Windows Applications in Linux (Wine)
Wine Is Not an Emulator. Wine is an Open Source implementation of the Windows API on top of X and Unix. Think of Wine as a compatibility layer for running Windows programs. Wine does not require Microsoft Windows, as it is a completely free alternative implementation of the Windows API consisting of 100% non-Microsoft code, however Wine can optionally use native Windows DLLs if they are available.
In other words, Wine will let you run Windows applications in Linux.
- First, add repository for Wine:
gksudo gedit /etc/apt/sources.list
- Add the following lines at the end of this file
# Repository for wine deb http://wine.budgetdedicated.com/apt dapper main deb-src http://wine.budgetdedicated.com/apt dapper main
- Grave o ficheiro editado
sudo apt-get update sudo apt-get install wine
- For more info see http://www.winehq.com/
Como instalar a Drop Down Terminal like in First Person Shooters (tilda)
- Ler #Notas Gerais
Do you want a console like in a first person shooter? Tilda should take care of you.
sudo apt-get install tilda
- The default keybinding is F1. To change the default keybinding, either enter tilda -C at the terminal, or right click on the tilda terminal then click Preferences. While in preferences, you can change other things such as transparency, font, size, and window size.
Outros ambientes gráficos
Como instalar KDE
- Ler #Notas Gerais
- Ler #Como adicionar repositórios extra
- Pode também espreitar alguns KDE Screenshots
sudo apt-get install kubuntu-desktop
- Nota: A instalação irá necessitar de aproximadamente 400MB de espaço livre no disco
- System -> Log Out -> Log Out
- To log in to KDE click on Sessions and choose KDE
Como instalar XFCE
- Ler #Notas Gerais
- Ler #Como adicionar repositórios extra
- Pode também espreitar alguns XFCE Screenshots
sudo apt-get install xubuntu-desktop
- System -> Log Out -> Log Out
- To log in to XFCE click on Sessions and choose XFCE
Como instalar XFCE 4.4 preview versions (4.3.90.1)
- para instalar Xfce 4.4 beta 1 (4.3.90.1) numa instalação do Dapper:
- download the Xfce 4.4 preview versions installer (see http://www.xfce.org)
sudo apt-get install build-essential gcc pkg-config libglib2.0-0 \
libglib2.0-dev libgtk2.0-0 libgtk2.0-dev libxml++2.6c2a libxml++2.6-dev \
libvte-dev libvte4 a2ps libxpm-dev libxpm4 alsa-source alsa alsa-base \
alsa-oss alsa-utils libxml-parser-perl libpng12-0 libpng12-dev libdbh1.0-dev
chmod +x xfce4-4.3.90.1-installer.bin sudo ./xfce4-4.3.90.1-installer.bin
- on installer, use default setting, except:
- Extensive Optimizations, can be truned on for 386
- Use ALSA for the Xfce Mixer, can be turned off
- (see http://forums.debian.net/viewtopic.php?t=4697&)
- finally to enable Xfce, you may need to enable it on the desktop manager (mark allow Xfce manage desktop)
Como instalar FluxBox
Here's some Screenshots. Fluxbox is a popular minimalist Window Manager.
sudo apt-get install fluxbox
Iniciá-lo automaticamente ao logar no GDM
echo "exec startfluxbox" > ~/.xinitrc
Tocar um som bonito ao fazer login
sudo apt-get install sox gedit ~/.fluxbox/startup
- Procure esta linha:
exec /usr/local/bin/fluxbox
- Put this above it somewhere:
play /usr/share/sounds/login.wav > /dev/null 2>&1 &
- Listen happily.
Eye Candy
Como instalar Xgl/Compiz (Nvidia)
- For complete info on Como set up XGL on different cards and some tweaks see: http://ubuntuforums.org/showthread.php?t=148351
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup gksudo gedit /etc/X11/xorg.conf
- Procure esta secção
Section "Module" Load "i2c" Load "bitmap" ... Load "type1" Load "vbe" EndSection
- Comente o dri and GLcore (se presente)
# Load "dri" # Load "GLcore"
- Make sure the glx module is loaded
Load "glx"
- Procure esta secção (Os seus valores podem variar)
Section "Device" Identifier "NVIDIA Corporation NV34M [GeForce FX Go5200]" Driver "nv" BusID "PCI:1:0:0" EndSection
- Substitua pela linha seguintes, leaving the Identifier and BusID as it is
Section "Device" ... Driver "nvidia" ... Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" EndSection
- Procure esta secção
Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NV34M [GeForce FX Go5200]" Monitor "Generic Monitor" DefaultDepth 16
- Make sure DefaultDepth is set to 24, if it isn't already
DefaultDepth 24
- Grave o ficheiro editado
- Instalar Xgl/Compiz
sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 compiz-gnome sudo cp /etc/gdm/gdm.conf-custom /etc/gdm/gdm.conf-custom-backup gksudo gedit /etc/gdm/gdm.conf-custom
- Replace everything with the following lines
# GDM Configuration Customization file. # # This file is the appropriate place for specifying your customizations to the # GDM configuration. If you run gdmsetup, it will automatically edit this # file for you and will cause the daemon and any running GDM GUI programs to # automatically update with the new configuration. Not all configuration # options are supported by gdmsetup, so to modify some values it may be # necessary to modify this file directly by hand. # # To hand-edit this file, simply add or modify the key=value combination in # the appropriate section in the template below. Refer to the comments in the # gdm.conf file for information about each option. Also refer to the reference # documentation. # # If you hand edit a GDM configuration file, you should run the following # command to get the GDM daemon to notice the change. Any running GDM GUI # programs will also be notified to update with the new configuration. # # gdmflexiserver --command="UPDATE_CONFIG <configuration key>" # # For example, the "Enable" key in the "[debug]" section would be specified by # "debug/Enable". # # You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and # re-read the new configuration settings. You can also restart GDM by sending # a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes # any user session started by GDM to exit immediately while USR1 behaves like # gdm-safe-restart and will wait until all users log out before restarting GDM. # # For full reference documentation see the gnome help browser under # GNOME|System category. You can also find the docs in HTML form on # http://www.gnome.org/projects/gdm/ # # NOTE: Lines that begin with "#" are considered comments. # # Have fun! [daemon] [security] [xdmcp] [gui] [greeter] [chooser] [debug] [servers]# Override display 1 to use Xgl 0=Xgl [server-Xgl] name=Xgl server command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo flexible=true
- Create a script that runs Xgl/Compiz on startup
gksudo gedit /usr/bin/thefuture
- Insert the following lines into the new file. Replace .us with appropriate keyboard binding for your region. Eg .gb for United Kingdom. For a full list of keyboard bindings, type ls /usr/share/xmodmap in a terminal. If unsure, leave as .us (United States)
#!/bin/bash gnome-window-decorator & compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher & xmodmap /usr/share/xmodmap/xmodmap.us
- Save the file
sudo chmod 755 /usr/bin/thefuture
- To run compiz for this session
thefuture
- To have compiz load on startup
- System -> Preferences -> Sessions
- Startup Programs -> Add
/usr/bin/thefuture
- Click Ok, then Close
- Ler #Como restart GNOME without rebooting computer
- Troubleshooting
- If Xgl/Compiz doesn't seem to work, or you get errors, simply restart your machine after adding "thefuture" to Startup programs
- If moving windows slows down the system, run gconf-editor from the terminal. Find apps/compiz/general/screen0/options. Disable detect_refresh_rate and set refresh rate to 60. Everything should work fine now...
- If you are using a non default keyboard layout (other language), you might have to change it back to what you need if the keyboard acts funny at System/Settings/Keyboard.
- You can also set the Super-key to the windows button here.
- If you don't want "bottom expanded panel", type "killall gnome-panel" in terminal.
- Tips
- Switch windows = Alt + Tab
- Arrange and View All Windows = F12 turns on or off; clicking a window will zoom it to the front
- Switch desktops on cube = Ctrl + Alt + Left/Right Arrow
- Switch desktops on cube - with active window following = Ctrl + Shift + Alt + Left/Right Arrow
- Rotate cube manually = Ctrl + Alt + left-click
- Make window translucent/opaque = currently only possible with the "transset" utility
- Zoom-in once = Super-key right-click
- Zoom-in manually = Super-key + wheel mouse up
- Zoom-out manually = Super-key + wheel mouse down
- Move window = Alt + left-click
- Snap Move window (will stick to borders) = Ctrl + Alt + left-click
- Resize window = Alt + right-click
Como instalar Xgl/Beryl (ATI)
Como instalar Beryl/AIGLX (Nvidia)
(From Ubuntu Forums)
- Ler #Notas Gerais
Como instalar alternate boot splash screen
- Ler #Notas Gerais
- This installs a minimalistic splash screen that appears when the computer is booting up and shutting down. It is devoid of any text messages.
<wg3t></wg3t>-c http://www.users.on.net/~stubby/usplash-minimalistic_0.1.deb sudo dpkg -i usplash-minimalistic_0.1.deb sudo update-alternatives --config usplash-artwork.so
- Select the minimalistic alternative (/usr/local/lib/usplash/minimalastic.so) by entering the corresponding number. If you ever want to revert back to the original splash, select the default (/usr/lib/usplash/usplash-default.so)
- Restart your computer to see the effects
- See the official USplash Customization HOWTO for more customization.
Aplicações comerciais
Como instalar Windows 9X/ME/2000/XP (Win4Lin)
Como instalar Aplicações Windows (CrossOver Office)
Como instalar Windows jogos (Cedega)
Administração de utilizadores
Como definir/mudar/activar a password do utilizador root?
- Ler #Notas Gerais
sudo passwd root
Como desactivar a conta de root?
- Ler #Notas Gerais
sudo passwd -l root
Como autorizar o utilizador root a fazer login para o GNOME?
- Ler #Notas Gerais
- Ler #Como definir/mudar/activar a password do utilizador root?
- Sistema -> Administração -> Configuração de Ecrã de Início de Sessão
- Configuração de Ecrã de Início de Sessão
separador Segurança -> Segurança -> Possibilitar utilizador root iniciar sessão em GDM (Activo)
Como mudar para o utilizador root em modo Consola?
- Ler #Notas Gerais
sudo -s -H Password: <specify user password>
Como adicionar/editar/apagar utilizadores do sistema?
- Ler #Notas Gerais
- Sistema -> Administração -> Grupos e Utilizadores
- Grupos e Utilizadores
separador Users -> Adicionar User.../Propriadades/Apagar
- ou
sudo useradd jim sudo userdel jim
- Para mais informação ler
man usermod
Como adicionar/editar/apagar grupos de sistema?
- Ler #Notas Gerais
- Sistema -> Administração -> Grupos e Utilizadores
- Grupos e Utilizadores
separador Grupos -> Adicionar Grupo.../Propriadades/Apagar
Como iniciar a sessão automaticamente no GNOME (Inseguro)?
- Ler #Notas Gerais
- Sistema -> Administração -> Configuração do menu de login
- Configuração do menu de login
separador Geral -> login Automático -> Iniciar utilizador automaticamente quando inicia o computador (Activo) utilizador que liga automaticamente: Selecionar "utilizador_do_sistema"
Como permitir mais sudoers?
- Ler #Notas Gerais
export EDITOR=gedit && sudo visudo
- Adicione a seguinte linha no final do ficheiro:
system_username ALL=(ALL) ALL
- Grave o ficheiro editado
Como usar o "sudo" sem pedir a password (Inseguro)?
- Ler #Notas Gerais
export EDITOR=gedit && sudo visudo
- Encontra esta linha
... system_username ALL=(ALL) ALL ...
- Substitui pela seguinte linha:
system_username ALL=(ALL) NOPASSWD: ALL
- Guarde o ficheiro modificado
Como terminar explicitamente uma sessão de “sudo”?
- Ler #Notas Gerais
sudo -K
Como alterar as permissões de ficheiros ou pastas?
- Ler #Notas Gerais
Clique com o botão direito na pasta ou no ficheiro -> Propriedades
separador Permissões -> Ler/Escrever/Executar (Activa as permissões para Dono/Grupo/Outros)
Como alterar o dono de ficheiros/pastas?
- Ler #Notas Gerais
sudo chown utilizador_do_sistema /local/do/ficheiro/ou/da/pasta
Como alterar o grupo dono de ficheiros/pastas?
- Ler #Notas Gerais
sudo chgrp system_groupname /location_of_files_or_folders
Faltam secções
Adicionadas Brevemente
RemoteAccess
Windows
Security
BootMenu
Hardware
Activate side-mouse-buttons in FireFox
Just add two lines to xorg.conf will activate side-mouse-buttons in FireFox. This should work with most 5-button mouse. Here is a list of mice that worked with this instruction.
- Logitech MX510
- Logitech MX518
- Logitech MX700
- Intellimouse Explorer (first edition)
Backup Gnome configuration file
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
Modify the Gnome configuration file
gksudo gedit /etc/X11/xorg.conf
Find the Input Device section for your mouse and add two lines as shown below. You may also increase the number of buttons if your mouse has more than 7, just fix the rest of the section based upon the number of buttons (remember back/forward, wheel click & tilt left/right all count as buttons)
Change:
Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" ... Option "Protocol" "ExplorerPS/2" ... Option "Emulate3Buttons" "true" EndSection
to:
Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" ... Option "Protocol" "ExplorerPS/2" ... Option "Emulate3Buttons" "true" Option "Buttons" "7" Option "ButtonMapping" "1 2 3 6 7" EndSection
At this point you can reboot your computer or reboot Gnome (Ctrl-Alt-BackSpace) to see if your forward/back buttons work in FireFox. They still won't work in Nautilus yet until you install the imwheel dameon.
Install & Configure IMWheel
- Install IMWheel
sudo apt-get install imwheel
- Modify IMWheel configuration file
gksudo gedit /etc/X11/imwheel/imwheelrc
- Insert the following at the bottom of this existing file
".*" None, Up, Alt_L|Left None, Down, Alt_L|Right "(null)" None, Up, Alt_L|Left None, Down, Alt_L|Right
- Create IMWheel start-up script
sudo mkdir /home/login gksudo gedit /home/login/mouse
- Insert the following into this new file
#!/bin/sh exec xmodmap -e "pointer = 1 2 3 6 7 4 5" & exec imwheel -k -b "67" & exec $REALSTARTUP
- Grant execution for everyone to this new script
sudo chmod +x /home/login/mouse
- Configure this script to be executed at start-up
- Select 'System' > 'Preferences' > 'Sessions'
- Click the StartUp tab
- Click Add, then input: /home/login/mouse
- Click OK, then Close
- Reboot your computer or your Gnome environment and then test your back/forward mouse buttons in Nautilus
Como instalar o controlador gráfico Nvidia (Driver Nvidia)
sudo apt-get install nvidia-glx nvidia-kernel-common sudo nvidia-glx-config enable
- Should the above not enable the new driver, you can enable it manually by opening the X config file:
sudo gedit /etc/X11/xorg.conf
- and replacing "nv" with "nvidia"
- Enable XvMC by creating the nVidia XvMC configuration file
sudo gedit /etc/X11/XvMCConfig
- Insert the following line into the new configuration file, to tell the players the name of the nVidia XvMC shared library:
libXvMCNVIDIA_dynamic.so.1
- To use XvMC to accelerate video playback, use the following flags. See [[1]] for more details.
xine -V xxmc filename.ts mplayer -vo xvmc -vc ffmpeg12mc filename.ts
Como instalar o controlador gráfico Nvidia Mais recente (Driver Nvidia)
sudo gedit /etc/apt/sources.list
- Add ONE of the following lines based on your architecture
deb http://albertomilone.com/drivers/edgy/nonlegacy/32bit binary/ deb http://albertomilone.com/drivers/edgy/nonlegacy/64bit binary/
- Save the edited file
- Add the GPG key
<wg3t></wg3t>http://albertomilone.com/drivers/tseliot.asc gpg --import tseliot.asc gpg --export --armor albertomilone@alice.it | sudo apt-key add -
- Update and install
sudo apt-get update sudo apt-get install nvidia-glx sudo apt-get upgrade
- The upgrade should update your linux-restricted-modules & linux-restricted-modules-common packages.
sudo nvidia-xconfig
- Restart the computer and your new drivers should be installed.
Como desactivar o logo gráfico da Nvidia no início do GNOME?
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup sudo gedit /etc/X11/xorg.conf
- Procure esta secção
... Section "Device" Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]" Driver "nvidia" BusID "PCI:1:0:0" ...
- Adicione a linha seguinte logo abaixo do que está acima
Option "NoLogo"
- Guarde o ficheiro editado
- Ler #Como reiniciar o GNOME sem ter de reiniciar o computador?
Como instalar o controlador gráfico ATI (Driver ATI - fglrx)
Como instalar o controlador gráfico Intel (Driver Intel)
Note: This driver is for Intel® 82830M, 82845G, 82852GM, 82855GM, 82865G, and 82915G/GM graphics controller-based products only.
<wg3t></wg3t>-c http://downloadmirror.intel.com/df-support/8211/eng/dri-I915-v1.1-20041217.i386.rpm sudo alien dri-I915-v1.1-20041217.i386.rpm sudo dpkg -i dri-i915_v1.1-20041218_i386.deb
How to Correct the Graphics Resolution (Intel)
- Read #How to enable Large Widescreen Support if you have a larger (>20") monitor
- Intel 915g, 945g, etc. graphics chipsets only have a limited set of resolutions initially installed, despite the correct driver being detected.
- Install the resolution altering tool:
sudo apt-get install 915resolution
- Run the following to see the availible modes:
915resolution -l
- Choose a resolution you don't need and replace, for example the following changes 1920x1440 to 1920x1200
915resolution 5c 1920 1200
- This should add the option for that resolution to the "System>Preferences>Screen Resolution" tool.
- If it works correctly then you can make the change permanent:
sudo gedit /etc/rc.local
- Simply add the command you typed in above before:
exit 0
How to detect CPU temperature, fan speeds and voltages (lm-sensors)
sudo apt-get install lm-sensors
Create file called mkdev.sh, and paste in the following
#!/bin/bash # Here you can set several defaults. # The number of devices to create (max: 256) NUMBER=32 # The owner and group of the devices OUSER=root OGROUP=root # The mode of the devices MODE=600 # This script doesn't need to be run if devfs is used if [ -r /proc/mounts ] ; then if grep -q "/dev devfs" /proc/mounts ; then echo "You do not need to run this script as your system uses devfs." exit; fi fi i=0; while [ $i -lt $NUMBER ] ; do echo /dev/i2c-$i mknod -m $MODE /dev/i2c-$i c 89 $i || exit chown "$OUSER:$OGROUP" /dev/i2c-$i || exit i=$[$i + 1] done #end of file
Make this file executable, then run it
sudo chmod +x mkdev.sh ./mkdev.sh
Now detect sensors, and answer "y" to all questions.
sudo sensors-detect
Load the modules into kernel
sensors -s
Now, let's see the output
sensors
How to control fan speed (lm-sensors)
Install and config lm-sensors first, see section above. Then run pwmconfig to test your fans
pwmconfig
If you can control fan speeds, great. Now creat a file called /etc/init.d/fancontrol, and paste in the following
#!/bin/sh
#
# Fancontrol start script.
#
set -e
# Defaults
DAEMON=/usr/sbin/fancontrol
PIDFILE=/var/run/fancontrol-pid
PATH=/sbin:/bin:/usr/sbin:/usr/bin
test -f $DAEMON || exit 0
. /lib/lsb/init-functions
case "$1" in
start)
log_begin_msg "Starting fancontrol daemon..."
start-stop-daemon --start -o -q -m -b -p $PIDFILE -x $DAEMON
log_end_msg $?
;;
stop)
log_begin_msg "Stopping fancontrol daemon..."
start-stop-daemon --stop -o -q -p $PIDFILE
log_end_msg $?
;;
force-reload|restart)
sh $0 stop
sh $0 start
;;
*)
log_success_msg "Usage: /etc/init.d/fancontrol {start|stop|restart|force-reload}"
log_success_msg " start - starts system-wide fancontrol service"
log_success_msg " stop - stops system-wide fancontrol service"
log_success_msg " restart, force-reload - starts a new system-wide fancontrol service"
exit 1
;;
esac
exit 0
Make it excutable
sudo chmod +x /etc/init.d/fancontrol
Test it
/etc/init.d/fancontrol start
and
/etc/init.d/fancontrol stop
If it works fine, autoload it when you reboot. Insert the following line into /etc/rc.local, before "exit 0"
/etc/init.d/fancontrol start
How to show nvidia GPU temperature (nvidia-settings)
At a terminal, type
nvidia-settings
How to monitor CPU, GPU temperatures, fan speeds and voltages (GKrellM)
- Install lm-sensors first to monitor CPU temps, fan speed, and voltages in GKrellM. #How to detect CPU temperature, fan speeds and voltages (lm-sensors)
- Install nvidia video driver to monitor the nvidia GPU temperature. #How to install Graphics Driver (NVIDIA)
- Install hddtemp first to monitor hard drive temperatures
sudo apt-get install hddtemp
GKrellM is a hardware monitor that can display CPU and GPU temperatures, fan speeds, voltages, CPU load, network load, disk activity, disk temperature, memory usage, and swap usage. The installation is very easy, and configuration is just a few mouse-clicks. You can set alerts to warn you if the CPU is too hot or there is a fan failure. The hddtemp utility works with GKrellM to allow it to sense the disk temperature, as keeping your disks cool (e.g. less than around 40C) will allow them to last longer than if they run continually at higher temperatures (e.g. above 50C).
sudo apt-get install gkrellm
To run the program
Click Applications -> System Tools -> GKrellM
To configure the settings,
Right click on GKrellM -> Configuration
I was struggling with lm_sensors before, but it doesn't detect all of the sensors on my computer. Later I found "GKrellM". It displays the GPU temperature on my nVidia 6600 GT out of the box. GKrellM also has plugins that show weather info, set reminders, etc.
Add an audio alert (optional Step): Here is how to play an audio message when the CPU is too hot or a fan fails. First you need to find or record your own audio alert files. (I use Audacity to record my own.) Then go to:
Configuration -> Builtins folder (Left side)-> Sensors -> Temperatures folder (Right side)-> CPU -> Alerts Button
Paste ONE of the following lines into a Terminal window first to test the sound. If you have two sound cards, you can use "-ao oss:/dev/dsp1" option to route the sound to the second sound card. Modify the file path and name so it points to the correct file. If you can hear the sound, then copy that line to a command line text field on the GKrellM's Alerts window.
mplayer /home/myfolder/alert_messages/heat_alert.mp3 mplayer -ao oss:/dev/dsp1 /home/myfolder/alert_messages/heat_alert.mp3
Como identificar o chipset do modem?
- Ler #Notas Gerais
- Como instalar o identificador do chipset do Modem
- Ler #Como instalar os compiladores básicos (build-essential)?
<wg3t></wg3t>-c http://easylinux.info/uploads/scanModem.gz gunzip -c scanModem.gz > scanModem chmod +x scanModem sudo cp scanModem /usr/bin/
- Para identificar o chipset do Modem
sudo scanModem gedit Modem/ModemData.txt
Como instalar Drivers Wireless de Windows (Ndiswrapper)
- Ler #Notas Gerais
- Para instalar o ndiswrapper é preciso uma cópida dos drivers windows para o teu dispositivo Wireless
- This is only ment to be installed if your card isn't supported.
- Please visit Official supported cards list
sudo apt-get install ndiswrapper-utils sudo ndiswrapper -i /location_of_your_wireless_driver/your_driver.inf sudo ndiswrapper -l
- Unload ACX module and load ndiswrapper
lsmod | grep acx sudo rmmod acx (only if the module was found. It could also be acx_pci or similar) modprobe ndiswrapper
- Set ndiswrapper to load on startup
sudo ndiswrapper -m gksudo gedit /etc/modules
- Add the following module to the list
ndiswrapper
- Now you can configure your wireless card with ifconfig and iwconfig.
- e.g. Supposing wlan0 is your wireless device.
sudo iwconfig wlan0 essid "AP" key ababababababababab mode Managed iwconfig
- You sould now be able to see the MAC address of the access point and signal rate.
Como instalar o programa de controlo do modem (Driver SmartLink)?
uname -r (must be 2.6.10-5-386) <wg3t></wg3t>-c http://easylinux.info/uploads/sl-modem-modules-2.6.10-5-386_2.9.9a-1ubuntu2+2.6.10-34_i386.deb sudo dpkg -i sl-modem-modules-*.deb sudo apt-get install sl-modem-daemon
Como configurar os dispositivos PalmOS?
- Ler #Notas Gerais
sudo gedit /etc/udev/rules.d/10-custom.rules
- Insira a seguinte linha no novo ficheiro
BUS="usb", SYSFS{product}="Palm Handheld*", KERNEL="ttyUSB*", NAME{ignore_remove}="pilot", MODE="666"
- Guarde o ficheiro editado
- Sistema -> Preferências -> Dispositivos PalmOS
- Siga as instruções que aparecem no ecrã
Como ver a tabela de partições?
- Ler #Notas Gerais
sudo fdisk -l
- Tambem pode usar Sistema-> Administração -> Discos
Como mostrar a utilização do espaço de disco do sistema de ficheiros?
- Ler #Notas Gerais
df -T -h
- Tambem pode usar Sistema -> Administração -> Discos
Como mostrar os dispositivos montados?
- Ler #Notas Gerais
mount
Como mostrar os dispositivos PCI?
- Ler #Notas Gerais
lspci
Como mostrar os dispositivos USB?
- Ler #Notas Gerais
lsusb
Como acelerar o CD/DVD-ROM?
- Ler #Notas Gerais
- Exemplo: Assumindo que /dev/cdrom é a localização do CD/DVD-ROM
sudo hdparm -d1 /dev/cdrom sudo cp /etc/hdparm.conf /etc/hdparm.conf_backup sudo gedit /etc/hdparm.conf
- Adicione a linha seguinte ao final do ficheiro
/dev/cdrom {
dma = on
}
- Guarde o ficheiro editado
Como montar/desmontar manualmente o CD/DVD-ROM, mostrando todos os ficheiros e pastas ocultos e associados?
- Ler #Notas Gerais
- Exemplo: Assumindo que /media/cdrom0/ é a localização do CD/DVD-ROM
- Para montar o CD/DVD-ROM
sudo mount /media/cdrom0/ -o unhide
- Para desmontar CD/DVD-ROM
sudo umount /media/cdrom0/
Como forçar manualmente a desmontagem do CD/DVD-ROM?
- Ler #Notas Gerais
- Exemplo: Assumindo que /media/cdrom0/ é a localização do CD/DVD-ROM
sudo umount /media/cdrom0/ -l
Como re-montar o /etc/fstab sem ter de reiniciar o computador?
- Ler #Notas Gerais
sudo mount -a
CD/DVD Burning
Como limpar um CD-RW/DVD-RW?
- Ler #Notas Gerais
- Exemplo: Assumindo que /dev/cdrom é a localização do CD/DVD-ROM
sudo umount /dev/cdrom cdrecord dev=/dev/cdrom blank=fast
Como gravar ficheiros/pastas para CD/DVD?
- Ler #Notas Gerais
nautilus burn:///
- Navegador de ficheiros: Criador de CD/DVD
- Arraste ficheiros/pastas para a janela
Menu Ficheiro -> Gravar no Disco... -> Gravar
Como gravar ficheiros de imagem (ISO) para CD/DVD?
- Ler #Notas Gerais
Clique com o botão direito no ficheiro de Imagem (ISO) -> Gravar no Disco... -> Gravar
Como copiar um CD/DVD?
- Ler #Notas Gerais
- Ler #Como criar ficheiros de imagem (ISO) de um CD/DVD?
- Ler #Como gravar ficheiros de imagem (ISO) para CD/DVD?
Como criar ficheiros de imagem (ISO) de um CD/DVD?
- Ler #Notas Gerais
- Exemplo: Assumindo que /dev/cdrom é a localização do CD/DVD-ROM
sudo umount /dev/cdrom dd if=/dev/cdrom of=file.iso bs=1024
Como criar ficheiros de imagem (ISO) de pastas?
- Ler #Notas Gerais
mkisofs -o file.iso /localização_da_pasta/
Como criar ficheiros de verificação de integridade MD5?
- Ler #Notas Gerais
md5sum file.iso > file.iso.md5
Como verificar a integridade MD5 de ficheiros?
- Ler #Notas Gerais
- Exemplo: Assumindo que os ficheiros file.iso e file.iso.md5 estão na mesma pasta
md5sum -c file.iso.md5
Como montar/desmontar ficheiros de imagem (ISO) sem gravá-los?
- Ler #Notas Gerais
- Para montar um ficheiro de imagem (ISO)
sudo mkdir /media/iso sudo modprobe loop sudo mount file.iso /media/iso/ -t iso9660 -o loop
- Para desmontar um ficheiro de imagem (ISO)
sudo umount /media/iso/
Como definir/alterar a velocidade de gravação de um gravador de CD/DVD?
- Ler #Notas Gerais
- Aplicações > Ferramentas de Sistema -> Editor de Configuração
- Editor de Configuração
/ -> apps -> nautilus-cd-burner -> default_speed (set/change the burn speed)
Como activar o burnproof para o gravador de CD/DVD?
- Ler #Notas Gerais
- Aplicações > Ferramentas de Sistema -> Editor de Configuração
- Editor de Configuração
/ -> apps -> nautilus-cd-burner -> burnproof (Checked)
Como activar o overburn para gravador de CD/DVD?
- Ler #Notas Gerais
- Aplicações > Ferramentas de Sistema -> Editor de Configuração
- Editor de Configuração
/ -> apps -> nautilus-cd-burner -> overburn (Checked)
== Rede ==
Como configurar o Google Talk?
- Vê a resposta em Google Talk Help Center
Como activar/desactivar as ligações de rede?
- Ler #Notas Gerais
- Sistema -> Administração -> Utilização de Rede
- Definições de Rede
Ligações -> Seleccione "Ligação Ethernet" -> Activar/Desactivar
Como configurar ligações de rede?
- Ler #Notas Gerais
- Sistema -> Administração -> Utilização de Rede
- Definições de Rede
Separador Ligações -> Seleccione "Ligação Ethernet" -> Propriedades Ligação -> Activar esta ligação (Checked) Definições de ligação -> Configuração: Seleccione "DHCP/Endereço IP estático"
Separador DNS -> Servidores DNS -> Adicionar/Apagar
Como configurar ligações Dialup?
- Ler #Notas Gerais
- Para configurar dialup
sudo pppconfig
- Para ligar dialup
sudo pon provider_name
- Para desconectar dialup
sudo poff
Como configurar ligações ADSL?
- Ler #Notas Gerais
sudo pppoeconf
Como mudar o nome do computador?
- Ler #Notas Gerais
- Sistema -> Administração -> Utilização de Rede
- Definições de Rede
Separador Geral -> Definições de Máquina -> Nome da Máquina: Especifique o nome do computador
- Grava e fecha todas as aplicações abertas, Reinicia o computador
Como mudar as descrições do computador?
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup sudo gedit /etc/samba/smb.conf
- Procure esta linha
... server string = %h server (Samba, Ubuntu) ...
- Substitua pela seguinte linha
server string = nova_descrição_do_computador
- Guarde o ficheiro editado
sudo testparm sudo /etc/init.d/samba restart
Como mudar o domínio/grupo de trabalho (Domain/Workgroup) do computador?
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup sudo gedit /etc/samba/smb.conf
- Procure esta linha
... workgroup = MSHOME ...
- Substitua pela seguinte linha
workgroup = novo_domínio_ou_grupo_de_trabalho
- Guarde o ficheiro editado
sudo testparm sudo /etc/init.d/samba restart
Como designar o Hostname (nome do hospedeiro) de uma máquina local com IP dinâmico, usando um serviço de DynDNS gratuito?
- Exemplo: Assumindo que as conexões de internet foram devidamente configuradas.
- Registe o DNS Dinâmico gratuito em https://www.dyndns.org
- Renova o IP automaticamente na base de dados DynDNS/DNS a cada hora
- * * * * * significa minuto hora data mês ano
sudo apt-get install ipcheck sudo gedit /root/dyndns_update.sh
- Insira as linhas seguintes no ficheiro novo.
#!/bin/sh USERNAME=myusername PASSWORD=mypassword HOSTNAME=myhostname.dyndns.org cd /root/ if [ -f /root/ipcheck.dat ]; then ipcheck -r checkip.dyndns.org:8245 $USERNAME $PASSWORD $HOSTNAME else ipcheck --makedat -r checkip.dyndns.org:8245 $USERNAME $PASSWORD $HOSTNAME fi
- Guarde o ficheiro editado
sudo chmod 700 /root/dyndns_update.sh sudo sh /root/dyndns_update.sh export EDITOR=gedit && sudo crontab -e
- Adicione a linha segunte ao final do ficheiro
00 * * * * sudo sh /root/dyndns_update.sh
- Guarde o ficheiro editado
Como partilhar pastas de forma fácil?
Clique botão direito na pasta -> Partilhar uma pasta
Pasta a partilhar -> Partilhar com: Seleccione "SMB" Propriedades de partilha -> Nome: Especifique o nome da partilha
Como ver os computadores na rede?
- Ler #Notas Gerais
- Exemplo: Assumindo que as ligações de rede foram bem configuradas
- Se os computadores ou pastas de rede não puderem ser encontradas, tente acedê-las directamente
- Ler #Como aceder a pastas de rede sem as montar?
- Locais -> Servidores de Rede
Como aceder a pastas de rede sem as montar?
- Ler #Notas Gerais
- Exemplo: Assumindo que as ligações de rede foram bem configuradas
- IP do computador na rede: 192.168.0.1
- Nome da pasta partilhada: linux
- Aplicações > Run Application...
- Correr a aplicação
smb://192.168.0.1/linux
Como montar/desmontar manualmente pastas de rede, e permitir que todos os utilizadores as possam ler?
- Exemplo: Assumindo que as ligações de rede foram bem configuradas
- IP do computador na rede: 192.168.0.1
- Utilizador do computador na rede: myusername
- Password do computador na rede: mypassword
- Nome da pasta partilhada: linux
- Local de montagem da pasta: /media/sharename
- Para montar pasta de rede
sudo mkdir /media/sharename sudo mount //192.168.0.1/linux /media/sharename/ -o username=myusername,password=mypassword
- Para desmontar pasta de rede
sudo umount /media/sharename/
Como montar/desmontar manualmente pastas de rede, e permitir que todos os utilizadores as possam ler/escrever?
- Exemplo: Assumindo que as ligações de rede foram bem configuradas
- IP do computador na rede: 192.168.0.1
- Utilizador do computador na rede: myusername
- Password do computador na rede: mypassword
- Nome da pasta partilhada: linux
- Local de montagem da pasta: /media/sharename
- Para montar pasta de rede
sudo mkdir /media/sharename sudo mount //192.168.0.1/linux /media/sharename/ -o username=myusername,password=mypassword,dmask=777,fmask=777
- Para desmontar pasta de rede
sudo umount /media/sharename/
Como montar pastas de rede no arranque, e permitir que todos os utilizadores as possam ler?
- Exemplo: Assumindo que as ligações de rede foram bem configuradas
- IP do computador na rede: 192.168.0.1
- Utilizador do computador na rede: myusername
- Password do computador na rede: mypassword
- Nome da pasta partilhada: linux
- Local de montagem da pasta: /media/sharename
sudo mkdir /media/sharename sudo gedit /root/.smbcredentials
- Insira as linhas seguintes no ficheiro novo.
username=myusername password=mypassword
- Guarde o ficheiro editado
sudo chmod 700 /root/.smbcredentials sudo cp /etc/fstab /etc/fstab_backup sudo gedit /etc/fstab
- Adicione a linha seguinte ao final do ficheiro
//192.168.0.1/linux /media/sharename smbfs credentials=/root/.smbcredentials 0 0
- Guarde o ficheiro editado
- Ler #Como re-montar o /etc/fstab sem ter de reiniciar o computador?
Como montar pastas de rede ao iniciar, e permitir que todos os utilizadores as possam ler/escrever?
- Exemplo: Assumindo que as ligações de rede foram bem configuradas
- IP do computador na rede: 192.168.0.1
- Utilizador do computador na rede: myusername
- Password do computador na rede: mypassword
- Nome da pasta partilhada: linux
- Local de montagem da pasta: /media/sharename
sudo mkdir /media/sharename sudo gedit /root/.smbcredentials
- Insira as linhas seguintes no ficheiro novo.
username=myusername password=mypassword
- Guarde o ficheiro editado
sudo chmod 700 /root/.smbcredentials sudo cp /etc/fstab /etc/fstab_backup sudo gedit /etc/fstab
- Adicione a linha segunte ao final do ficheiro
//192.168.0.1/linux /media/sharename smbfs credentials=/root/.smbcredentials,dmask=777,fmask=777 0 0
- Guarde o ficheiro editado
- Ler #Como re-montar o /etc/fstab sem ter de reiniciar o computador?
Como ter ipw2200 e wpa a funcionar?
Como configurar e iniciar PPTP tunnels (VPN)?
- Ler #Notas Gerais
- Use estas instruções para instalar o Cliente PPTP automaticamente
- OU
- Instale manualmente
<wg3t></wg3t>-c http://linux.edu.lv/uploads/content/pptp.tar.gz tar zxvf pptp.tar.gz sudo sh ./pptp/install
- Para configurar o Cliente PPTP
sudo gedit /usr/share/applications/pptpconfig.desktop
- Substitua o conteúdo desse ficheiro com as seguintes linhas
[Desktop Entry] Name=PPTP Client Comment=Configure and start PPTP tunnels (VPN) Categories=Application;Network Encoding=UTF-8 Exec=gksudo pptpconfig Icon=gnome-remote-desktop.png StartupNotify=true Terminal=false Type=Application
- 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.
- Inicie o cliente com Aplicações > Internet -> PPTP Client
Como configurar a Utilização de Rede (Definições de Rede) com suporte WPA 1 e 2
Tips & Tricks
Como reiniciar o GNOME sem reiniciar o computador
- Ler #Notas Gerais
- Salve e feche todas as aplicações abertas.
Press 'Ctrl + Alt + Backspace'
- ou
sudo /etc/init.d/gdm restart
Como activar automaticamente o Num Lock ao iniciar o Gnome
sudo apt-get install numlockx sudo cp /etc/X11/gdm/Init/Default /etc/X11/gdm/Init/Default_backup gksudo gedit /etc/X11/gdm/Init/Default
- Procure esta linha
... exit 0
- Adicione as linhas seguintes por cima dela
if [ -x /usr/bin/numlockx ]; then /usr/bin/numlockx on fi
- Grave o ficheiro editado
- Ler #Como restart GNOME without rebooting computer
Como remap the Caps Lock key as another Control key
- Ler #Notas Gerais
gksudo gedit /etc/console-tools/remap
Na Consola
- Mude
#s/keycode 58 = Caps_Lock/keycode 58 = Control/;
para
s/keycode 58 = Caps_Lock/keycode 58 = Control/;
- Salve
sudo /etc/init.d/console-screen.sh
- Tente usar
In X Windows
gksudo gedit ~/.Xmodmap
- Adicione isto:
keycode 66 = Control_L clear Lock add Control = Control_L
- Agora, aplique as mudanças.
xmodmap ~/.Xmodmap
- Para aplicálas no arranque
- Se o ~/.xinitrc não existir,
cp /etc/X11/xinit/xinitrc ~/.xinitrc
- Em todos os casos
gedit ~/.xinitrc
- Make the first line this:
xmodmap ~/.Xmodmap
- Reiniciar X (Ctrl - Alt - Backspace)
- Log In, a dialog should pop up, add .Xmodmap to the left side with the add button, and Save.
Como correr aplicações automaticamente ao iniciar o Gnome
- Ler #Notas Gerais
- System -> Preferences -> Sessions
- Sessions
Tab Aplicações de arranque -> Add/Edit/Delete
Como speed-up your Ubuntu box
- Ler the following post: http://ubuntuforums.org/showthread.php?t=189192
Como mudar para modo Consola no GNOME
- Ler #Notas Gerais
- To switch to Console mode
Press 'Ctrl + Alt + F1' (F2 - F6)
- To switch between consoles in Console mode
Press 'Alt + F1' (F2 - F6)
- To switch back to GNOME mode
Press 'Alt + F7'
Como desactivar o Ctrl+Alt+Backspace de reiniciar o X no GNOME
- Ler #Notas Gerais
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup gksudo gedit /etc/X11/xorg.conf
- Adicione as linhas seguintes no final do ficheiro
Section "ServerFlags" Option "DontZap" "yes" EndSection
- Grave o ficheiro editado
- Ler #Como restart GNOME without rebooting computer
Como activar o Ctrl+Alt+Del para abrir o monitor do sistema no GNOME
- Ler #Notas Gerais
gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_9 "<Control><Alt>Delete" gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_9 "gnome-system-monitor"
Como refrescar o GNOME desktop
- Ler #Notas Gerais
killall nautilus
Como refrescar o GNOME panel
- Ler #Notas Gerais
killall gnome-panel
Como enable autosave in Gedit and disable creation of some_file~ files
- Ler #Notas Gerais
- Applications -> System Tools -> Configuration Editor
- Configuration Editor
/ -> apps -> gedit-2 -> preferences -> editor -> save -> create_backup_copy (Unchecked) / -> apps -> gedit-2 -> preferences -> editor -> save -> auto_save (Checked)
Como visualizar os ficheiros/pastas ocultos no Nautilus
- Ler #Notas Gerais
- Places -> Home Folder
- To temporary show all hidden files/folders in Nautilus
Press 'Ctrl + H'
- To permanently show all hidden files/folders in Nautilus
Edit Menu -> Preferences
Views Tab -> Default View -> Show hidden and backup files (Checked)
Como navegar ficheiros/pastas em root no Nautilus
- Ler #Notas Gerais
- To install File Browser (Root)
gksudo gedit /usr/share/applications/Nautilus-root.desktop
- Insert the following lines into the new file
[Desktop Entry] Name=File Browser (Root) Comment=Browse the filesystem with the file manager Exec=gksudo "nautilus --browser %U" Icon=file-manager Terminal=false Type=Application Categories=Application;System;
- Grave o ficheiro editado
- Ler #Como refrescar o GNOME desktop
- To browse files/folders as root user in Nautilus
- Applications -> System Tools -> File Browser (Root)
Como change default file type "Open with" program
- Ler #Notas Gerais
Right click on file -> Properties
Open With Tab -> Add Select "Open with" program
Select "Open with" program (Checked)
Como change preferred email client to Mozilla Thunderbird
- Ler #Notas Gerais
- Ler #Como instalar Email Client (Mozilla Thunderbird)
- System -> Preferences -> Preferred Applications
- Preferred Applications
Mail Reader Tab -> Default Mail Reader -> Command: mozilla-thunderbird %s
Como abrir ficheiros como root via right click
- Ler #Notas Gerais
gedit $HOME/.gnome2/nautilus-scripts/Open\ as\ root
- Insert the following lines into the new file
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do gksudo "gnome-open $uri" & done
- Grave o ficheiro editado
chmod +x $HOME/.gnome2/nautilus-scripts/Open\ as\ root
Right click on file -> Scripts -> Open as root
Como disable beep sound in Terminal mode
Not for Dapper---- firingstone
- Ler #Notas Gerais
- Applications -> Accessories -> Terminal
- Terminal
Edit Menu -> Current Profile...
General Tab -> General -> Terminal bell (Un-Checked)
Como handle mss protocol in Mozilla Firefox
- Open your firefox.
- Type as url: about:config
Now just right click somewhere into the main window. A little box with options to choose will appear. Choose "new", then "string". Then copy the following line into the appearing text field:
network.protocol-handler.app.mms
Into the next text field copy this:
/usr/bin/X11/vlc
Now you do the same thing again, but this time you do not choose "string" but "boolean", and the line to copy is:
network.protocol-handler.external.mms
Then set
true
Como handle rtsp (realmedia) protocol in Mozilla Firefox
- Open your firefox.
- Type as url: about:config
Now just right click somewhere into the main window. A little box with options to choose will appear. Choose "new", then "string". Then copy the following line into the appearing text field:
network.protocol-handler.app.rtsp
Into the next text field copy this:
/usr/bin/X11/realplay
Now you do the same thing again, but this time you do not choose "string" but "boolean", and the line to copy is:
network.protocol-handler.external.rtsp
Then set
true
Como load Web site faster in Mozilla Firefox
- Ler #Notas Gerais
- Applications -> Internet -> Firefox Web Browser
- Mozilla Firefox
Address Bar -> about:config
Filter: -> network.dns.disableIPv6 -> true network.http.pipelining -> true network.http.pipelining.maxrequests -> 8 network.http.proxy.pipelining -> true
- Restart Mozilla Firefox
Como disable beep sound for link find function in Mozilla Firefox
- Ler #Notas Gerais
- Applications -> Internet -> Firefox Web Browser
- Mozilla Firefox
Address Bar -> about:config
Filter: -> accessibility.typeaheadfind.enablesound -> false
- Restart Mozilla Firefox
Como apt-get the easy way (Synaptic)
- Ler #Notas Gerais
- System -> Administration -> Synaptic Package Manager
- To enable the extra Universe and Multiverse repositories
- Settings -> Repositories
- 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
- 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
- To add backports and PLF (new versions of many applications. Unsupported. May contain illegal packages. Use at own risk.)
- Settings -> Repositories
- Click on Add and then Custom
- Paste the following four lines into the box and click Add Repository, one line at a time:
deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse
deb http://packages.freecontrib.org/plf edgy-plf free non-free deb-src http://packages.freecontrib.org/plf edgy-plf free non-free
- To refresh the list of known packages (equivalent to apt-get update)
Edit Menu -> Reload Package Information
- To install all possible upgrades (equivalent to apt-get upgrade)
Edit Menu -> Mark All Upgrades... -> Default Upgrade Edit Menu -> Apply Marked Changes
- To search for a package (equivalent to apt-cache search package_name)
Edit Menu -> Search... Specify the package name
- To install the selected package (equivalent to apt-get install package_name)
Select "package_name" Package Menu -> Mark for Installation Edit Menu -> Apply Marked Changes
- To remove installed package (equivalent to apt-get remove package_name)
Select "package_name" Package Menu -> Mark for Removal Edit Menu -> Apply Marked Changes
What packages do the extra repositories provide
- The PLF repository provides
- DVD playback support (libdvdcss2)
- Skype
- Sun Java SDK (Software Development Kit) and JRE (Java Runtime Environment)
- Opera Web browser
- RealPlayer 10
- Win32 binary multimedia codecs
Como instalar/uninstall .deb files
- Ler #Notas Gerais
- To install .deb file
sudo dpkg -i package_file.deb
- To uninstall .deb file
sudo dpkg -r package_name
Como descobrir qual a versão de uma package que tenho instalada
dpkg -l packagename
Como converter ficheiros .rpm em .deb
sudo alien package_file.rpm
Como compilar ficheiros .deb a partir da source
- Ler #Notas Gerais
- Ler #Como adicionar repositórios extra
- 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.
- 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).
sudo apt-get install checkinstall build-essential
- 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.
sudo checkinstall
or
sudo checkinstall -D
- For more info go to CheckInstall home page and the Installing software on Ubuntu page. Autodeb uses a modified version of AutoApt to complete the entire process above including extraction from the .tar.gz file, however it is still in an early stage of development.
Como rename all files in directory at once
- Ler #Notas Gerais
- To install "mvb" file name renamer
<wg3t></wg3t>-c http://easylinux.info/uploads/mvb_1.6.tgz sudo tar zxvf mvb_1.6.tgz -C /usr/share/ sudo chown -R root:root /usr/share/mvb_1.6/ sudo ln -fs /usr/share/mvb_1.6/mvb /usr/bin/mvb
- To rename all files in directory at once
mvb NEW_NAME
Como manipulate all image files in directory at once
- Ler #Notas Gerais
- To install bash batch image processing script
sudo apt-get install imagemagick <wg3t></wg3t>-c http://easylinux.info/uploads/bbips.0.3.2.sh sudo cp bbips.0.3.2.sh /usr/bin/bbips sudo chmod 755 /usr/bin/bbips
- To manipulate all image files in directory at once
bbips
Como set System-wide Environment Variables
- Ler #Notas Gerais
sudo cp -p /etc/profile /etc/profile_backup gksudo gedit /etc/profile
- Append the System-wide Environment Variables at the end of file
- Grave o ficheiro editado
Como gravar o output do "man" para ficheiros
- Ler #Notas Gerais
man command | col -b > file.txt
Como esconder o menu do grub no boot
- Ler #Notas Gerais
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup gksudo gedit /boot/grub/menu.lst
- Procure esta linha
... #hiddenmenu ...
- Substitua pela linha seguinte
hiddenmenu
- Grave o ficheiro editado
Como alterar o timeout de secondos no GRUB menu para boot-up
- Ler #Notas Gerais
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup gksudo gedit /boot/grub/menu.lst
- Procure esta linha
... timeout 3 ...
- Substitua pela linha seguinte
timeout X_seconds
- Grave o ficheiro editado
Como alterar o Sistema Operativo por omissão de boot-up no GRUB menu
- Ler #Notas Gerais
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup gksudo gedit /boot/grub/menu.lst
- Procure esta linha
... default 0 ...
- Substitua pela linha seguinte
default X_sequence
- Grave o ficheiro editado
Como display Splash Image for GRUB menu on boot-up
- Ler #Notas Gerais
- e.g. Assumed that hd0,1 is the location of Ubuntu boot partition
<wg3t></wg3t>-c http://easylinux.info/uploads/ubuntu.xpm.gz chmod 644 ubuntu.xpm.gz sudo mkdir /boot/grub/images sudo cp ubuntu.xpm.gz /boot/grub/images/ sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup gksudo gedit /boot/grub/menu.lst
- Find this section
# menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-doc/. ...
- Add the following line below it
splashimage (hd0,1)/boot/grub/images/ubuntu.xpm.gz
- NOTE: If you have seperate boot partition use this line: splashimage (hd0,1)/grub/images/ubuntu.xpm.gz
- Grave o ficheiro editado
Como converter um Wallpaper para Splash Image para o GRUB menu
- Ler #Notas Gerais
- e.g. Assumed that wallpaper.png is the Wallpaper to be converted to Splash Image
- splashimage.xpm.gz is the Splash Image for GRUB menu
convert -resize 640x480 -colors 14 wallpaper.png splashimage.xpm && gzip splashimage.xpm
- Ler #Como display Splash Image for GRUB menu on boot-up (use splashimage.xpm.gz instead of ubuntu.xpm.gz)
Como mostrar apenas um kernel no GRUB menu
- Read #General Notes
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup-`date +%F` gksudo gedit /boot/grub/menu.lst
- Procure esta linha
... # howmany=all ...
- Substitua pela linha seguinte
# howmany=1
Where 1 means to keep the last kernel, 2 to keep the last 2 kernels, etc. Do not delete the # symbol. The menu will be updated once a new kernel will be updated by the system, not before.
- Grave o ficheiro editado
Como saltar temporariamente serviços no boot-up
- Ler #Notas Gerais
Press 'Ctrl + C'
Como desactivar/activar permanentemente serviços no boot-up
Como clean /tmp/ folder contents on shutdown
- Ler #Notas Gerais
sudo cp /etc/init.d/sysklogd /etc/init.d/sysklogd_backup gksudo gedit /etc/init.d/sysklogd
- Find this section
... stop) log_begin_msg "Stopping system log daemon..." start-stop-daemon --stop --quiet --oknodo --exec $binpath --pidfile $pidfile log_end_msg $? ...
- Add the following line below it
rm -fr /tmp/* /tmp/.??*
- Grave o ficheiro editado
Como scroll up and down to view previous outputs in Console mode
- Ler #Notas Gerais
- To scroll up to view previously outputs
Press 'Shift + Page Up'
- To scroll down to view previously outputs
Press 'Shift + Page Down'
Como descobrir que versão do Ubuntu estou a usar
cat /etc/issue
Como set up (automatic) background/wallpaper-changer application for GNOME
- Ler #Notas Gerais
- To install the script into a different location than your home directory, replace "~" with your path
cd ~ <wg3t></wg3t>http://members.chello.at/horst.jens/files/wallpaperchanger.py chmod +x wallpaperchanger.py ~/wallpaperchanger.py gedit ~/.wallpaperchanger/wallpaperchangerconfig.py
- Edit all the lines not beginning with an "#" according to your needs. Save the file and close gedit.
- To create an menu entry for wallpaperchanger:
Click the menuitems: Applications -> Accessoires -> Alacarte Menu Editor -> File -> New Entry: Name: wallpaperchanger command: ~/wallpaperchanger.py
- To change desktop background every time you reboot your computer:
Click the menuitems: System -> Preferences -> Session -> Startup Programs -> Add: ~/wallpaperchanger.py
Como set up automatic background change (KDE)
- Ler #Notas Gerais
- Go to K-menu -> System Settings -> Desktop -> Background
- Choose Slide Show
- Press Setup...
- Press Add... to add pictures you wish to see as desktop background
- Set 'Change picture after' to desired picture rotation interval.
- Press 'OK'
Como add keyboard layouts for other languages
- Ler #Notas Gerais
- Go to System -> Preferences -> Keyboard
- Choose Layouts
- Press Add... to add the secondary keyboard layout. It is simpler to have two layouts; the maximum is currently four for Xorg.
- Choose Layout Options
- Expand option Group Shift/Lock behaviour
- 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.
- Press Close.
See #Como add the Keyboard (Layout) Indicator applet to add the Keyboard Indicator applet.
Como add keyboard layouts toggle for other languages (Xfce)
- use *.lst files on /etc/X11/xkb/rules to select 2nd_laguage_code
setxkbmap -option grp:switch,grp:alt_shift,grp_led:scroll us,2nd_laguage_code
- 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):
#!/bin/tcsh setxkbmap -option grp:switch,grp:alt_shift,grp_led:scroll us,il
Como add the Keyboard (Layout) Indicator applet
- Right-click on empty space on the top panel so that you see the pop-up menu.
- Click Add to Panel...
- Choose Keyboard Indicator (it is under the Utilities section, at the end)
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 Como configure.
Como type extended characters
- Ler #Notas Gerais
- Ler #Como add keyboard layouts for other languages
- Ler #Como add the Keyboard (Layout) Indicator applet
- Add the keyboard layout US English International (with dead keys)
- Make US English International (with dead keys) the default keyboard layout.
The key marked ['"] 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.
- ' + a = á
- ' + e = é
- and so on for i-í, o-ó, y-ý, c-c, z-z, n-n, l-l, u-ú, r-r
- " + a = ä
- " + e = ë
- and so on for y-ÿ, u-ü, i-ï, o-ö
Similarly, ` and a consonant generates à, è, ù, ì, ò. Similarly, ~ and a consonant generates ã, u, i, õ, ñ.
To type ' and ", press RightAlt+' and RightAlt+" respectively. To type ' and ", you may also press '+<space> and "+<space> respectively.
There are more characters available by keeping RightAlt pressed and typing a character. Therefore,
- RightAlt+q = ä
- RightAlt+w = å
- RightAlt+e = é
- RightAlt+r = ®
- RightAlt+t = þ
- RightAlt+y = ü
- RightAlt+u = ú
- RightAlt+i = í
- RightAlt+o = ó
- RightAlt+p = ö
- RightAlt+[ and ] for « and » respectively.
- RightAlt+a = á
- RightAlt+s = ß
- RightAlt+d = ð
- RightAlt+l = ø
- RightAlt+; = ¶
- RightAlt+: = °
- RightAlt+z = æ
- RightAlt+c = ©
- RightAlt+n = ñ
- RightAlt+m = µ
- RightAlt+, = ç
- RightAlt+/ = ¿
- RightAlt+1 = ¡
- RightAlt+2 = ²
- RightAlt+3 = ³
- RightAlt+4 = ¤
- RightAlt+5 = €
- RightAlt+6 = ¼
- RightAlt+7 = ½
- RightAlt+8 = ¾
- RightAlt+9 = ‘
- RightAlt+0 = ’
- RightAlt+- = ¥
- RightAlt+= = ×
- RightAlt+! = ¹
- RightAlt+@, then o = o (and O).
- RightAlt+#, then a = a (and A). Similarly for eE, uU, iI, oO.
- RightAlt+$ = £
- RightAlt+% =
- RightAlt+^ =
- RightAlt+& =
- RightAlt+*, then a = a (and A). Similarly for eE, iI.
- RightAlt+(, then a = a (and A)
- RightAlt+(, then g = g (and G)
- RightAlt+), then a = å (and Å)
- RightAlt+_ =
- RightAlt++ = ÷
Como set the Compose key to type special characters
- Ler #Notas Gerais
- Ler #Como add keyboard layouts for other languages
- Ler #Como add the Keyboard (Layout) Indicator applet
- Click System, Preferences, Keyboard.
- Under Layout Options, expand on Compose key position.
- Choose Right-Win key is compose, click Close.
Now you can type extended characters using the RightWin key (next to AltGr), according to this keyboard settings file. Specifically, the lines that start with GDK_Multi_key are those that we can use here. The Compose key is actually GDK_Multi_key.
Some examples,
- RightWin + C + = produces €
- RightWin + = + C produces €
- RightWin + C + O produces ©
- RightWin + O + C produces ©
- RightWin + a + ' produces á
- RightWin + a + " produces ä
- RightWin + a + ` produces à
- RightWin + a + ~ produces ã
- RightWin + a + * produces å
- RightWin + a + ^ produces â
- RightWin + a + > produces â
- RightWin + a + , produces a
- RightWin + e + - produces e
- RightWin + S + 1 produces ¹
- RightWin + S + 2 produces ²
- RightWin + S + 3 produces ³
Como instalar o tipo de letra ubuntu-title usando no Ubuntu logo
- Ler #Notas Gerais
sudo apt-get install ttf-ubuntu-title
Now you can use this font in your favorite applications
Como associate Adobe Reader with files in Nautilus
- Ler #Como instalar PDF Reader (Adobe Reader) com plug-in for Mozilla Firefox
- Open Nautilus (Places -> Desktop)
- Browse to a .pdf file
- Right-click the .pdf file, select Properties, go to the Open With tab, choose Adobe Reader.
Now when you double-click on a .pdf file, it will be opened with Adobe Reader.
Como a partir do Adobe Reader
- Ler #Como instalar PDF Reader (Adobe Reader) com plug-in for Mozilla Firefox
- Ler #Como add a printer
- Applications -> Office -> Adobe Reader
- File -> Print
- In the Print Command box, append -d printername. For example, if your printer was named FS-1010, the Print Command would read:
/usr/bin/lp -d FS-1010
Como separar e combinar ficheiros pdf
sudo apt-get install pdftk
cd mkdir bin cd bin gedit pdftk_burst
- adicione o seguite texto ao ficheiro pdftk_burst:
#!/bin/bash
cd ${1%/*}
/usr/bin/pdftk "$1" burst
rm doc_data.txt
- Grave e feche o pdftk_burst
gedit pdftk_cat
- adicione o seguite texto ao ficheiro pdftk_cat:
#!/bin/bash
cd ${1%/*}
outfile="00out.pdf"
if [ -f $outfile ] ; then
rm -f $outfile
fi
/usr/bin/pdftk *.pdf cat output $outfile
- Grave e feche o pdftk_cat
chmod u+x pdftk_burst pdftk_cat
- open Nautilus (Places -> Desktop) and browse to a .pdf file
- 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.
Now, when you right-click on a .pdf file, you'll get two extra options:
- Open With -> pdftk_burst which will convert a 30 page pdf file to 30 x 1 page pdf files
- Open With -> pdftk_cat which will join together all the pdf files in the same directory, and create a file called 00out.pdf
Note: this won't work with pdfs with any type of protection - read man pdftk for more command line options.
Como remover o jedit quandp o gestor de pacotes Synaptic falha depois da instalação
- Ler #Notas Gerais
- Ler #Como instalar jedit
sudo dpkg --remove --force-depends --force-remove-reinstreq jedit
Agora, já pode usar o gestor de pacotes Synaptic novamente.
Como instalar fácilmente a minha webcam
Adicione este repositório ao seu sources.list:
- deb http://blognux.free.fr/debian unstable main
sudo apt-get update
Agora tem dois caminhos possíveis, ou instala o easycam ou o easycam2. Experimente primeiro o easycam:
sudo apt-get install easycam
E caso não funcione então instale o easycam2:
sudo apt-get install easycam2
O programa easycam quando instalado fica em Sistema --> Administração Para testar a sua webcam, instale o programa Camstream ou o Camorama.
Easycam é um software para automatizar a instalação de uma webcam com drivers disponíveis na internet no Ubuntu. Este programa instala e até compila o driver necessário para a sua camera tornando assim mais fácil a sua instalação.

