Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I know how to disable Sticky Edges via the Settings->Display UI, however, I want to be able to do it via command line or config file.

Does anyone know how to disable "sticky edges" via a command or config file?

Where does Ubuntu store the config option?

share|improve this question

2 Answers 2

It could be /org/compiz/profiles/Default/plugins/core/active-plugins key in dconf database:

  1. To check open terminal, run dconf watch /

  2. Open CompizConfig Settings Manager, try Enable and Disable required options. Watch for change in terminal.

  3. Use command dconf write KEY VALUE to set needed settings

Reference: man dconf, if you want to see all possible options, try dconf-editor

share|improve this answer

The following command disables the sticky edges:

dconf write /org/compiz/profiles/unity/plugins/unityshell/launcher-capture-mouse false

And this one re-enables them:

dconf write /org/compiz/profiles/unity/plugins/unityshell/launcher-capture-mouse true
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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