Recently I have been facing multiple system freezes where I could move the cursor, but nothing would respond. I couldn't click on anything.
I could, however, switch between open apps using Alt+Tab, but still could not interact with them using the mouse.
I could open new terminals using Ctrl+Alt+T, yet mouse would not work!
In Windows, when a similar event happened, I could easily restart explorer.exe
and everything would go back to normal. Is there anything like that in Ubuntu?
I'm asking this because rebooting is not always an option, neither is logging-out, since I may have running scripts/apps doing their chores. Also killing the app(s) that consume a lot of CPU is not an option always since I rarely face such occasions and more often than not, the cause of system freezing is not CPU usage.
sudo lightdm restart
? – Kev Inski Apr 24 '18 at 10:55sudo service lightdm restart
. – Hossein Apr 24 '18 at 14:37