Issue: After my laptop comes back from suspend and I log in via lightdm, I have to use the mouse to open a terminal then type on the command line before my keyboard is responsive. I usually close the laptop with Firefox maximized and that is what is at the forefront after login. However, the keyboard is unresponsive in firefox until I've done as described above, type in a console. The keyboard is functional to allow me to login at lightdm's prompt, but not once having unlocked the system. I've turned off xscreensaver and still experience the issue. I've turned off lightlocker and still experience the issue.


  • Lenova G50 laptop
  • Ubuntu 15.04
  • lightdm (1.14.02)
  • xfce
  • xfwm4 (4.12.13)
  • xscreensaver (5.30)
  • Does it only work with a terminal or does it work with other applications? Does switching to a running terminal work? Which terminal emulator are you using, does it work with others? Do you have this problem only when Firefox is focused or also with other applications? – Gilles 'SO- stop being evil' Aug 22 '15 at 20:10

Found an answer which works for me here. The problems seems to be:

Apparently xfce4-power-manager and systemd were both creating suspend events at the same time, causing problems loading modules like keyboard drivers upon resuming.

If the xfce-power-manager is used to handle suspend, it is suggested to edit /etc/systemd/logind.conf and add:

  • 2
    I actually already had this in my logind.conf with no positive result. I did discover gnome-screensaver and xscreensaver running, which leads me to believe that the two were creating a keygrab conflict. I purged xscreensaver to doubly ensure it wouldn't run in the future and I haven't had the issue since, but I've tried so many things at this point, I can't say for certain what has made the difference. – user1171780 Oct 5 '15 at 11:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.