Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Delay registration of the a11y keyboard plugin to run after the
non-a11y keyboard one to avoid numlock state change conflicts.
|
|
|
|
This allows a customizable and possibly different beep sequence when a
togglekey is enabled or disabled. This is very useful for the user to
know for sure whether the feature got enabled or disabled.
Back in the days of buzzers, XKB was supposed to use different sounds
for each of those, but this is no longer the case now in the vast
majority of setups the beeps are intercepted and use a single recorded
sound.
XKB beeps are also unfortunately not configurable, although they
possibly should be on paper: in theory, one could alter the bell used
by listening to `XkbBellNotify` events, which provides a way to
discriminate bells through a name. Unfortunately XKB's togglekeys
seems to suffer from a bug (?) for a long time, in that it will always
ring the `AX_IndicatorOn` bell if there is *at least one* indicator on
at the moment the bell is rung, and `AX_IndicatorOff` if and only if
*all* indicators are off. This makes it virtually useless as it is not
possible to discriminate between an indicator getting turned on or off
in most cases, especially with NumLock which often stays always on.
Given this behavior dates at the very least as far back as X.org 1.16
which is from 2014, it probably is not very realistic to rely on a fix.
So instead implement togglekeys on our end by listening to the
`XkbIndicatorStateNotify` events.
|
|
|
|
Instead guard the caller to only use it if available.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes build warnings
|
|
|
|
|
|
and require libmatekbd and libmate-desktop >= 1.17
|
|
as done in g-s-d six years ago:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=5b2a28376a3aa81d865679e8c91d2f6beb8af799
|
|
it either does nothing or only calls parent functions
taken from
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=5ec1584de2b32b55098e579e403ac37d94ccef03
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=6808c3fe13c855dc17cf6048801f8e8a2ee634e2
|
|
taken from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=544526d
|
|
|
|
|
|
** (mate-settings-daemon:27918): WARNING **: /usr/lib64/mate-settings-daemon/liba11y-keyboard.so: undefined symbol: notify_notification_attach_to_status_icon
** (mate-settings-daemon:27225): WARNING **: /usr/lib64/mate-settings-daemon/libxrandr.so: undefined symbol: notify_notification_new_with_status_icon
liba11-keyboard change done similarily to GNOME, just removing it:
https://github.com/GNOME/gnome-settings-daemon/commit/e1ab570b0dce479ba235e5542ea07d1b5bafc4c9
|
|
|
|
|
|
|
|
|