Ubuntu – How To Disable Sticky Edges via Command Line

command linecompizunitywindow-manager

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?

Best 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