You are not logged in.

#1 2006-04-29 11:33:30

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Dead keys not working properly

I'm having a problem with my dead keys, which I think started after I ran locale-gen and added some alternative locales.
My setup is rather messy, sortof: I live in Denmark and want the Danish locale settings (I assume), but I want a Norwegian keyboard layout, and an English user interface.
I therefore have the following settings:

Here's the relevant section in my /etc/rc.conf file:

LOCALE="en_DK"
HARDWARECLOCK="UTC"
TIMEZONE=Europe/Copenhagen
KEYMAP=no-latin1
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

the output from locale -a:

C
POSIX
da_DK
da_DK.iso88591
da_DK.utf8
danish
dansk
en_DK
en_DK.iso88591
en_DK.utf8
en_GB
en_GB.iso88591
en_GB.utf8


The keyboard section from xorg.conf:

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "no,us"
    Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

And the Command line that is listed in the Keyboard Layout section in the KDE Control Center is:

setxkbmap -model compaqik13 -layout us,no -variant ,basic

Many programs complain that my locale is not supported - AbiWord says: "Gdk-WARNING **: locale not supported by Xlib") - but it has worked fine so far, so I haven't had the urge to sit down and figure out what's wrong, but now things have changed.

The setup above has given the following behaviour:
A single press of a dead key, such as the tilde character, gives nothing, but pressing a character which can use the tilde, produces that combined character, and pressing space gives the tilde as a separate character.
Now, the dead keys behave differentely, depending on application and DE. It seems to be related to KDE, at least to some extent.
1. I still get the old, expected behaviour in Leafpad, Bluefish, Firefox, Abiword, et al. - GTK-based apps, I assume - and in the console.
2. The dead keys don't work at all in KDE-apps like Kate, Kwrite etc. Pressing a dead key gives the associated character at once, if it exists as an independent character, otherwise, nothing happens (and "accent" + "e" gives a plain "e").  Opera works the same way.
3. In OO Writer, the behavior varies, depending on DE: if I open it under KDE, it works like the KDE apps, but under fluxbox, the dead keys are completely dead - nothing happens at all, neither with tildes nor with accents.


Can someone enlighten me here, or perhaps help me clean up my mess?

Offline

#2 2006-12-04 23:00:19

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: Dead keys not working properly

Sorry to re-awaken an old thread, but I'm having the exact same problem here. Everything used to work a while ago, but not anymore:

locale:

LANG=en_US.utf8
LC_CTYPE="sv_SE.utf8"
LC_NUMERIC="sv_SE.utf8"
LC_TIME="sv_SE.utf8"
LC_COLLATE="sv_SE.utf8"
LC_MONETARY="sv_SE.utf8"
LC_MESSAGES="sv_SE.utf8"
LC_PAPER="sv_SE.utf8"
LC_NAME="sv_SE.utf8"
LC_ADDRESS="sv_SE.utf8"
LC_TELEPHONE="sv_SE.utf8"
LC_MEASUREMENT="sv_SE.utf8"
LC_IDENTIFICATION="sv_SE.utf8"
LC_ALL=sv_SE.utf8

cat /etc/X11/xorg.conf | grep -i xkb

        Option          "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
#       Option      "XkbLayout" "se"
        Option       "XkbLayout" "se,gr"
        Option       "XkbVariant" ",polytonic"
        Option       "XKbOptions" "grp:shifts_toggle,grp_led:scroll"

The problem is as described above, in the previous post, and related to the Swedish keyboard layout. The polytonic greek works just fine (finally, after a couple of years!)

Offline

Board footer

Powered by FluxBB