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

Dead keys won't work



	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]

~ $ 


	Then I deleted grp:alts_toggle with gconf-editor, but I still
haven't got meta_win working.  After a few minutes, everything started
working, but not in GNU Emacs where I need Meta more.  That is, it
worked for a moment and then stopped.

	Now I understand that what I did was done only for my Gnome
account.  I would like to (1) make it standard for all X accounts and
(2) make it also for the console.

	Tips?  Like, should I just delete some gconf keys to let X
work?


	TIA!



Reply to: