Ubuntu – Shortcut to “mate-screenshot -a” not working in Ubuntu MATE 16.04

matescreenshotshortcut-keys

Just installed MATE on my laptop running Ubuntu 16.04 and I tried to get to mate-screenshot the same behaviour as gnome-screenshot does in Unity: just press Shift+Print to choose the portion of the screen that you want to capture. The corresponding command to be executed under MATE should be "mate-screenshot -a", executing it manually works, but trying to set it as custom shortcut doesn't work, it does nothing.

Any ideas?

Best Answer

There is still an opened issue for that. tl;dr: this is a timing problem with focus. workaround:

bash -c "sleep 0.1 && mate-screenshot -a"