You are not logged in.

#1 2014-05-16 18:59:09

mindstalk
Member
Registered: 2014-05-16
Posts: 23

can't set compose key [SOLVED]

I was able to before, with
setxkbmap -option compose:lwin

But after kernel upgrade and reboot I get

setxkbmap -option compose:lwin
Error loading new keyboard description

setxkbmap -verbose 10 -option compose:lwin
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules:      evdev
model:      pc104
layout:     compose:ralt
options:    compose:lwin
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc+compose:ralt+inet(evdev)+compose(lwin)
geometry:   pc(pc104)
Error loading new keyboard description

That 'layout' looks wrong but I don't know where it would come from, I didn't set layout at all.  I get the same error if I try -option compose:ralt, for that matter, and Right Alt doesn't work as a compose key either.

Window environment is twm, same as before.

[solved: see posts 3 and 4]

Last edited by mindstalk (2014-05-18 17:42:40)

Offline

#2 2014-05-17 22:34:12

mindstalk
Member
Registered: 2014-05-16
Posts: 23

Re: can't set compose key [SOLVED]

No one?  I've restarted X, and I still get the "Error loading new keyboard description" message.

Offline

#3 2014-05-18 08:39:31

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: can't set compose key [SOLVED]

Personally I configure the Compose key in a '/etc/X11/xorg.conf.d/30-keyboard.conf' file:

Section "InputClass"
    Identifier             "Keyboard French layout"
    MatchIsKeyboard        "yes"
    Option                 "XkbLayout" "fr"
    Option                 "XkbOptions" "compose:rwin"
EndSection

Offline

#4 2014-05-18 17:41:49

mindstalk
Member
Registered: 2014-05-16
Posts: 23

Re: can't set compose key [SOLVED]

Hmm, I found a 00-keyboard.conf file, containing

# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "compose:ralt"
EndSection

dated May 2, so something I did caused that, but I don't remember editing such a file; like I said, setxkbmap had worked

Deleting that file and doing the old command straight didn't work, but 'setxkbmap -option compose:lwin -layout us' did.  Thanks!  You pointed me in the right direction.

Offline

Board footer

Powered by FluxBB