[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dead keys won't work



Leandro Guimarães Faria Corcete Dutra wrote:
	I couldn't use dead keys to produce letter with diacritical
accents, nor get the Command key to act as Meta.  I've got a beige G3
with US ADB keyboard.  Can anyone give any tips?

	It's a long, long story.  Initially I had:

/etc/X11/XF86Config-4:

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"macintosh"
	Option		"XkbLayout"	"us_intl"
	Option		"XkbOptions"	"altwin:meta_win,altwin:menu"
EndSection


/var/log/XFree86.0.log:

(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "macintosh"
(**) XKB: model: "macintosh"
(**) Option "XkbLayout" "us_intl"
(**) XKB: layout: "us_intl"
(**) Option "XkbOptions" "altwin:meta_win,altwin:menu"
(**) XKB: options: "altwin:meta_win,altwin:menu"
(==) Keyboard: CustomKeycode disabled


/var/log/dmesg:

adb: starting probe task...
adb devices: [2]: 2 2 [3]: 3 1
ADB keyboard at 2, handler set to 3
Detected ADB keyboard, type ANSI.
input: ADB keyboard on adb2:2.02/input



~ $ xprop -root | grep XKB
CUT_BUFFER3(STRING) = "(**) |-->Input Device \"Generic Keyboard\"\n(**) Option \"XkbRules\" \"xfree86\"\n(**) XKB: rules: \"xfree86\"\n(**) Option \"XkbModel\" \"macintosh\"\n(**) XKB: model: \"macintosh\"\n(**) Option \"XkbLayout\" \"us_intl\"\n(**) XKB: layout: \"us_intl\"\n(**) Option \"XkbOptions\" \"altwin:meta_win,altwin:menu\"\n(**) XKB: options: \"altwin:meta_win,altwin:menu\"\n(==) Keyboard: CustomKeycode disabled\n"
CUT_BUFFER0(STRING) = "xprop -root | grep XKB"
_XKB_RULES_NAMES_BACKUP(STRING) = "xfree86", "macintosh", "us_intl", "", "altwin:meta_win,altwin:menu"
_XKB_RULES_NAMES(STRING) = "xfree86", "macintosh", "us_intl", "", "altwin:meta_win,altwin:menu"

~ $ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [us_intl]
 model = macintosh
 overrideSettings = false
 options = [altwin	altwin:menu]

~ $ dpkg -l xbase-clients libxklavier10 xserver-xfree86 capplets
Desejado=U=Desconhecido/Instalar/Remover/aPagar/H=Manter
| status=Não/Instalado/arquiv.-Config./U=Descomp./Falhou-config/H=semi-inst.
|/ Erro?=(nenhum)/H=Mantido/precisa-Reinst./X=os dois problemas (status,Erro: maiúsculas=ruim)
||/ Nome            Versão         Descrição
+++-===============-==============-============================================
||/ Nome             Versão          Descrição
+++-================-================-================================================
ii  xbase-clients    4.3.0.dfsg.1-12  miscellaneous X clients
ii  libxklavier10    2.0-0.1          X Keyboard Extension high-level API
ii  xserver-xfree86  4.3.0.dfsg.1-12  the XFree86 X server
ii  capplets         2.10.1-1         configuration applets for GNOME 2 - binaries files

~ $ uname -a
Linux dutra.dutras.dyndns.org 2.6.7-powerpc #1 Thu Jun 24 14:31:23 CEST 2004 ppc GNU/Linux

~ $

	Then I did some fiddling with gnome-keyboard-properties.
Strangely almost every time I change something there, my Gnome theme
switches to some default (ugly) theme and back.  I managed to get
accented characters, but I lost the right Alt (Option) key and I still
can't use the Command (Apple) key as Meta.

	At this moment I got:

~ $ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [us_intl,en_US]
 model = macintosh
 overrideSettings = false
 options = [grp	grp:alts_toggle,altwin	altwin:meta_win]

I don't know if this will help you, but I made option to act as alt_meta on my PB G4 (not a system wide setting, though this would be nice), and I can write with diacritics in Romanian.

I have in /desktop/gnome/peripherals/keyboard/xkb/options = [lv3 lv3:lwin_switch,grp grp:alts_toggle]

Note that I don't use dead keys.


PS:
/desktop/gnome/peripherals/keyboard/xkb/layouts = [ro ro_us,us]
/desktop/gnome/peripherals/keyboard/xkb/model = macintosh
/desktop/gnome/peripherals/keyboard/xkb/overrideSettings = false
/desktop/gnome/peripherals/keyboard/xkb/update_handlers = []

--
Regards,
EddyP
===========================
I had a favourite quote, but I forgot it. And it was insightful.



Reply to: