PDA

View Full Version : Cannot save changes made via CompizConfig



lister171254
September 20th, 2017, 04:20 PM
I'm trying to change/disable the Move Window setting for the mouse; currently "<Alt>Button1". (see first attached)

Changing this to something like "<Alt>F9" disables the setting for the mouse(second screenshot). Great, that's what I want.

When I close ccsm and reopen the original setting is restored.

mc4man
September 20th, 2017, 05:49 PM
This is a wm preference. You can 'disable' it in very limited fashion, some wrong ways will also kill off the left button click which can be a real pita to fix.
Maybe something like this would prevent alt+button1 but not mess things up.. -

dconf write /org/gnome/desktop/wm/preferences/mouse-button-modifier '"<Alt><Super>Button1"'
To set back

dconf write /org/gnome/desktop/wm/preferences/mouse-button-modifier '"<Alt>"'

lister171254
September 20th, 2017, 05:59 PM
Tried your suggestion without succsess. I assume that change should show up when I list the preferences


llist@LeoGamesLT:~$ dconf list /org/gnome/desktop/wm/preferences/
mouse-button-modifier
theme
llist@LeoGamesLT:~$


I also tried dconf-editor, but any change I made screwed up the behaviour of the windows without solving the problem.

ccsm seems the be the only tool that has entries for both the mouse and the keyboard to move windows, so I thought this would be the obvious place to change this.

Also, the windows can all be moved by just holding the left mouse button. No <Alt> needed. Where is that defined?
Thanks

mc4man
September 20th, 2017, 10:09 PM
Tried your suggestion without succsess. I assume that change should show up when I list the preferences


llist@LeoGamesLT:~$ dconf list /org/gnome/desktop/wm/preferences/
mouse-button-modifier
theme
llist@LeoGamesLT:~$


I also tried dconf-editor, but any change I made screwed up the behaviour of the windows without solving the problem.

ccsm seems the be the only tool that has entries for both the mouse and the keyboard to move windows, so I thought this would be the obvious place to change this.

Also, the windows can all be moved by just holding the left mouse button. No <Alt> needed. Where is that defined?
Thanks

Works fine here in 16.04, what are you using?
Can also be done in cssm, the dconf command command would cause it to change or just put in there yourself. In rechecking the using of Button1 in dconf is superfluous, doesn't matter or hurt..

Attached really quick vid showing 1st changing in terminal, the changing back followed by changing in ccsm & then checking with gsettings
(vid is small & psuedo compressed due to forum limits..

Windows moving with just l. click sounds like this got screwed up a bit. Try to restore to the default of <Alt> before anything else.

lister171254
September 24th, 2017, 05:21 PM
Just to clarify my questions.


dconf list /org/gnome/desktop/wm/preferences/ doesn't list the change I made. I changed the (default) value from <Alt> to <Super>
cssm changes don't get saved. Why not

mc4man
September 25th, 2017, 05:32 AM
Just to clarify my questions.


dconf list /org/gnome/desktop/wm/preferences/ doesn't list the change I made. I changed the (default) value from <Alt> to <Super>
cssm changes don't get saved. Why not


Got me, super works fine as an alt replacement. Can you set all 3 windows shown to look like in screen?

lister171254
September 25th, 2017, 12:01 PM
While things work now, my two questions remain unanswered.

Screenshot of ccsm show now changes done via dconf-editor

kilaka
February 21st, 2018, 03:30 AM
Having the same problem. Posted a question on SE: https://askubuntu.com/questions/1008036/values-cannot-be-changed-in-compizconfig-system-manager