On Ubuntu 14.04, if the keyboard shortcut does not work to take screenshots of a selected area, follow this link:
Shortly:
In /usr /local/ bin create a script with executable permissions and name it mate-screenshot.
This script introduces a delay that allows mate-screenshots to run the command with the '-a' option
In the script above, the second row, I put sleep 0. 5 to decrease the time, with 0. 1 is too short and it doesn't work.
Then create keyboard shortcuts:
Add->
Name: Select Area
Command: /usr/local/bin/mate-screenshot -a
Then match the desired keys. (I used Alt+A)
P.S.
My OS: Ubuntu Mate 14.04 Mate-utils 1.8.2+dfsg1-1~trusty1
On Ubuntu Mate 16. 04 (virtualized on VmWare) I had no need of this script,
I just added the 'mate-screenshot -a' command to the keyboard shortcuts.
Yes, mate-screenshot --interactive is the same command you can find in the mate menu (accessories- take screenshot).
In the other way you can have 3 separate keyboard shortcuts:
Print -> grab the whole desktop
Alt Print -> grab the current window
These two are default, plus the third one to grab the selected area.
I tested this workaround on Ubuntu Mate 14.04.
On Ubuntu Mate 16. 04 I just added the âmate-screenshot -aâ command to keyboard shortcuts (no need of scripts)
I have Ubuntu Mate 17.04 installed on a late 2008 MacBook, which does not have a Print key on the keyboard. My solution was to enabled screenshot key bindings by adding the following commands to CompizConfig Settings Manager > Commands.
mate-screenshot (Key Bindings p)
mate-screenshot -w (Key Bindings w)
mate-screenshot -a (Key Bindings a)
Very similar to what you did in UM 16.04, except for setting key bindings for all three.
I did not know this feature.
I installed gnome-screenschot via synaptic and with âgnome-screenshot -a -câ
I can directly copy the taken screenshot.
Grab the entire screen and grab current windows as default with Mate screenshots and related shortcuts.
To grab a selected area (without copy to clipboard):
Try first the commad mate-screenshot -a in a keybord shortcut , if it does not work (in UM 14.04) set:
Bash -c âDISPLAY =: 0.0 mate-screenshot -aâ ( see the link in post 6 for parameters of display )
n3. To grab a selected area with direct copy to the clipboard (no Gui) I used the workaround in my first post:
install gnome-screenshot
The script in /usr/local/bin , I renamed it gnome-screenshot and changed the third line
I made a shortcut
/usr/local/bin/gnome-screenshot -a -c
Otherwise, in UM 14.04, even for gnome-screenshot there is the same drawback as my first post, so you need to set a delay.
Strangely, if instead of the keyboard shortcut I want to use a panel launcher, there is no need of this workaround and the âgnome-screenshot -a -câ command works perfectly.
The same thing happened to me with âmate-screenshot -aâ: launcher works but shortcut doesnât.
However, I just called up the man-pages and there do seem to be terminal commands and options. Why not install it and see if it has what you are looking for?
The only drawback is that Shutter hasnât seen a new release in years. And I found some bugs that I wish someone would address. Well, letâs hope for the development to become more active again!
in ubuntu mate 14.04 just set the command to bash -c "sleep 0.05; mate-screenshot --area"
or whatever minimum sleep time is necessary for you. for some reason there have to be some sleep time. no need for additional script