File: lednum

package info (click to toggle)
console-setup 1.164
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 28,464 kB
  • sloc: perl: 10,923; xml: 5,812; sh: 3,891; makefile: 785
file content (23 lines) | stat: -rw-r--r-- 501 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Use 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;
   };
};