5

I have a Compose key on my keyboard, but use the NumLock key for other purposes whilst using the numpad for entering numbers only. So I don't really need a NumLock indicator, but would like to use this LED to indicate that the Compose key is active. Among the ready-to-use xkb templates I can't find one which would do this job. Here is my xkb/compat/lednum file:

// Use the Num Lock LED to show either
// Num Lock, Group, or Shift Lock state.

default partial xkb_compatibility "num_lock" {
    indicator "Num Lock" {
        !allowExplicit;
        whichModState= Locked;
        modifiers= NumLock;
    };
};

partial xkb_compatibility "group_lock" {
    indicator "Num Lock" {
        modifiers= None;
        groups=All-group1;
    };
};

partial xkb_compatibility "shift_lock" {
    indicator "Num Lock" {
        whichModState= Locked;
        modifiers= Shift;
    };
};

My version of X.org is 7.6 on an openSuSE 13.2 (x86_64) platform.

Can anybody please give me a hint? Thank you.

Chris Snow
  • 23,813
  • 35
  • 144
  • 309
Neppomuk
  • 1,102
  • 1
  • 11
  • 24
  • In `xkb/keycodes/evdev` (on my computer) there is this line: `indicator 4 = "Compose";` Maybe that is for compose/`Multi_Key`. However, it does not seem to work for me, judging by the output of `xset q`. – Guildenstern Mar 09 '19 at 18:52
  • I've already tried that out. No use. – Neppomuk Mar 09 '19 at 21:17

0 Answers0