Ask Your Question

Imagemagick import problems

asked 2013-01-02 13:14:02 -0500

updated 2013-01-02 13:31:18 -0500

hhlp gravatar image

Hi! I am usig imagemagick import function to capture screens but getting this probem. Whenever i make screenshot of my maximized window (web browser) in image all small windows behind it can be seen. Example:

image description

When taking screenshot, browser was maximized and i could not see terminal by myself. It was somewhere behind. Is there a way to avoid this? So i dont see any other window from behind? Maybe other tool to make screenshots? Thanks!

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2013-01-02 15:15:27 -0500

hhlp gravatar image

scrot A simple command-line screenshot utility for X, which is available in the official repositories, enables taking screenshots from the CLI and offers features such as a user-definable time delay. Unless instructed otherwise, it saves the file in the current working directory.

scrot -t 20 -d 5

The above command saves a dated .png file, along with a thumbnail (20% of original), for Web posting. It provides a 5 second delay before capturing in this instance.

You can also use standard date and time formatting when saving to a file. e.g.,

scrot ~/screenshots/%Y-%m-%d-%T-screenshot.png

saves the screenshot in a filename with the current year, month, date, hours, minutes, and seconds to a folder in your home directory called "screenshots"

See man scrot for more information. You can simply automate the file to uploaded like so github

edit flag offensive delete link more

answered 2013-01-02 13:44:18 -0500

hhlp gravatar image

updated 2013-01-02 13:54:22 -0500

It seen a imagemagick bug, so to correct this situation feel free to fill a bug in Red Hat Bugzilla against the packed imagemagick. but you can use other tools for example :

Shutter is a feature-rich screenshot program. You can take a screenshot of a specific area, window, your whole screen, or even of a website – apply different effects to it, draw on it to highlight points, and then upload to an image hosting site, all within one window.

sudo yum install shutter

edit flag offensive delete link more


you can use shutter in command line open a terminal -> shutter --help also gome-screenshot has a cli -> gnome-screenshot --help

hhlp gravatar imagehhlp ( 2013-01-02 14:58:21 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-01-02 13:14:02 -0500

Seen: 403 times

Last updated: Jan 02 '13