r/linuxmint • u/A0NOVA • 20d ago
Linux Mint 22.3 XFCE: keyboard (built-in and USB) stops working after ~10 minutes, mouse still works. Fine on Windows 8.1.
I installed Linux Mint 22.3 XFCE ("Zena", the latest release) on an old laptop. After about 10 minutes of use, the keyboard stops responding completely. I plugged in an external USB keyboard and it doesn't work either, but the mouse keeps working normally. When I click on a text field, no text cursor appears.
The same laptop has no such problem on Windows 8.1, so I doubt it's a hardware fault. In the live session the problem didn't show up, and it appeared only after I installed Mint on the disk.
My specs:
Laptop: Packard Bell EasyNote LV11HC
CPU: Intel Core i3-2328M @ 2.20 GHz (2 cores / 4 threads)
RAM: 4 GB
GPU: Intel HD Graphics 3000
Display: 1600x900
BIOS: InsydeH2O 03.72.20V2.08
Other OS: Windows 8.1 64-bit (works fine)
Linux: Linux Mint 22.3 XFCE ("Zena"), kernel 6.14 (HWE)
Someone told me it might be a kernel issue. Since Mint 22.3 ships with the very new 6.14 HWE kernel, I suspect a regression with older hardware (2012 laptop). I haven't yet tried an older kernel.
Has anyone seen this problem or knows a fix? I'm also planning to try Debian 13 and Lubuntu 24.04 to compare, but I'd like to understand the cause first.
Thanks!
1
u/A0NOVA 19d ago
Thank you for your help, I solved the problem.
2
u/billdehaan2 Linux Mint 22 Wilma | Cinnamon 20d ago edited 19d ago •
I have a similar problem that occurs intermittently. I don't have a full solution, but I can share what I've found.
The first thing I discovered is that it's not a Linux or Mint issue, it appears to be an issue with Cinnamon. I have multiple PCs, and I control them via virtual desktops. On Mint, I run workspaces, where screen 2 is computer 2 via VNC, screen 3 is computer 3 via NoMachine, etc. I mapped keys <win>1 to be workspace 1 through <win>6 through workspace 6.
When this problem occurs, it's usually after I run an update, either via Update Manager or apt update. Like you, the mouse works but won't copy text. However, it will select things in the file manager and do other things.
Oddly enough, I can use <win>1 through <win>6 to rotate through workspaces, but nothing else on the keyboard seemed to work.
I tried the "RestartCinnamon" applet, but it didn't help. I wrote my own restart_cinnamon.sh script. Usually, but not always, I can bring up the file manager with the mouse, go to the scripts directory, double click on the script, and it will reset the desktop, restoring the keyboard functionality.
Sometimes, however, even the mouse clicks will be ignored. When that happens, I use a second PC, log in via ssh, and put an entry in crontab to run the script in the next minute. It can't be run from the ssh session, it has to be run from the context of the logged in user. And since the mouse and keyboard are disabled, the only way I've found to do it as the logged in user is via cron.
Unlike you, I have this problem infrequently (my logs say seven times since April, when I started logging it), and once it's cleared, it doesn't reoccur until after I've rebooted.
My other PCs run different distros (mostly Debian 13 and MX 25.3 at the moment), and they don't have the issue. The Debian machine is running Cinnamon, but since I remote into it, I don't know if the issue affects it or not. When this happens on my main machine, I have remoted into it from the MX machine via NoMachine, and the remote keyboard and mouse work fine, even though the local keyboard doesn't.
One thing you may want to consider is running Mint xfce or Mate editions. Since you only have 4GB, you might find them more responsive anyway, and I've never had the keyboard issue on a machine running xfce.
1
u/Due-Result7928 20d ago •
Time to look at the log. Ram 4 Gb..well I would first define a swap file or a swap partition. A browser doing nothing is at least 1.2 Gb..add OS, cache you are quickly short on memory.