# GTK+ Input Method Modules file
# Automatically generated file, do not edit
# Created by usr/bin/gtk-query-immodules-2.0 from gtk+-2.12.7
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Meu teclado não tem "alt gr" (pelo menos tá escrito só "alt"). Ele é
daqueles que não tem as teclas do Windows e nem aquela tecla que faz o
mesmo que o botão direito do mouse.
/etc/rc.conf
KEYMAP="us-acentos"
/etc/X11/xorg.conf
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us_intl"
Option "XkbVariant" ""
EndSection
Eu adicionei no final do /etc/profile:
export GTK_IM_MODULE=cedilla
Tenta aí. Depois das alterações reinicia para tudo fazer efeito.
Ah! Outra coisa que você pode fazer é alterar o arquivo
/etc/gtk-2.0/gtk.immodules . Nele altere a linha:
"/usr/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so"
"cedilla" "Cedilla" "gtk20" "/usr/share/locale" "az:ca:co:fr:gv:oc:pt:sq:tr:wa"
E adicione :en no final. Fica assim:
"/usr/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so"
"cedilla" "Cedilla" "gtk20" "/usr/share/locale"
"az:ca:co:fr:gv:oc:pt:sq:tr:wa:en"
Eu não precisei fazer isso, mas já vi gente comentando.
Avisa o resultado dessas alterações.
Abraços.
--
[]'s
Hugo Doria
http://hdoria.archlinux-br.org
:wq
Bingo. Era só exportar a tal da variável GTK_IM_MODULE. Funciona
normal, com "acento agudo + c".
Engraçado, meu teclado é americano mas no xorg.conf tá como abnt2 e
funciona de boa.
Ficou assim:
</etc/rc.conf>
KEYMAP="us-acentos"
</etc/X11/xorg.conf>
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "abnt2"
Option "XkbLayout" "us"
Option "XkbVariant" "alt-intl"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Exatamente assim que resolvi meu pro. Bom saber que funcionou para
você também. Agora é só esperar para ver se vai funcionar para o Hugo
Takeo. :)