Command Line Screenshot – Capture Screen Area Without Desktop Environment

command linedwmscreenshotsoftware-rec

I'm running OpenSuse with dwm as a window manager. Since I made the switch from KDE, I haven't found a way to take a screenshot or even capture part of my screen.

Is there a way I can do this in a command-line environment?

Best Answer

The euphoniously named scrot takes screenshots from the command line...

It has a couple of simple options, including a time delay and image quality.

If you are wanting to take a shot in the console, and you are running a framebuffer, then you can use fbgrab.

Related Question