This question already has an answer here:

So I have a really stupid problem: I followed this tutorial (Drawing over the desktop) and accidentally mapped the "Initiate line" hotkey to mousebutton 1, which means that left clicks are no longer registered and all that happens instaed is that I draw a green coloured line on my desktop that stays until I reboot my pc. I was wondering if there was a way to fix this issue using only terminal, which is pretty much the only application I can use right now. The graphics interface of compizconfig-settings-manager is pretty much completely inaccessible now.

Thanks in advance!

marked as duplicate by Elder Geek, Zanna, Pilot6, waltinator, MadMike Feb 24 '17 at 7:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


From the CCSM Main screen (click) Preferences -> (click) Rest to defaults.

After making changes you can save various configurations and use this same screen to restore to a working configuration. This way if it becomes unusable again, you won't have to back all the way back to the defaults. You can restore a previous configuration.

Many of the settings under CCSM can be found in the Unity Tweak Tool. Install this to gain control over the corrupted settings:

$ sudo apt install unity-tweak-tool

This command will get restore most of the defaults:

$ unity-tweak-tool --reset-unity

You may have to run the command unity to load the new settings.

  • Here is the problem though: I can't click. Whenever I try to, it draws a line on my monitor instead. Is there a way around that? – akinode Feb 23 '17 at 14:40
  • Try: gconftool-2 --recursive-unset /apps/compiz-1. Then run unity. – L. D. James Feb 23 '17 at 14:47

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