Created
April 19, 2010 13:56
-
-
Save voyeg3r/371069 to your computer and use it in GitHub Desktop.
install codecs and programmas for ubuntu lucid 10.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
####################################################################################### | |
# PROÓSITO DO SCRIPT: INSTALAR PACOTES EXTRAS E CODECS PARA UBUNTU 10.04 LUCID LINUX # | |
####################################################################################### | |
# Criado em:Ter 30/Mar/2010 hs 14:21 | |
# Last Change: Ter 18 Mai 2010 19:07:00 BRT | |
# vim:ft=sh:fdm=syntax:nu: | |
# Instituicao: none | |
# Autor: Sérgio Luiz Araújo Silva | |
# site: http://vivaotux.blogspot.com | |
# link original no github: http://gist.github.com/371069 | |
# OBS: ESTE SCRIPT INSTALA OUTRO SCRIPT CHAMADO APT-FAST QUE FAZ USO DO PROGRAMA | |
# ARIA2 SE NÃO QUIZER USAR ESTE RECURSO ALTERE TODAS AS ENTRADAS ONDE SE ENCONTRA | |
# APT-FAST POR APT-GET | |
# cabeçalho | |
INICIO=`date +%d-%m-%Y+%H:%M` | |
cat <<-EOF | |
( O O ) | |
+===========oOO==(_)==OOo==============+ | |
| | | |
| °v° Sergio Luiz Araujo Silva | | |
| /(_)\ Linux User #423493 | | |
| ^ ^ voyeg3r gmail.com | | |
+======================================+ | |
Script de instalação | |
veja aqui o que deu certo e o que não deu na sua | |
instalação de programas e codecs | |
script iniciado: | |
$INICIO | |
EOF | |
# references: | |
# http://launchpadlibrarian.net/44732876/ubuntu-10.04-script | |
# http://manpages.ubuntu.com/manpages/karmic/man1/gconftool-2.1.html | |
# http://www.ubuntugeek.com/list-of-security-tools-available-in-ubuntu.html | |
# http://ubuntued.info/multimedia-no-ubuntu-lucid-lynx | |
# http://ubuntued.info/reduza-o-tempo-de-espera-timeout-do-grub2 | |
# http://ubuntuforum-br.org/index.php?topic=43052.0 sobre o aria2 gerenciador de downloads | |
# icone de notificações do gmail: http://ubuntuforums.org/showthread.php?t=1477297 | |
# http://smash-se.blogspot.com/2010/05/kubuntu-1004-tuning.html | |
# http://blog.goodstory.org/2009/08/07/how-to-optimize-ubuntu-and-linux/ about dnsmasq | |
# busque por ubuntu customization kit | |
# kernel omnislash http://ubuntuforum-br.org/index.php/topic,29799.msg378631.html#msg378631 | |
# artigo sobre kernel: http://hqxriven.wordpress.com/2008/06/08/projeto-omnislash-otimizacao-no-kernel/ | |
# http://code.google.com/p/bash-completion-lib/ bash-completion | |
# http://www.webupd8.org/2010/04/how-to-install-gloobus-preview-in.html gloobus preview | |
# para que usuários comuns possam mapear unidades de rede | |
sed -i.backup '/user_allow_other/s/^#//g' /etc/fuse.conf | |
# testar o som do sistema -> gstreamer-properties | |
# para executar este script em sua máquina faça: | |
# sudo su - para tornar-se root | |
# cd para ir para a pasta pessoal do root | |
# agora baixar o script | |
# wget http://ur1.ca/01wwn -O download.tar.gz && tar zxvf download.tar.gz --strip 1 && rm -f download.tar.gz | |
# sh codecs-lucid.sh | |
# script ubuntu perfeito para ubuntu 10.04: | |
# http://hamacker.wordpress.com/2010/05/11/ubuntu-perfeito-release-final/ | |
# site com dicas para pos instalação do lucid | |
# http://theindexer.wordpress.com/2010/03/21/to-do-list-after-installing-ubuntu-10-04-aka-lucid-lynx/ | |
# melhorar o desempenho da rede http://ur1.ca/vw0t | |
# otimizar o firefox http://ur1.ca/vw1k | |
# wget http://ur1.ca/15zlh -O "`find ~/.mozilla -iname "*.default"`/user.js" | |
# pelo about:config consertar o inicio em modo offline | |
# http://www.vivaolinux.com.br/dicas/impressora.php?codigo=12006 | |
# user_pref("toolkit.networkmanager.disable", true); | |
# testa se está logado como root | |
if [ "$(id -u)" != "0" ]; then | |
echo " Need be root" | |
sleep 2 | |
exit 1 | |
fi | |
# adiciona repositórios universe e multiverse | |
sed -i.backup -r '/^#\s?deb\s?(http|ftp|-src).*(partner|multiverse|universe)/s/^#\s?//g' /etc/apt/sources.list | |
apt-get update && apt-get upgrade | |
# ajuste para o gtk, faça como usuário comum | |
[ -z "`grep -o 'gtk-menu-popup-delay\s\?=\s\?0' ~/.gtkrc-2.0`" ] \ | |
&& echo "gtk-menu-popup-delay = 0" >> ~/.gtkrc-2.0 | |
# se o seu processador tem dois núcleos faça | |
#[ "`grep -c 'core id' /proc/cpuinfo`" -gt 1 ] && sed -i 's/^CONCURRENCY=none/CONCURRENCY=shell/g' #/etc/init.d/rc | |
# if not open with root exec sudo this script | |
#[ "$(id -u)" != "0" ] || exec sudo "$0" "$@" | |
# bashrc improvements | |
[ -z "`grep -o 'completion-ignore-case on' ~/.bashrc`" ] \ | |
&& echo "bind 'set completion-ignore-case on' # turnon ignorecase" >> ~/.bashrc | |
[ -z "`grep -o 'show-all-if-ambiguous on' ~/.bashrc`" ] \ | |
&& echo "bind 'set show-all-if-ambiguous on' # dont require two tabs" >> ~/.bashrc | |
[ -z "`grep -o 'shopt -s cdspell' ~/.bashrc`" ] \ | |
&& echo "shopt -s cdspell # fix wrong type keys" >> ~/.bashrc | |
# desabilitando ipv6 para um dns mais rápido | |
# echo 'net.ipv6.conf.default.disable_ipv6=1' | tee /etc/sysctl.d/60-disable-ipv6.conf | |
# echo 1 | tee /proc/sys/net/ipv6/conf/all/disable_ipv6 | |
# /etc/init.d/networking restart | |
# aria2c ultra fast downloads | |
aptitude install -y aria2 | |
# script apt-fast : ou existe o script ou baixa e torna executárvel | |
# artigo sobre apt-fast http://www.vivaolinux.com.br:443/artigos/impressora.php?codigo=10986 | |
[ -x "/usr/bin/apt-fast" ] \ | |
|| { wget -c http://ur1.ca/02r4v -O /usr/bin/apt-fast ; chmod +x /usr/bin/apt-fast; } | |
apt-fast update | |
# como adicionar o repositório mediabuntu | |
# fonte: https://help.ubuntu.com/community/Medibuntu | |
wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list \ | |
--output-document=/etc/apt/sources.list.d/medibuntu.list;\ | |
apt-fast -q update; apt-fast --yes -q --allow-unauthenticated install medibuntu-keyring; apt-fast -q update | |
# buscador sezen | |
sudo add-apt-repository ppa:zeitgeist/ppa && sudo apt-get update | |
sudo apt-get install zeitgeist sezen | |
# nautilus elementary | |
# http://www.omgubuntu.co.uk/2010/04/nautilus-elementary-230-for-lucid-gets.html | |
#add-apt-repository ppa:am-monkeyd/nautilus-elementary-ppa | |
#apt-get update | |
#apt-get upgrade | |
# configuração: http://linuxdicas.wikispaces.com/nautilus | |
#cd #this should take you to your home folder | |
#wget http://gnaag.k2city.eu/nautilus-breadcrumbs-hack.tar.gz | |
#tar -xvf nautilus-breadcrumbs-hack.tar.gz | |
#nautilus -q | |
# wget http://ur1.ca/12087 && chmod +x install-elementary-3 | |
# ./install-elementary-3 | |
# nautilus -q | |
# Install Ubuntu Light Themes in Ubuntu 10.10/10.04 | |
# http://www.ubuntugeek.com/install-ubuntu-light-themes-in-ubuntu-10-1010-04.html | |
# add-apt-repository ppa:murrine-daily/ppa | |
# apt-fast -y update | |
# apt-fast -y upgrade | |
# gloobus prview | |
# http://www.webupd8.org/2010/04/how-to-install-gloobus-preview-in.html | |
add-apt-repository ppa:gloobus-dev/gloobus-preview | |
apt-get update && sudo apt-get install -y gloobus-preview | |
# se já tem o nautilus elementary 2.30 selecione uma imagem e pressione a barra de espaços | |
# configurando a rede para full duplex | |
# http://vivaotux.blogspot.com/2010/04/linux-add-ethtool-duplex-settings-to.html | |
if [ ! -x "/etc/init.d/100Mbs" ] ; then | |
apt-fast install -y ethtool | |
wget http://ur1.ca/04uuz -O /etc/init.d/100Mbs | |
chmod +x /etc/init.d/100Mbs | |
cd /etc/init.d | |
update-rc.d 100Mbs defaults | |
/etc/init.d/100Mbs start | |
cd - | |
fi | |
# source: http://www.cyberciti.biz/faq/linux-tcp-tuning/ | |
# configuração para o arquivo sysctrl.conf | |
#net.core.rmem_max=8388608 | |
#net.core.wmem_max=8388608 | |
#net.core.rmem_default=65536 | |
#net.core.wmem_default=65536 | |
#net.ipv4.tcp_rmem='4096 87380 8388608' | |
#net.ipv4.tcp_wmem='4096 65536 8388608' | |
#net.ipv4.tcp_mem='8388608 8388608 8388608' | |
#net.ipv4.route.flush=1 | |
#net.ipv4.tcp_rfc1337 = 1 | |
#net.ipv4.ip_no_pmtu_disc = 0 | |
#net.ipv4.tcp_sack = 1 | |
#net.ipv4.tcp_fack = 1 | |
#net.ipv4.tcp_window_scaling = 1 | |
#net.ipv4.tcp_timestamps = 1 | |
#net.ipv4.tcp_ecn = 0 | |
[ -z "`grep -o '^\s*net.core.rmem_max' /etc/sysctl.conf`" ] \ | |
&& echo "net.core.rmem_max=8388608" >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.core.netdev_max_backlog' /etc/sysctl.conf`" ] \ | |
&& echo "net.core.netdev_max_backlog = 5000" >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.core.wmem_max' /etc/sysctl.conf`" ] \ | |
&& echo "net.core.wmem_max=8388608" >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.core.rmem_default' /etc/sysctl.conf`" ] \ | |
&& echo "net.core.rmem_default=65536 " >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.core.wmem_default' /etc/sysctl.conf`" ] \ | |
&& echo "net.core.wmem_default=65536 " >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.ipv4.tcp_rmem' /etc/sysctl.conf`" ] \ | |
&& echo "net.ipv4.tcp_rmem='4096 87380 8388608'" >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.ipv4.tcp_wmem' /etc/sysctl.conf`" ] \ | |
&& echo "net.ipv4.tcp_wmem='4096 65536 8388608'" >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.ipv4.tcp_mem' /etc/sysctl.conf`" ] \ | |
&& echo "net.ipv4.tcp_mem='8388608 8388608 8388608'" >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.ipv4.route.flush' /etc/sysctl.conf`" ] \ | |
&& echo "net.ipv4.route.flush=1" >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.ipv4.tcp_rfc1337' /etc/sysctl.conf`" ] \ | |
&& echo "net.ipv4.tcp_rfc1337 = 1" >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.ipv4.ip_no_pmtu_disc' /etc/sysctl.conf`" ] \ | |
&& echo "net.ipv4.ip_no_pmtu_disc = 0" >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.ipv4.tcp_sack' /etc/sysctl.conf`" ] \ | |
&& echo "net.ipv4.tcp_sack = 1" >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.ipv4.tcp_fack' /etc/sysctl.conf`" ] \ | |
&& echo "net.ipv4.tcp_fack = 1" >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.ipv4.tcp_window_scaling' /etc/sysctl.conf`" ] \ | |
&& echo "net.ipv4.tcp_window_scaling = 1" >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.ipv4.tcp_timestamps' /etc/sysctl.conf`" ] \ | |
&& echo "net.ipv4.tcp_timestamps = 1" >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*net.ipv4.tcp_ecn' /etc/sysctl.conf`" ] \ | |
&& echo "net.ipv4.tcp_ecn = 0" >> /etc/sysctl.conf | |
[ -z "`grep -o '^\s*vm.swappiness' /etc/sysctl.conf`" ] \ | |
&& echo "vm.swappiness=10" >> /etc/sysctl.conf | |
#[ -z "`grep -o 'net.ipv6.conf.all.disable_ipv6\s\?=\s\?1' /etc/sysctl.conf`" ] \ | |
# && echo "net.ipv6.conf.all.disable_ipv6=1" >> /etc/sysctl.conf | |
# efetiva alterações | |
sysctl -p /etc/sysctl.conf | |
## final da configuração para /etc/sysctrl.conf | |
# miniaturas para capas de cd | |
# http://www.ubuntugeek.com/cover-thumbnailer-displays-music-album-covers-in-nautilus.html | |
add-apt-repository ppa:flozz/flozz | |
apt-fast update | |
apt-get install cover-thumbnailer | |
# http://code.google.com/p/bash-completion-lib/ | |
apt-fast install bash-completion-lib | |
# bash completion | |
linha=`awk '/enable bash completion/ {print NR}' /etc/bash.bashrc` | |
sed -i.backup "$((linha+1)),$((linha+3))s/^#//g" /etc/bash.bashrc | |
# controla via linha de comandos quais serviços iniciam | |
# http://ubuntuforums.org/showthread.php?t=89491 | |
apt-fast install -y sysv-rc-conf | |
# testando se está executando a versão 10.04 do ubuntu | |
#if [ "lucid" = `lsb_release -cs` ]; then | |
# /usr/bin/zenity --warning --title="Error" --text="Error: You are not using buntu 10.04 Lucid Lynx" | |
# echo You are not using Ubuntu 10.04 Lucid Lynx, exiting | |
# exit | |
#fi | |
# conserta /etc/hosts | |
[ -z `head -1 /etc/hosts | grep -o $(hostname)` ] && sed -i.backup -r "1s/(.*)/\1 `hostname`/g" /etc/hosts | |
echo " parando os consoles de 3 a 6" | |
#sed -i.backup '/ACTIVE_CONSOLES/s/1-6/1-2/g' /etc/default/console-setup | |
#sed -i.backup '/FONTSIZE/s/16/14/g' /etc/default/console-setup | |
rename 's/$/.bak/g' /etc/init/tty[3-6].conf | |
# desabilitar PANGO - lembre-se que isso afeta a renderização de fontes asiática | |
# leia sobre isto aqui: http://ubuntu.sabza.org/2006/08/18/firefox-for-linux-urdu-font-rendering/ | |
# em portugues sobre o assunto: http://ubuntued.info/ponha-o-seu-firefox-mais-veloz | |
[ -z "`grep -o 'MOZ_DISABLE_PANGO=1' /etc/environment`" ] \ | |
&& echo 'MOZ_DISABLE_PANGO=1' >> /etc/environment | |
[ -z "`grep -o 'FLASH_GTK_LIBRARY=libgtk-x11-2.0.so.0' /etc/profile`" ] \ | |
&& echo 'export FLASH_GTK_LIBRARY=libgtk-x11-2.0.so.0' >> /etc/profile | |
# This guide will force the flash player to bypass its GPU validity checks, improving performance. | |
# source: http://www.ubuntumini.com/2009/11/improve-adobe-flash-performance.html | |
# mkdir /etc/adobe | |
# echo "OverrideGPUValidation=true" > /tmp/mms.cfg | |
# mv /tmp/mms.cfg /etc/adobe/ | |
# mais dicas sobre o firefox | |
# http://vivaotux.blogspot.com/2009/08/mais-uma-dica-para-otimizar-o-fireox.html | |
# para limpar o cache do firefox usando o sqlite3 | |
aptitude install sqlite3 | |
# find $HOME/.mozilla/firefox/ -name *.sqlite -exec sqlite3 {} vacuum \; | |
# add ingnore case to bash | |
[ -z "`grep -o 'set completion-ignore-case on' ~/.inputrc`" ] \ | |
|| echo "set completion-ignore-case on" >> .inputrc | |
# instalando flash player | |
# aria2c -c http://get.adobe.com/br/flashplayer/thankyou/?installer=Flash_Player_10_for_Linux_(.tar.gz) | |
# aria2c -c http://download947.mediafire.com/0yzyhqlmeuhg/tzf5ldhyytm/install_flash_player_10_linux.tar.gz | |
# tar zxvf install_flash_player_10_linux.tar.gz | |
# cp libflashplayer.so /usr/lib/mozilla/plugins | |
# sistema de notificações | |
# http://ubuntued.info/configurar-as-notificacoes-do-ubuntu | |
apt-fast install -y libnotify-bin | |
notify-send "iniciando script de instalação do ubuntu lucid" | |
# http://maracuja.homeip.net/software/warnme - alarme em python | |
wget http://maracuja.homeip.net/files/software/warnme-0.1.py | |
chmod +x warnme-0.1.py | |
mv warnme-0.1.py /usr/local/lib | |
ln -s /usr/local/lib/warnme-0.1.py /usr/local/bin/warnme | |
# REPOSITÓRIO VIRTUALBOX | |
# deb http://download.virtualbox.org/virtualbox/debian lucid non-free | |
#$ wget http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc $ sudo apt-key add sun_vbox.asc | |
# sudo apt-get install virtualbox-ose | |
# repositórios alternativos para o mediabuntu: | |
#Mirror 1:deb http://mirrors.ucr.ac.cr/medibuntu/ karmic free non-free | |
#deb-src http://mirrors.ucr.ac.cr/medibuntu/ karmic free non-free | |
#Mirror 2: | |
#deb http://mirror.oscc.org.my/medibuntu/ karmic free non-free | |
#deb-src http://mirror.oscc.org.my/medibuntu/ karmic free non-free | |
#Mirror 3: | |
#deb ftp://ftp.leg.uct.ac.za/pub/linux/medibuntu/ karmic free non-free | |
#deb-src ftp://ftp.leg.uct.ac.za/pub/linux/medibuntu/ karmic free non-free | |
###### fim dos mirros alternativos para mediabuntu ######### | |
# http://goncin.wordpress.com/2010/05/19/ubuntu-menus-para-todos-os-gostos/ | |
# gnome-main-menu | |
# atualiza hardwares detectaveis | |
update-pciids;update-usbids | |
#Ativar a possibilidade de instalar pacotes de repositórios não oficiais via synaptic | |
# update-apt-xapian-index | |
# pacotes de idioma ---------------------------------------------- | |
apt-fast install -y aspell | |
apt-fast install -y aspell-pt-br | |
apt-fast install -y gnome-user-guide-en | |
apt-fast install -y gnome-user-guide-pt | |
apt-fast install -y kde-l10n-engb | |
apt-fast install -y language-pack-en | |
apt-fast install -y language-pack-en-base | |
apt-fast install -y language-pack-gnome-pt | |
apt-fast install -y language-pack-kde-en | |
apt-fast install -y language-pack-kde-en-base | |
apt-fast install -y language-pack-pt | |
apt-fast install -y language-pack-pt-base | |
apt-fast install -y language-support-pt | |
apt-fast install -y language-support-writing-pt | |
apt-fast install -y myspell-pt | |
apt-fast install -y myspell-pt-br | |
apt-fast install -y myspell-pt-br | |
apt-fast install -y myspell-pt-pt | |
apt-fast install -y openoffice.org-help-en-gb | |
apt-fast install -y openoffice.org-help-pt | |
apt-fast install -y openoffice.org-hyphenation | |
apt-fast install -y openoffice.org-hyphenation-en-us | |
apt-fast install -y openoffice.org-l10n-en-gb | |
apt-fast install -y openoffice.org-l10n-en-za | |
apt-fast install -y openoffice.org-l10n-pt | |
apt-fast install -y openoffice.org-thesaurus-en-au | |
apt-fast install -y openoffice.org-thesaurus-en-us | |
apt-fast install -y wbrazilian | |
apt-fast install -y wportuguese | |
# para firefox | |
# apt-fast -y install mozilla-firefox-locale-pt-br | |
apt-fast -y install openoffice.org-help-pt-br openoffice.org-l10n-pt-br | |
#-----------fim dos pacotes de idioma ----------------------------- | |
# instala o vim | |
apt-fast install -y vim-gnome vim-doc | |
# fonte droid ttf | |
apt-fast install -y ttf-droid | |
# fontes do windows | |
apt-get install -y msttcorefonts | |
# cache de pacotes em dvd ou cd | |
apt-fast install -y aptoncd | |
# codecs | |
apt-fast install -y w32codecs | |
apt-fast install -y mpeg2dec | |
apt-fast install -y non-free-codecs | |
apt-fast install -y ubuntu-restricted-extras | |
apt-fast install -y libdvdcss2 | |
apt-fast install -y vorbis-tools | |
apt-fast install -y id3v2 | |
apt-fast install -y mpg321 | |
apt-fast install -y mpg123 | |
apt-fast install -y libflac++6 | |
apt-fast install -y ffmpeg | |
apt-fast install -y toolame | |
apt-fast install -y libmp4v2-0 | |
apt-fast install -y id3tool | |
apt-fast install -y lame | |
apt-fast install -y lame-extras | |
apt-fast install -y libjpeg-progs | |
apt-fast install -y flac | |
apt-fast install -y faac | |
apt-fast install -y faad | |
apt-fast install -y sox | |
apt-fast install -y toolame | |
apt-fast install -y ffmpeg2theora | |
apt-fast install -y libmpeg3-1 | |
apt-fast install -y mpegdemux | |
apt-fast install -y x264 | |
apt-fast install -y gstreamer0.10-ffmpeg | |
apt-fast install -y gstreamer0.10-fluendo-mp3 | |
apt-fast install -y gstreamer-tools | |
apt-fast install -y gstreamer0.10-gnonlin | |
apt-fast install -y gstreamer0.10-sdl | |
apt-fast install -y gstreamer0.10-plugins-bad | |
apt-fast install -y gstreamer0.10-plugins-bad-multiverse | |
apt-fast install -y gstreamer0.10-plugins-ugly | |
apt-fast install -y gstreamer0.10-plugins-ugly-multiverse | |
apt-fast install -y totem-gstreamer | |
apt-fast install -y libdvdcss2 | |
apt-fast install -y libdvdnav4 | |
apt-fast install -y vlc | |
apt-fast install -y vlc-nox | |
apt-fast install -y vlc-plugin-sdl | |
apt-fast install -y vlc-plugin-alsa | |
apt-fast install -y mplayer | |
apt-fast install -y mplayer-fonts | |
apt-fast install -y mplayer-skins | |
apt-fast install -y mencoder | |
apt-fast install -y gnome-mplayer | |
apt-fast install -y xine-ui | |
apt-fast install -y gxine | |
apt-fast install -y totem-xine | |
apt-fast install -y totem-plugins | |
apt-fast install -y totem-plugins-extra | |
apt-fast install -y udftools | |
apt-fast install -y cdrdao | |
apt-fast install -y vcdimager | |
apt-fast install -y mjpegtools | |
apt-fast install -y vcdtools | |
apt-fast install -y transcode | |
apt-fast install -y movixmaker-2 | |
apt-fast install -y normalize-audio | |
apt-fast install -y mp3gain | |
apt-fast install -y avidemux | |
apt-fast install -y nautilus-script-audio-convert | |
apt-fast install -y tagtool | |
apt-fast install -y easytag | |
apt-fast install -y assogiate | |
apt-fast install -y totem-mozilla | |
apt-fast install -y mozilla-mplayer | |
apt-fast install -y xine-plugin | |
apt-fast install -y gxineplugin | |
apt-fast install -y mozilla-plugin-vlc | |
apt-fast install -y libdvdread3 | |
apt-fast install -y k9copy | |
# player audacious | |
apt-fast install -y audacious | |
# programa para autoria de dvd's | |
# repositório para karmic --> deb http://ppa.launchpad.net/muravjov-il/ppa/ubuntu karmic main | |
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BBAB22E8 | |
# http://www.bombono.org/cgi-bin/wiki/ | |
apt-fast install -y bombono-dvd | |
# pacote de idiomas para programas do ambiente kde | |
apt-fast install -y language-pack-kde-pt-base language-pack-kde-pt kde-l10n-pt kde-l10n-ptbr | |
apt-fast install -y libdvdread4 | |
/usr/share/doc/libdvdread4/install-css.sh | |
apt-fast -y install vlc | |
# descompactadores | |
apt-fast install -y unace | |
apt-fast install -y rar | |
apt-fast install -y unrar | |
apt-fast install -y zip | |
apt-fast install -y unzip | |
apt-fast install -y p7zip-full | |
apt-fast install -y p7zip-rar | |
apt-fast install -y sharutils | |
apt-fast install -y uudeview | |
apt-fast install -y mpack | |
apt-fast install -y lha | |
apt-fast install -y arj | |
apt-fast install -y cabextract | |
apt-fast install -y file-roller | |
# java - se desejar desenvolvimento instale também --> sun-java6-jdk netbeans | |
apt-fast -y install sun-java6-plugin sun-java6-jre | |
# Ubuntu’s 1-liners for installing a LAMP server. | |
# tasksel | |
# capturar vídeos do desktop | |
apt-fast install -y gtk-recordmydesktop | |
# cliente para torrent | |
apt-get remove -y transmission transmission-common transmission-gtk | |
apt-fast -y install deluge | |
# ferramentas de administração | |
apt-fast install -y openssh-server | |
apt-fast install -y sshfs | |
apt-fast install -y smbfs | |
apt-fast install -y nmap | |
apt-fast install -y iptstate | |
apt-fast install -y iptraf | |
apt-fast install -y nfs-common | |
apt-fast install -y nfs-kernel-server | |
apt-fast install -y portmap | |
apt-fast install -y moreutils | |
apt-fast install -y zsync | |
apt-fast install -y curl | |
apt-fast install -y libcurl3 | |
apt-fast install -y python-pycurl | |
apt-fast install -y | |
apt-fast install -y ngrep | |
apt-fast install -y arp-scan | |
# bash completion for python | |
apt-fast install -y python-optcomplete | |
# easy_install setuptools - | |
apt-get install -y python-setuptools python-dev build-essential | |
apt-get install -y build-essential subversion pastebinit | |
# postar códigos no pastebin | |
# echo "Hello! I'll appear in http://paodiqueijo.wordpress.com" | pastebinit - | |
# pastebinit -f vim ~/.vimrc | |
# impressora pdf | |
apt-fast install -y cups-pdf | |
# extras para o gedit | |
apt-fast install -y gedit-plugins spell | |
# acesso à linha de comando facilitado | |
apt-fast -y install nautilus-open-terminal nautilus-filename-repairer | |
# tutorial de digitação klavaro | |
apt-fast -y install klavaro | |
# gimp dicas para o gimp: http://vivaotux.blogspot.com/search/label/gimp | |
apt-fast -y install gimp gimp-data-extras gimp-plugin-registry ufraw gimp-ufraw | |
# imagemagick | |
# http://linuxdicas.wikispaces.com/imagemagick | |
apt-fast -y install imagemagick | |
# exiftool - exibe propriedades de fotos: http://blog.aurelio.net/2010/05/15/datas-fotos-e-shell/ | |
apt-fast -y install libimage-exiftool-perl | |
# inkscape | |
apt-fast -y install inkscape | |
# visualizador de fotos mais leve que o f-spot | |
apt-get remove -y tomboy f-spot | |
apt-fast install -y shotwell gnote | |
# para remover o mono | |
# mono-runtime # o gnome-do depende dele | |
# cliente msn | |
apt-fast install -y amsn | |
# ícone de atualizações automáticas | |
#gconftool -s --type bool /apps/update-notifier/auto_launch false | |
gconftool-2 --direct \ | |
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ | |
--type bool --set /apps/update-notifier/auto_launch "false" | |
# control-alt-delete abrindo gnome-system-monitor | |
echo "ajustando o atalho para abrir o monitor do sistema" | |
gconftool-2 --direct \ | |
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ | |
-t str --set /apps/metacity/global_keybindings/run_command_9 "<Control><Alt>Delete" | |
gconftool-2 --direct \ | |
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ | |
-t str --set /apps/metacity/keybinding_commands/command_9 "gnome-system-monitor" | |
# página inicial do firefox | |
gconftool-2 --direct \ | |
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ | |
--type string --set /apps/firefox/general/homepage_url "http://www.google.com/" | |
# ícones no desktop | |
echo " habilitando os ícones no desktop" | |
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \ | |
--type bool --set "/apps/nautilus/desktop/computer_icon_visible" "true" | |
# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \ | |
# --type bool --set "/apps/nautilus/desktop/network_icon_visible" "true" | |
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \ | |
--type bool --set "/apps/nautilus/desktop/home_icon_visible" "true" | |
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \ | |
--type bool --set "/apps/nautilus/desktop/trash_icon_visible" "true" | |
# conserta botões de janelas ######################################################## | |
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \ | |
-s --type bool /apps/update-notifier/auto_launch false | |
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \ | |
-s --type string /apps/metacity/general/button_layout "menu:minimize,maximize,close" | |
######################################################################################## | |
# configuração global - só é efetivada após novo login | |
# política de clique - configurando para clique único | |
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \ | |
-s --type string /apps/nautilus/preferences/click_policy "single" | |
# configuração local | |
gconftool-2 -s -t string -s --type string /apps/nautilus/preferences/click_policy "single" | |
# transparência das janelas | |
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \ | |
-s -t float /apps/gwd/metacity_theme_active_opacity 0.75 | |
### configurando atalho para abrir o xkill | |
# source: http://www.uluga.ubuntuforums.org/showthread.php?t=1431468 | |
gconftool-2 --type string --set /desktop/gnome/keybindings/custom0/action "xkill" | |
gconftool-2 --type string --set /desktop/gnome/keybindings/custom0/binding "<Control><Alt>x" | |
gconftool-2 --type string --set /desktop/gnome/keybindings/custom0/name "Kill Application" | |
# botões de controle das janelas do lado direito - configuração local | |
gconftool-2 -s --type string /apps/metacity/general/button_layout "menu:minimize,maximize,close" | |
# botões de controle das janelas do lado direito - configuração global (necessita novo login) | |
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \ | |
-s --type string /apps/metacity/general/button_layout "menu:minimize,maximize,close" | |
# fonte padrão | |
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \ | |
-s --type string /apps/nautilus/preferences/desktop_font --type string "Sans 8" | |
aria2c -c http://ubuntuone.com/p/4mf/ \ | |
;tar zxvf Discovery.tar.gz -C /usr/share/icons \ | |
;find /usr/share/icons/Discovery/ -type f -exec chmod 644 {} \; | |
# fonte aller | |
# http://www.fontsquirrel.com/fonts/Aller | |
# ferramenta para detectar arquivos duplicados | |
# http://www.dicas-l.com.br/arquivo/remocao_de_arquivos_duplicados_em_sistemas_gnu_linux.php | |
apt-fast install -y fdupes | |
# http://www.junauza.com/2008/09/100-beautiful-free-fonts-for-ubuntu.html | |
apt-get install -y ttf-gentium | |
apt-get install -y ttf-mgopen | |
fc-cache -f -v | |
# falta colocar o link do tema | |
# tema de ícones padrão | |
#echo "definindo ícones padrão" | |
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \ | |
--type string --set "/desktop/gnome/interface/icon_theme" "Discovery" | |
# configuração individual para o tema de icones | |
gconftool-2 -s -t string "/desktop/gnome/interface/icon_theme" "Discovery" | |
# janela enrolar ou maximizar ao clicar no título da janela | |
gconftool-2 -s -t string "/apps/metacity/general/action_double_click_titlebar" "toggle_shade" | |
gconftool-2 -s -t string --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \ | |
--type string --set "/apps/metacity/general/action_double_click_titlebar" "toggle_shade" | |
# renomeando as pastas pessoais: http://www.ubuntudicas.com.br/blog/?p=2237 | |
#XDG_DESKTOP_DIR="$HOME/Desktop" | |
#XDG_DOWNLOAD_DIR="$HOME/docs/downloads" | |
#XDG_TEMPLATES_DIR="$HOME/docs/templates" | |
#XDG_PUBLICSHARE_DIR="$HOME/docs/share" | |
#XDG_DOCUMENTS_DIR="$HOME/docs" | |
#XDG_MUSIC_DIR="$HOME/docs/music" | |
#XDG_PICTURES_DIR="$HOME/docs/img" | |
#XDG_VIDEOS_DIR="$HOME/docs/videos" | |
#xdg-user-dirs-gtk-update | |
#xdg-user-dirs-update | |
# conversor de formatos dos2unix | |
apt-fast install -y tofrodos | |
# gravar comandos ttyrec | |
apt-fast install -y ttyrec | |
# sistema de notificações do sistema integrado no firefox | |
apt-fast install -y xul-ext-notify | |
# PICASAWEB VIA LINHA DE COMANDO | |
# http://ur1.ca/09m00 how upload photos to picasa from cmd line | |
# http://christiano.me/2010/06/19/o-google-em-linha-de-comando/ | |
# wget -c http://ur1.ca/09m7g && dpkg -i googlecl_0.9.5-1_all.deb | |
# apt-get install python-gdata | |
apt-fast -y install googlecl | |
# Criar um álbum no Picasa e adicionar todas as fotos de um diretório no HD: | |
# google picasa create –album “Viagem para Manaus” ~/photos/viagem_manaus/*.jpg | |
# google youtube post –category Screencast aprenda_python.avi | |
# http://code.google.com/p/googlecl/ help | |
# exemplos: http://code.google.com/p/googlecl/wiki/ExampleScripts | |
# gerenciador de downloads para 4shared e outros | |
# sudo add-apt-repository ppa:jd-team/jdownloader | |
# sudo aptitude update | |
# sudo apt-get install jdownloader | |
# termino do script | |
aria2c http://ubuntuone.com/p/4qs/ && play k3b_success1.wav |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment