- Debian 8.3
- Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
- Dell Latitude 5420
XMonad window manager, some applets (in
stalonetray) from mate desktop (nm-applet, power-manager applet) and
i3lock for locking the screen.
Usually everything works fine when resuming from sleep/hibernation/suspend, but sometimes after resuming from sleep, I enter the password which unlock the screen (i3lock), desktop content appears and I can move the mouse (both external USB and internal touchpad and trackpoint) - but keyboard (both laptop's builtin and external USB) doesn't work.
When this happens:
- the keyboard itself works - the CAPSLOCK/NUMLOCK leds reacts to pressing CapsLock or NumLock keys
- I can switch to console (CTRL-ALT-F1) and keyboard works in console and I can go back to X11 using (ALT-F7)
- but in X11, nothing reacts to keypresses
- pulling keyboard's USB connector out and back in doesn't help
- when I suspend the laptop again (from console) and resume, the
mate's screen locker appears but the keyboard still doesn't work.
What I tried:
My only solution is to manually kill
mate-screensaver from console and then the keyboard works in X11 again.
I think that perhaps mate-power-manager tries to lock the screen after I unlock it with i3lock, but somehow doesn't display itself..
What can I do to prevent
mate-* components from locking the screen or blocking the keyboard (assuming I'm correct)?