Disable middle click
- Inicie sesión ou rexístrese para enviar comentarios
How do stop middle click on the title bar from closing apps?
I cannot find a setting in Marco. I keep hitting it by accident.
Thanks.
This seems to be controlled by some gnome settings that can be manipulated with the "gsettings" command.
$ gsettings list-keys org.mate.Marco.general
will list they keys, among which there is action-middle-click-titlebar.
Although I am not using mate and marco, when I try
$gsettings get org.mate.Marco.general action-middle-click-titlebar
it returns 'lower'.
Perhaps you could try setting it to something else or empty, e.g.
$ gsettings set org.mate.Marco.general action-middle-click-titlebar ''
Perhaps it is necessary to restart marco to see the effect (logout probably does that). If this doesn't change things as you want, you could try putting something like 'none' insteady. I noticed 'menu' exists, you could try that.
Does anyone know a documentation that lists the keys used by marco and their possible values? This is one thing I find irritating with MATE and marco, I cannot find any documentation of these settings.
I am now using fvwm, although it is not that easy to configure, at least it is easy to find a complete documentation on how to do it.
dconf editor says that org.mate.Marco.general action-middle-click-titlebar default value is 'lower' and the description states that the 'none' option will not do anything, as confirmed by running:
gsettings describe org.mate.Marco.general action-middle-click-titlebar
You should thus be able to deactive it by changing the value to 'none' in dconf, or running:
gsettings set org.mate.Marco.general action-middle-click-titlebar 'none'
Thanks. When searching gsettings, I missed this "describe" command, very useful.
Are you aware about any documentation of gsettings/dconf?
The man/info page gives the same like "gsettings help".
I am afraid I only know about the gsettings man page.
I usually go for the dconf editor, which is admittedly not very helpful if you have no idea where to look at in the first place, but the same could be said about gsettings. It still provides a good starting point to exploring this jungle of hidden settings or, as the Gnome page nicely sums it up, "editing options not exposed in some applications interface."
Thanks. I tried this workaround-
xinput list
I figured out that the trackpoint a device 10
xinput get-button-map 10
and by trial and error found middleclick is the third column.
Then:
xinput set-button-map 10 1 2 0 4 5 6 7
- Inicie sesión ou rexístrese para enviar comentarios