Gentoo Archives: gentoo-user-br

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