Difference between revisions of "Knoppix Remastering Howto Brazilian Portuguese"


From Knoppix Documentation Wiki
Jump to: navigation, search
(Autoexecutando Programas)
(Editing the KNOPPIX auto-configuration script)
Line 149: Line 149:
 
Quando você quer autoexecutar alguns programas, pode-se criar um script e pô-lo no diretório "<tt>/etc/rc5.d/</tt>", que executa itens antes de o ambiente X ser carregado. Pesquise o processo "init" para conhecer mais possibilidades.
 
Quando você quer autoexecutar alguns programas, pode-se criar um script e pô-lo no diretório "<tt>/etc/rc5.d/</tt>", que executa itens antes de o ambiente X ser carregado. Pesquise o processo "init" para conhecer mais possibilidades.
  
==Editing the KNOPPIX auto-configuration script==
+
=====Editando o script de auto-configuração do KNOPPIX=====
You can find a lot of interesting information about how KNOPPIX auto-configures you system by looking in the /etc/init.d/knoppix-autoconfig script. Of particular note are the following.
+
Você pode encontrar muita informação interessante sobre como KNOPPIX auto-configura seu sistema estudando o script "<tt>/etc/init.d/knoppix-autoconfig script</tt>". As seguintes configurações são particularmente notáveis.
  
===Changing the default KDE background image===
+
======Trocando a figura de plano de fundo do KDE======
The auto-configuration script sets the default KDE background image to be an image from the CD-ROM. An image that you can easily change when you are remastering KNOPPIX.
+
O script de auto-configuração configura como figura do plano de fundo padrão do KDE uma figura presente no CD-ROM. Esta figura pode ser facilmente trocada quando você está remasterizando o KNOPPIX.
** In KNOPPIX 3.3 and below it is /cdrom/KNOPPIX/background.gif
+
* No Knoppix 3.3 e abaixo ela está em "<tt>/cdrom/KNOPPIX/background.gif</tt>"
** In KNOPPIX 3.4 and above it is /cdrom/KNOPPIX/background.jpg
+
* No Knoppix 3.5 e acima ela está em "<tt>/cdrom/KNOPPIX/background.jpg</tt>"
 +
{?}Como trocar, então?{?}
  
===Editing floppy and CD-ROM use or adding a custom script===
+
======Editando o uso da unidade de disquete e de CD-ROM ou adicionando um script personalizado======
The auto-configuration script sets up both your CD-ROM and your floppy disk. The commands for doing this are 'floppyconfig' and 'cdromconfig', respectively. The auto-configuration script will also run cdrom/KNOPPIX/knoppix.sh, which is an easy script to change when remastering KNOPPIX.
+
O script de auto-configuração configura ambas as unidade de disquete e de CD-ROM. Os comandos que fazem isso são "<tt>floppyconfig</tt>" e "<tt>cdromconfig</tt>", respectivamente. O script de auto-configuração também executará "<tt>cdrom/KNOPPIX/knoppix.sh</tt>", o qual é um script fácil de alterar quando remasterizando.
  
===Changing the default boot parameters===
+
======Alterando os parâmetros de inicialização padrões======
All boot parameters obtain default values from the /etc/init.d/knoppix-autoconfig script. This is one massive BASH script (you best know your BASH to play with this), but it is the place that you can edit any of the default boot parameters. For example, to switch from 'kde' to 'twm' as default desktop just search for the place where 'kde' is provided as default value (variable DESKTOP, IIRC). Another example would be changing the default language can be changed.
+
Todos os parâmetros de "boot" obtêm valores padrões a partir do script "<tt>/etc/init.d/knoppix-autoconfig</tt>". Este é um script em "bash" muito complexo (você precisa conhecer bastante "bash" para lidar com ele), mas é o local onde você pode editar qualquer dos parâmetros padrões. Por exemplo, você poderia procurar ocorrências de "kde" para alterar para "twm" nas variáveis que indicam o desktop padrão (DESKTOP, IIRC, etc.). Outro exemplo poderia ser a mudança do idioma padrão.
  
 
Note, if you are interested in changing the default language KDE uses, the easiest thing to do is to load KDE, instructions are below, and use the KDE configuration utility to select your language of interest.
 
Note, if you are interested in changing the default language KDE uses, the easiest thing to do is to load KDE, instructions are below, and use the KDE configuration utility to select your language of interest.

Revision as of 22:05, 21 June 2007