Link: http://forum.eeeuser.com/viewtopic.php?id=38030
Primeiro instale o ubuntu através de um cartão de memória ou pendrive com o utilitário UNetbootin. É preciso que o cartão esteja formatado com FAT32 e tenha 1Gb.
Utilize a distro :
http://sourceforge.net/project/downloading.php?group_id=213463&filename=ubuntu-eee-8.04.1.iso&99571803
http://www.mininova.org/tor/1790364
Pode criar um USB distro com o software abaixo:
http://downloads.sourceforge.net/unetbootin/unetbootin-eeeubuntu-windows-238.exe?modtime=1214975248&big_mirror=0
Instruções em inglês no site:
http://www.ubuntu-eee.com/index.php5?title=Main_Page
sources.list
adicionar a linha: deb http://www.array.org/ubuntu hardy eeepc
com os comandos:
wget http://www.array.org/ubuntu/array.list
sudo mv -v array.list /etc/apt/sources.list.d/
chave pública:
wget http://www.array.org/ubuntu/array-apt-key.asc
sudo apt-key add array-apt-key.asc
Atualize o cache do apt: sudo apt-get update
Instalação do kernel personalizado para o eeepc:
sudo apt-get install linux-eeepc linux-headers-eeepc
Reinicie pelo novo kernel, se der tudo certo retire as referências ao kernel genérico:
sudo apt-get remove linux-generic linux-image-generic linux-headers-generic linux-restricted-modules-generic
opcionalmente instaale também:
sudo apt-get install linux-image-eeepc
Altere o /etc/fstab retirando a linha do cdrom para não ter conflitos no futuru:
/dev/sdc1 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0 Depois crie o diretório: sudo mkdir /media/MMCSD e acrescente no sudo gedit /etc/fstab : /dev/sdb1 /media/MMCSD auto user,auto,exec,rw 0 0 Para trabalhar com telas pequenas faça: gconftool-2 --set /apps/nautilus/preferences/desktop_font --type string "Sans 8" gconftool-2 --set /desktop/gnome/interface/document_font_name --type string "Sans 8" gconftool-2 --set /desktop/gnome/interface/font_name --type string "Sans 8" gconftool-2 --set /apps/metacity/general/titlebar_font --type string "Sans Bold 8" gconftool-2 --set /desktop/gnome/interface/monospace_font_name --type string "Monospace 8" gconftool-2 --set /desktop/gnome/interface/toolbar_style --type string "icons" gconftool-2 --type bool --set /apps/compiz/plugins/move/allscreens/options/constrain_y 0 Correções de recursos de som: sudo gedit /etc/acpi/events/eeepc-hotkey event=hotkey ATKD action=/etc/acpi/eeepc-hotkeys.sh %e sudo gedit /etc/acpi/eeepc-hotkeys.sh #!/bin/sh code=$3 case $code in # Fn+F7 -- mute/unmute speakers 00000013) acpi_fakekey 113 ;; # Fn+F8 -- decrease volume 00000014) acpi_fakekey 114 ;; # Fn+F9 -- increase volume 00000015) acpi_fakekey 115 ;; esac E depois: sudo chmod +x /etc/acpi/eeepc-hotkeys.sh sudo /etc/init.d/acpid restart gconftool-2 --set /desktop/gnome/sound/default_mixer_tracks --type list --list-type string "[PCM]" Executar módulos ao iniciar o eeepc: sudo gedit /etc/modules pciehp pciehp_debug=1 pciehp_force=1 acpi-cpufreq Tem post que aconselha estes módulos: fuse lp i2c-i801 eee eeepc-acpi p4_clockmod cpufreq_ondemand ath_pci pciehp pciehp_debug=1 pciehp_force=1 snd_hda_intel model=auto Mas este comentário é interessante: NOTE: The EeePC does require extra modules not included in this list (like rt2860sta, atl1e, eeepc_acpi, snd_hda_intel), but Ubuntu should automatically load them on startup. There is no need to explicitly specify these modules within this file.Mais dicas em: http://forum.eeeuser.com/viewforum.php?id=43
Script que promete corrigir muita coisa sobre as teclas especiais:
http://webjegyzet.hu/eee/acpi/meeetacpi1.0.tar
Para ter tecla especial de wireless pode ser feito:
sudo gedit /etc/acpi/eeepc-wireless-toggle.sh #!/bin/sh wlan_control=/proc/acpi/asus/wlan WLANSTATE=$(cat $wlan_control) case $WLANSTATE in 1) ifconfig ath0 down modprobe -r ath_pci echo 0 > $wlan_control modprobe -r pciehp ;; 0) modprobe pciehp pciehp_force=1 pciehp_debug=1 echo 1 > $wlan_control modprobe ath_pci echo 0 > $wlan_control echo 1 > $wlan_control ;; esacPara evitar o início do evolution quando conecta o cabo de força:
sudo chmod -x /etc/acpi/mailbtn.sh Melhorando a nevagação: https://launchpad.net/netbook-remix sources.list deb http://ppa.launchpad.net/netbook-remix-team/ubuntu hardy main deb-src http://ppa.launchpad.net/netbook-remix-team/ubuntu hardy main Não instale o pacote: ume-config-netbook Instale somente: sudo apt-get install go-home-applet human-netbook-theme maximus metacity ume-launcher window-picker-applet Once installed, you'll need to add maximus to autostart for your session. You'll also need to setup the gnome-panel to look like the screenshots, basically: * Delete bottom panel * Setup top panel like: GoHomeApplet|WindowPickerApplet|NotificationArea|MixerApplet|Clock
O resultado é algo do tipo: Outros temas:
- Save the file HumanCompact.tar.bz2 to your computer.
- Open the gnome’s appearence dialog with System > Preferences > Appearance.
- Drag and drop the downloaded file into the Theme tab of the appearance dialog.
- Choose “Apply new theme” in the popup dialog.
sudo apt-get remove powernowd
sudo apt-get install cpufrequtils sysfsutils
sudo modprobe p4_clockmod
A CPU ficará lenta até que se altere o arquivo:
sudo gedit /etc/sysfs.conf
adicionando a linha: devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand
e colocando no arquivo sudo gedit /etc/modules as linhas:
p4_clockmod
cpufreq_ondemand
E crie dois arquivos com os comandos abaixo:
sudo echo > /etc/acpi/ac.d/90-cpufreq.sh '#!/bin/sh'
sudo echo >> /etc/acpi/ac.d/90-cpufreq.sh '/usr/bin/cpufreq-selector -g performance'
sudo echo > /etc/acpi/battery.d/90-cpufreq.sh '#!/bin/sh'
sudo echo >> /etc/acpi/battery.d/90-cpufreq.sh '/usr/bin/cpufreq-selector -g ondemand'
sudo chmod +x /etc/acpi/ac.d/90-cpufreq.sh
sudo chmod +x /etc/acpi/battery.d/90-cpufreq.sh
Agora faça um rebbot....
Com o comando abaixo usuários normais podem alterar a frequencia da cpu com o applet apropriado:
sudo chmod +s /usr/bin/cpufreq-selector
Os comandos abaixo resolvem algumas questões de desligamento de camera, etc...
sudo apt-get install module-assistant eeepc-acpi-source
sudo m-a a-i eeepc-acpi
sudo sh -c 'echo eeepc-acpi >> /etc/modules'
Problemas com som podem ser resolvidos adicionando ao arquivo:
sudo gedit /etc/modprobe.d/snd-hda-intel
o texto:
options snd-hda-intel model=auto
Altere o arquivo:
sudo gedit /etc/default/alsa
alterando a linha para:
force_unload_modules_before_suspend="snd_hda_intel"
Crie o arquivo: sudo gedit /usr/lib/pm-utils/sleep.d/45sound
#!/bin/bash
if [ ! -x /sbin/alsa ]; then
exit 0;
fi
case "$1" in
hibernate|suspend)
/sbin/alsa suspend
;;
thaw|resume)
/sbin/alsa resume
;;
*)
;;
esac
exit $?
e depois:
sudo chmod +x /usr/lib/pm-utils/sleep.d/45sound
Para configurar swap file ou invés de uma partição: http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/ ou mais simples: sudo apt-get install swapd e configuração: # swapd.conf - config file for swapd # # Copyright 2000 Neven Lovric# # Memory limit in kilobytes. # When the total amount of free memory gets below this number, swapd creates # a new swap file. # 16384 or more recommended memlimit 85660 # Pause between memory checks in miliseconds. # When the total amount of free memory is above Link genérico: http://wiki.eeeuser.com/, swapd will pause # for miliseconds before checking memory again. # 1000 should be ok for most systems pause 1000 # Swap file size in kilobytes. # >= 64, 4096 recommended swapsize 131072 # Maximum number of swap files. # No more than swap files will be used. # 0 = unlimited (as many as the kernel will allow) # 8 = maximum number of swaps in the default kernel maxswaps 0 # Timeout in seconds. # If the last created swap file is unused for seconds, it will be # removed. The last created swapfile is considered unused when there are # more than + kb of free memory (physical + swap). # 60 is nice timeout 60 # Swap directory where all the swap files are kept. swapdir /swap # PID file (where the currently running swapd stores it's PID so a new swapd # can find it) pidfile /var/run/swapd.pid # Full path to mkswap. mkswap /sbin/mkswap
Postar um comentário