removido
(usa Nenhuma)
Enviado em 23/12/2010 - 22:07h
Olá Ruan, eu editei o 10-keymap.fdi, mesmo assim não funcionou, nem no LXDE nem no fwm.
O meu 10-keymap.fdi ficou assim:
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<!-- DO NOT EDIT THIS FILE - IT WILL BE OVERWRITTEN ON UPGRADES.
SEE THE "READ THIS" NOTE BELOW FOR INSTRUCTIONS -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
<match key="info.capabilities" contains="input.keys">
<!-- Restore Ctrl-Alt-Bksp Xserver Zapping -->
<merge key="input.xkb.options" type="string">terminate:ctrl_alt_bksp</merge>
<!-- Edit (as needed) these four lines in the copied fdi file -->
<merge key="input.xkb.rules" type="string">xorg</merge>
<merge key="input.xkb.model" type="string">abnt2</merge>
<merge key="input.xkb.layout" type="string">br</merge>
<merge key="input.xkb.variant" type="string">abnt2</merge>
</match>
</device>
</deviceinfo>
<!-- READ THIS FOR CUSTOM KEYBOARD INFORMATION
If you want to add a custom model/layout/variant to X, you will need to COPY
this file to /etc/hal/fdi/policy/ and edit that copy. After editing it to
suit, you will need to leave X, restart the HAL daemon, and start X again.
Here's an example of the four lines from above:
<merge key="input.xkb.rules" type="string">base</merge>
<merge key="input.xkb.model" type="string">abnt2</merge>
<merge key="input.xkb.layout" type="string">br</merge>
<merge key="input.xkb.variant" type="string">abnt2</merge>
Many desktop environments, including KDE and Xfce, have their own methods to
configure keyboard layouts and such if you'd like to use them.
If you prefer to use the "old" way of configuring keyboards (without HAL's
input device hotplugging), then you'll need to add the following lines to
the ServerFlags section of /etc/X11/xorg.conf:
Option "AllowEmptyInput" "false"
Option "AutoAddDevices" "false"
Option "AutoEnableDevices" "false"
You can now edit the Keyboard section of xorg.conf as usual.
-->
Sandro, sobre o xinitric, o meu slackware não tinha esse arquivo, eu o criei e fiz um teste simples, coloquei o firefox pra iniciar:
#/bin/sh
firefox &
Não aconteceu nada quando eu iniciei a sessão.
Fiz outro teste, colocando o comando pra iniciar o conky (por não precisar executá-lo como root), mas o X nem iniciou mais.
Bom, eu não me incomodo em ficar digitando esses dois comandos na inicialização, mas se eu pudesse automatizar isso ficaria bem melhor.
Vou dar mais uma pesquisada, mas realmente estou achando que o LXDE precisa de alguma maneira diferente de automatizar a inicialização de comandos.
Abraço