大数据之Ubuntu学习笔记
Ubuntu环境下鼠标无法点击
问题描述
在Ubuntu下使用idea构建maven项目时,鼠标无法点击,但可以在屏幕上移动
解决方法
1.使用快捷键Shift+Ctrl+T打开另一个终端
2.输入metacity --replace
若出现“Command ‘metacity’ not found, but can be installed with:”
只需要按照所给的“sudo apt install metacity”执行就可以了
3.重新输入metacity --replace,无返回值,接着输入compiz --replace
这时鼠标就可以点击了,按快捷键Alt+Tab切回之前的页面就可以了