Configuração inicial do Raspbian Pixel (Raspberry Pi 3)


REMOVER PACOTES DESNECESSÁRIOS:
sudo apt-get remove --purge wolfram-engine penguinspuzzle scratch dillo squeak-vm squeak-plugins-scratch sonic-pi idle idle3 netsurf-gtk netsurf-common realvnc-vnc-server realvnc-vnc-viewer bluej geany greenfoot nodered claws-mail minecraft-pi epiphany-browser

sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get clean

sudo rm -rf /home/pi/python_games
sudo rm -rf /opt/vc

ALTERAR REGIÃO:
export LANGUAGE=pt_BR.UTF-8
export LANG=pt_BR.UTF-8
export LC_ALL=pt_BR.UTF-8
sudo locale-gen pt_BR.UTF-8

ATUALIZAR: sudo apt-get update && sudo apt-get upgrade -y

CONFIGURAR O MONITOR DE TEMPERATURA:
#00bfff
60-68

NETFLIX:
wget https://github.com/kusti8/chromium-build/releases/download/netflix-1.0.0/chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb

sudo dpkg -i chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb

MPEG-2 & VC-1:
sudo nano /boot/config.txt
decode_MPG2=0x00000000
decode_WVC1=0x00000000
vcgencmd codec_enabled MPG2
vcgencmd codec_enabled WVC1

FIX MOUSE:
sudo nano /boot/cmdline.txt
usbhid.mousepoll=0

CONFIGURAR IMPRESSORA:
sudo apt-get install cups hplip hplip-gui
sudo usermod -a -G lpadmin pi
sudo nano /etc/cups/cupsd.conf

----------------------------------------------------------
# Only listen for connections from the local machine
# Listen localhost:631
Port 631
----------------------------------------------------------
# Restrict access to the server...
<Location />
  Order allow,deny
  Allow @local
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
  Allow @local
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
  Allow @local
</Location>
----------------------------------------------------------

sudo /etc/init.d/cups restart

TRANSMISSION:
sudo apt-get install transmission
xdg-mime default transmission-gtk.desktop x-scheme-handler/magnet