1 |
Olá a todos da lista. Meu teclado (abnt2) sempre funcionou |
2 |
perfeitamente, desde os tempos da 1.4. Porém, as últimas atualizações |
3 |
que realizei (incluindo baselayout e kbd), meu sistema passou a |
4 |
apresentar o seguinte problema: |
5 |
|
6 |
1) Acentuação não funciona em aplicativos como konsole, kopete, xterm, |
7 |
etc... |
8 |
2) Acentuação funciona normalmente em aplicativos como firefox, |
9 |
thunderbird, OpenOffice, etc... |
10 |
3) Acentuação não funciona no shell |
11 |
|
12 |
|
13 |
Versões: |
14 |
|
15 |
rodolfo ~ # qpkg -I -v baselayout |
16 |
sys-apps/baselayout-1.11.13 * |
17 |
|
18 |
rodolfo ~ # qpkg -I -v kbd |
19 |
sys-apps/kbd-1.12-r5 * |
20 |
|
21 |
|
22 |
Meus arquivos de configuração são os seguintes: |
23 |
|
24 |
rodolfo ~ # cat /etc/rc.conf |
25 |
# /etc/rc.conf: Global startup script configuration settings |
26 |
|
27 |
# UNICODE specifies whether you want to have UNICODE support in the console. |
28 |
# If you set to yes, please make sure to set a UNICODE aware CONSOLEFONT and |
29 |
# KEYMAP in the /etc/conf.d/consolefont and /etc/conf.d/keymaps config |
30 |
files. |
31 |
|
32 |
UNICODE="yes" |
33 |
|
34 |
# Set EDITOR to your preferred editor. |
35 |
# You may use something other than what is listed here. |
36 |
|
37 |
#EDITOR="/bin/nano" |
38 |
EDITOR="/usr/bin/vim" |
39 |
#EDITOR="/usr/bin/emacs" |
40 |
|
41 |
# What display manager do you use ? [ xdm | gdm | kdm | entrance ] |
42 |
#DISPLAYMANAGER="xdm" |
43 |
|
44 |
# XSESSION is a new variable to control what window manager to start |
45 |
# default with X if run with xdm, startx or xinit. The default behavior |
46 |
# is to look in /etc/X11/Sessions/ and run the script in matching the |
47 |
# value that XSESSION is set to. The support scripts are smart enough to |
48 |
# look in all bin directories if it cant find a match in /etc/X11/Sessions/, |
49 |
# so setting it to "enlightenment" can also work. This is basically used |
50 |
# as a way for the system admin to configure a default system wide WM, |
51 |
# allthough it will work if the user export XSESSION in his |
52 |
.bash_profile, etc. |
53 |
# |
54 |
# NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and |
55 |
startx |
56 |
# is called. |
57 |
# 2) even if ~/.xsession exists, if XSESSION can be resolved, it will |
58 |
# be executed rather than ~/.xsession, else KDM breaks ... |
59 |
# |
60 |
# Defaults depending on what you install currently include: |
61 |
# |
62 |
# Gnome - will start gnome-session |
63 |
# kde-<version> - will start startkde (ex: kde-3.0.2) |
64 |
# Xsession - will start a terminal and a few other nice apps |
65 |
|
66 |
#XSESSION="Gnome" |
67 |
|
68 |
rodolfo ~ # cat /etc/conf.d/keymaps |
69 |
# /etc/conf.d/keymaps |
70 |
|
71 |
# Use KEYMAP to specify the default console keymap. There is a complete |
72 |
tree |
73 |
# of keymaps in /usr/share/keymaps to choose from. |
74 |
|
75 |
#KEYMAP="us" |
76 |
KEYMAP="br-abnt2" |
77 |
|
78 |
|
79 |
# Should we first load the 'windowkeys' console keymap? Most x86 users will |
80 |
# say "yes" here. Note that non-x86 users should leave it as "no". |
81 |
|
82 |
SET_WINDOWKEYS="no" |
83 |
|
84 |
|
85 |
# The maps to load for extended keyboards. Most users will leave this |
86 |
as is. |
87 |
|
88 |
EXTENDED_KEYMAPS="" |
89 |
#EXTENDED_KEYMAPS="backspace keypad euro" |
90 |
|
91 |
|
92 |
# Tell dumpkeys(1) to interpret character action codes to be |
93 |
# from the specified character set. |
94 |
# This only matters if you set UNICODE="yes" in /etc/rc.conf. |
95 |
# For a list of valid sets, run `dumpkeys --help` |
96 |
|
97 |
DUMPKEYS_CHARSET="" |
98 |
|
99 |
|
100 |
rodolfo ~ # cat /etc/conf.d/consolefont |
101 |
# /etc/conf.d/consolefont |
102 |
|
103 |
# CONSOLEFONT specifies the default font that you'd like Linux to use on the |
104 |
# console. You can find a good selection of fonts in |
105 |
/usr/share/consolefonts; |
106 |
# you shouldn't specify the trailing ".psf.gz", just the font name below. |
107 |
# To use the default console font, comment out the CONSOLEFONT setting |
108 |
below. |
109 |
# This setting is used by the /etc/init.d/consolefont script (NOTE: if |
110 |
you do |
111 |
# not want to use it, run "rc-update del consolefont" as root). |
112 |
|
113 |
CONSOLEFONT="default8x16" |
114 |
|
115 |
# CONSOLETRANSLATION is the charset map file to use. Leave commented to use |
116 |
# the default one. Have a look in /usr/share/consoletrans for a |
117 |
selection of |
118 |
# map files you can use. |
119 |
|
120 |
#CONSOLETRANSLATION="8859-1_to_uni" |
121 |
|
122 |
|
123 |
rodolfo ~ # cat /etc/X11/xorg.conf|grep Xkb|grep -v ^# |
124 |
Option "XkbModel" "abnt2" |
125 |
Option "XkbLayout" "br" |
126 |
|
127 |
|
128 |
rodolfo ~ # dumpkeys --compose-only |
129 |
compose '`' 'A' to 'À' |
130 |
compose '`' 'a' to 'à' |
131 |
compose '\'' 'A' to 'Á' |
132 |
compose '\'' 'a' to 'á' |
133 |
compose '^' 'A' to 'Â' |
134 |
compose '^' 'a' to 'â' |
135 |
compose '~' 'A' to 'Ã' |
136 |
compose '~' 'a' to 'ã' |
137 |
compose '"' 'A' to 'Ä' |
138 |
compose '"' 'a' to 'ä' |
139 |
compose 'O' 'A' to 'Å' |
140 |
compose 'o' 'a' to 'å' |
141 |
compose '0' 'A' to 'Å' |
142 |
compose '0' 'a' to 'å' |
143 |
compose 'A' 'A' to 'Å' |
144 |
compose 'a' 'a' to 'å' |
145 |
compose 'A' 'E' to 'Æ' |
146 |
compose 'a' 'e' to 'æ' |
147 |
compose ',' 'C' to 'Ç' |
148 |
compose ',' 'c' to 'ç' |
149 |
compose '`' 'E' to 'È' |
150 |
compose '`' 'e' to 'è' |
151 |
compose '\'' 'E' to 'É' |
152 |
compose '\'' 'e' to 'é' |
153 |
compose '^' 'E' to 'Ê' |
154 |
compose '^' 'e' to 'ê' |
155 |
compose '"' 'E' to 'Ë' |
156 |
compose '"' 'e' to 'ë' |
157 |
compose '`' 'I' to 'Ì' |
158 |
compose '`' 'i' to 'ì' |
159 |
compose '\'' 'I' to 'Í' |
160 |
compose '\'' 'i' to 'í' |
161 |
compose '^' 'I' to 'Î' |
162 |
compose '^' 'i' to 'î' |
163 |
compose '"' 'I' to 'Ï' |
164 |
compose '"' 'i' to 'ï' |
165 |
compose '-' 'D' to 'Ð' |
166 |
compose '-' 'd' to 'ð' |
167 |
compose '~' 'N' to 'Ñ' |
168 |
compose '~' 'n' to 'ñ' |
169 |
compose '`' 'O' to 'Ò' |
170 |
compose '`' 'o' to 'ò' |
171 |
compose '\'' 'O' to 'Ó' |
172 |
compose '\'' 'o' to 'ó' |
173 |
compose '^' 'O' to 'Ô' |
174 |
compose '^' 'o' to 'ô' |
175 |
compose '~' 'O' to 'Õ' |
176 |
compose '~' 'o' to 'õ' |
177 |
compose '"' 'O' to 'Ö' |
178 |
compose '"' 'o' to 'ö' |
179 |
compose '/' 'O' to 'Ø' |
180 |
compose '/' 'o' to 'ø' |
181 |
compose '`' 'U' to 'Ù' |
182 |
compose '`' 'u' to 'ù' |
183 |
compose '\'' 'U' to 'Ú' |
184 |
compose '\'' 'u' to 'ú' |
185 |
compose '^' 'U' to 'Û' |
186 |
compose '^' 'u' to 'û' |
187 |
compose '"' 'U' to 'Ü' |
188 |
compose '"' 'u' to 'ü' |
189 |
compose '\'' 'Y' to 'Ý' |
190 |
compose '\'' 'y' to 'ý' |
191 |
compose 'T' 'H' to 'Þ' |
192 |
compose 't' 'h' to 'þ' |
193 |
compose 's' 's' to 'ß' |
194 |
compose '"' 'y' to 'ÿ' |
195 |
compose 's' 'z' to 'ß' |
196 |
compose 'i' 'j' to 'ÿ' |
197 |
|
198 |
|
199 |
rodolfo ~ # dumpkeys -i |
200 |
keycode range supported by kernel: 1 - 255 |
201 |
max number of actions bindable to a key: 256 |
202 |
number of keymaps in actual use: 8 |
203 |
of which 1 dynamically allocated |
204 |
ranges of action codes supported by kernel: |
205 |
0x0000 - 0x00ff |
206 |
0x0100 - 0x01ff |
207 |
0x0200 - 0x0213 |
208 |
0x0300 - 0x0313 |
209 |
0x0400 - 0x0405 |
210 |
0x0500 - 0x05ff |
211 |
0x0600 - 0x0603 |
212 |
0x0700 - 0x0708 |
213 |
0x0800 - 0x08ff |
214 |
0x0900 - 0x0919 |
215 |
0x0a00 - 0x0a07 |
216 |
0x0b00 - 0x0bff |
217 |
0x0c00 - 0x0c07 |
218 |
0x0d00 - 0x0dff |
219 |
number of function keys supported by kernel: 256 |
220 |
max nr of compose definitions: 256 |
221 |
nr of compose definitions in actual use: 68 |
222 |
|
223 |
|
224 |
|
225 |
Se alguém tiver alguma dica... |
226 |
|
227 |
|
228 |
[ ]s |
229 |
|
230 |
Rodolfo Penha |
231 |
-- |
232 |
gentoo-user-br@g.o mailing list |