Terminal leve

De MochilaWiki
Ir para navegaçãoIr para pesquisar

Debian Squeeze + DirectFB + XFCE

Instalei o Debian Squeeze Netinstall

echo "deb http://debian.las.ic.unicamp.br/debian/ stable main contrib non-free" > /etc/apt/sources.list
apt-get update
apt-get install libdirectfb-bin qingy locales-all bzip2 abiword gnumeric unrar zip patch \
unzip p7zip-full fluxbox idesk pcmanfm xorg eterm xulrunner-1.9.1
cd /tmp
wget http://pub.nkosi.org/patch/patch-grub
wget http://pub.nkosi.org/patch/patch-inittab
wget http://pub.nkosi.org/firefox/firefox.desktop
wget http://pub.quijaua.com.br/firefox/firefox50.xpm
wget http://pub.nkosi.org/firefox/firefox-10.0.1.tar.bz2
wget http://pub.nkosi.org/idesk/fundo.jpg
tar jxvf firefox-10.0.1.tar.bz2
mv firefox /usr/share/
mv fundo.jpg /opt/
mv firefox50.xpm /usr/share/icons/
mv firefox.desktop /usr/share/applications/
ln -s /usr/share/firefox/firefox /usr/bin/firefox
cd /boot/grub
patch < /tmp/patch-grub
cd /etc
patch < /tmp/patch-inittab
echo "" >> /etc/network/interfaces
echo "auto eth0" >> /etc/network/interfaces
echo "iface eth0 inet dhcp" >> /etc/network/interfaces
echo "export LANGUAGE=pt_BR" >> /etc/profile
echo "export LC_ALL=pt_BR" >> /etc/profile
echo "export LANG=pt_BR" >> /etc/profile
wget http://pub.nkosi.org/idesk/abiword.lnk
wget http://pub.nkosi.org/idesk/default.lnk
wget http://pub.nkosi.org/idesk/firefox.lnk
wget http://pub.nkosi.org/idesk/startup
mkdir ~/.idesktop
mv *.lnk ~/.idesktop
mv startup ~/.fluxbox/

em debian lenny

apt-get install libdirectfb-bin libgtk-directfb-2.0-0 qingy \
xfce4 thunar-archive-plugin thunar-media-tags-plugin thunar-volman

Qingy na inicialização

troque em /etc/inittab de 54 ate 59 por

1:2345:respawn:/usr/sbin/qingy tty1
2:23:respawn:/usr/sbin/qingy tty2
3:23:respawn:/usr/sbin/qingy tty3
4:23:respawn:/usr/sbin/qingy tty4
5:23:respawn:/usr/sbin/qingy tty5
6:23:respawn:/sbin/getty 38400 tty6

na linha 124 /boot/grub/menu.lst altera

kernel          /boot/vmlinuz-2.6.26-1-686 root=/dev/sda1 ro quiet

para

kernel          /boot/vmlinuz-2.6.26-1-686 root=/dev/sda1 ro quiet video=vesafb:ywrap,mtrr vga=788 


Temas no Qingy

  • Pegue temas aqui http://qingy.sourceforge.net/themes.php
  • O diretório padrão é /usr/share/qingy/themes
  • Na linha 65 do arquivo /etc/qingy/settings troque theme = "default" pelo nome da pasta-tema
  • Desabilite o gdm (ou kdm/xdm/wdm) na inicializacao: # update-rc.d -f gdm remove

XFCE em portugues-brasileiro

echo "export LANGUAGE=pt_BR" >> $HOME/.profile
echo "export LC_ALL=pt_BR" >> $HOME/.profile
echo "export LANG=pt_BR" >> $HOME/.profile

ou para sistema todo

echo "export LANGUAGE=pt_BR" >> /etc/profile
echo "export LC_ALL=pt_BR" >> /etc/profile
echo "export LANG=pt_BR" >> /etc/profile

material consultado