Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-01-2016, 12:21 PM   #1
Registered: Nov 2015
Posts: 248

Rep: Reputation: Disabled
Scrot issue

Hi, can anyone tell me how to take a screenshot without the terminal window in the picture please, I have tried to do the delay and then minimize the screen, and it won't take the shot and I can't think of another way to do it with only the one screen.

UPDATE: Clarification, I am on a Raspberry Pi, and the screenshot program of choice appears to be "Scrot", but it is a command line only program and I was curious as to how you take a screenshot without a big black Terminal window in the screenshot...if it's possible.

Last edited by iFunction; 03-01-2016 at 02:27 PM.
Old 03-01-2016, 12:41 PM   #2
Senior Member
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,667

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
Hi, please describe what/when/where you are on. Many people probably don't understand immediately what "Scrot" is until doing some undesired googling. Framing your question properly and stipulating conditions around the problem can do much for others to understand and provide immediate help as needed.

We are willing to help. But help us understand first what is the problem and what have you tried solving it. That way we can solve the problem sooner than not.

You can edit your post, for greater audience attention.
1 members found this post helpful.
Old 03-01-2016, 03:58 PM   #3
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 3,994
Blog Entries: 1

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
$ sleep 5 && scrot

I use a wm that lets me set a hotkey to trigger the command which avoids that issue. Various other ways to delay the execution with sleep. And perhaps other tricks with xrandr to set a larger screen size that you crop later. On my intel GPU I can have a virtual desktop of 4096x4096 pixels. Although my monitor only lets me view 1920x1080 at a time. You could probably log into a console (cntrl+alt+F#) and delay it then hotkey back to the X session (alt+F#). Although you'll need to manually set $DISPLAY that route. Various routes and scrot isn't the only screencap program.
1 members found this post helpful.
Old 03-01-2016, 08:56 PM   #4
Registered: Nov 2015
Posts: 248

Original Poster
Rep: Reputation: Disabled
Thank you for the insight, you've answered my question nicely, basically it is possible just a little convoluted. Assigning a hot key is the one that upsets me because I feel a little on the stupid side for not even thinking about that, but now you've put it in my head, you have given me the most brilliant idea: just get a numeric key pad to hook up to the pins, and suddenly, you have a means of doing some of these little tasks that we take for granted on Windows or Mac. I have a couple of scripts that would benefit from just the click of a button.

Thanks for the inspiration. Will post back any solutions I find.

Old 03-02-2016, 08:53 AM   #5
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ Win10
Posts: 9,511

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
keyboard shortcuts to fire off scrot, which depends on which WM/DT you're using for your keyboard bindings.
use a different screenshot app like xfce4-screenshooter


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] What to do after I ran scrot command AlexBB Linux - Newbie 2 03-08-2014 09:27 PM
Using SCROT to capture portion of window efittery Linux - Software 2 01-26-2010 08:06 PM
Question relating to Scrot shazam75 Linux - Software 4 04-13-2006 05:12 AM
enlightenment and scrot jon1117 Linux - Software 0 07-12-2004 09:00 PM
How to install scrot? macleo Linux - Software 0 07-06-2004 11:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration