~sneetsher/indicator-xkbmod/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# indicator-xkbmod

Keyboard modifiers state indicator for Ubuntu Unity desktop. As current state, it's just a prototype.

Unity lacks such accessibility tools which most likely needed when sticky keys is activated.<br>
See [How to add a keyboard modifier state applet to Unity panel?](
https://askubuntu.com/questions/402315/how-to-add-a-keyboard-modifier-state-applet-to-unity-panel/).

![Demo: icon mode in Unity](/screenshots/demo_icon_unity.png)

![Demo: label mode in Unity](/screenshots/demo_label_unity.png)

### Related Bugs Report

- [lp#773078 Should display the StickyKeys status in some way (a11y)](
https://bugs.launchpad.net/unity/+bug/773078)
- [lp#1306584 No keyboard state applet in Unity](
https://bugs.launchpad.net/ubuntu/+bug/1306584)

### Daily build PPA

https://code.launchpad.net/~sneetsher/+recipe/indicator-xkbmod-daily

### Build from source

    autoreconf -vif
    ./configure
    make
    sudo make install

### Build Debian package

    debuild -us -uc
    sudo dpkg -i indicator-xkbmod*.deb

### Running

- default mode:

        indicator-xkbmod

- label mode:

        indicator-xkbmod -l

- filter needed modifiers (10110011 binary = 205 decimal)

        indicator-xkbmod -f 205

    shows only shift,control,alt,super,altgr