LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-23-2004, 05:44 AM   #1
kimchee411
Member
 
Registered: Sep 2004
Posts: 30

Rep: Reputation: 15
Angry How do I take a screenshot??


I've been searching google for about an hour now to find screenshot software FOR Linux, but all I can find are screenshots OF Linux. I did find a program called Captura, which is great for the most part, but when I take a screenshot with mplayer running, the mplayer screen shows up completely blue in the pic. So, more specifically, how can I take a screenshot that will capture video stills? I am running Fedora Core Version 2 with Gnome. Thanks in advance!
 
Old 09-23-2004, 05:50 AM   #2
micxz
Senior Member
 
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
I wrote a small script to take a screen when I need, save this as grab and execute it. If the command is not found install ImageMagic.

script:
Code:
#!/bin/sh
# grab
# description:
# A simple program to take a quick screen shot
#
# Required: import (Part of the image magic library)
# 
# By Micxz

mygrab=`which import | tr -d ''`

if [ $mygrab == '' ] ; then
echo ""
echo "I'm Sorry I can't find: /usr/bin/import "
echo "Open this script and change \$mygrab at the top."
echo ""
exit 0
fi


case "$1" in

-f)
   echo ""
   RANDTIME=`/bin/date +%Y%m%N | tr -d ' '`
   $mygrab -window root ~/grab-$RANDTIME.jpg
   echo "Full grab done. Look in ~/"
   echo ""
   ;;


-m)
   echo ""
   RANDTIME=`/bin/date +%Y%m%N | tr -d ' '`
   $mygrab ~/grab-manual-$RANDTIME.jpg
   echo "Manual grab done. Look in ~/"
   echo ""
   ;;


*)

   echo ""
   echo "  USAGE:  grab [command] "
   echo ""
   echo "  COMMANDS:"
   echo "         -f       Grab the entire X server screen."
   echo "         -m       Manually grab the screen with your mouse."
   echo "         -help    Displays this list of options."
   echo ""
   exit 1 ;;

esac
exit 0

Last edited by micxz; 07-11-2009 at 04:40 PM. Reason: removed hostname
 
Old 09-23-2004, 06:19 AM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
I don't know if it does video stills but do you have a "Take Screenshot" option in you GNOME menu? Or try gnome-panel-screenshot from the command line. kshapshot is also a good program.
 
Old 09-23-2004, 06:56 AM   #4
kimchee411
Member
 
Registered: Sep 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by darthtux
I don't know if it does video stills but do you have a "Take Screenshot" option in you GNOME menu? Or try gnome-panel-screenshot from the command line. kshapshot is also a good program.
There's no "Take Screenshot" in my Gnome menu, but gnome-panel-screenshot stil produces the video to come out blue. Thanks though
 
Old 09-23-2004, 02:13 PM   #5
micxz
Senior Member
 
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Quote:
Originally posted by kimchee411
There's no "Take Screenshot" in my Gnome menu, but gnome-panel-screenshot stil produces the video to come out blue. Thanks though
import is not a good enough tool? How about the script, did it not work for you?
 
Old 09-23-2004, 02:32 PM   #6
amnesty_puppy
Member
 
Registered: Aug 2004
Location: Britain
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
I think the GIMP is already installed on most distros and that has screen grabbing capabilities.

http://www.gimp.org
 
Old 09-26-2004, 04:57 AM   #7
nuka_t
Member
 
Registered: Jun 2004
Location: Kalifornia
Distribution: YOPER+KDE
Posts: 263

Rep: Reputation: 30
fedora still has kde installed, right?

if so, try ksnapshot.
 
Old 09-26-2004, 09:51 AM   #8
kostason
Member
 
Registered: Aug 2004
Location: Greece
Distribution: Fedora Core 2, DeLi Linux 0.6.1, Slackware 10.0
Posts: 105

Rep: Reputation: 15
hi,

"Print Screen" button will do the job for you, if you are using Gnome.
 
Old 09-26-2004, 11:10 AM   #9
greg108
Member
 
Registered: Aug 2003
Location: CA USA
Distribution: FC2, FC4, Mandrake 10, Slackware 10, RedHat 9, Suse 9.1, College Linux, Debian Sarge, Gentoo
Posts: 170

Rep: Reputation: 30
Quote:
Originally posted by kostason
hi,

"Print Screen" button will do the job for you, if you are using Gnome.
Yeap, that's true.
I'm pressing it accidentally all the time. It drives me nuts. I have a keyboard with small delete button and small space between this one and print_screen.


Is there any way to disable print screen button?
 
Old 09-26-2004, 01:47 PM   #10
micxz
Senior Member
 
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Sometimes I feel like I'm talking to a wall.
 
Old 09-26-2004, 01:53 PM   #11
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
well if it makes you feel any better micxz, i find that little script usefull
 
Old 09-26-2004, 02:55 PM   #12
micxz
Senior Member
 
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
it does Thanks.
I wonder were the thread starter went? Did you find a tool that worked for you'
 
Old 10-19-2004, 03:49 AM   #13
kimchee411
Member
 
Registered: Sep 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Ooops, sorry, didn't know replies had been posted. Anyway, I did find a solution to the prob. The bluescreen thing isn't an issue w/software per se, it has something to do with video acceleration displayed by the vid card instead of being drawn by software... or something to that effect. Soooo, running mplayer simeltaneously a second time so that the drawing is software driven for the second instance allows the vids to be captured. For the person who wants to know how to disable print-scrn taking a screenshot, use gconf-editor. It's bound somewhere under apps->metacity->global_keybindings (that is, if you're using metacity)...
 
Old 04-17-2005, 10:37 PM   #14
exolon
LQ Newbie
 
Registered: Apr 2005
Distribution: Mandrake
Posts: 2

Rep: Reputation: 0
A solution to this for mplayer is to apparently use -vo x11 to force it not to use direct video access (....or whatever way it does it that munges up other X applications' ability to take screenshots of it).

Hopefully...
 
Old 04-18-2005, 12:54 AM   #15
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Re: How do I take a screenshot??

Quote:
Originally posted by kimchee411
I've been searching google for about an hour now to find screenshot software FOR Linux, but all I can find are screenshots OF Linux. I did find a program called Captura, which is great for the most part, but when I take a screenshot with mplayer running, the mplayer screen shows up completely blue in the pic. So, more specifically, how can I take a screenshot that will capture video stills? I am running Fedora Core Version 2 with Gnome. Thanks in advance!
Hmmm. I never have had a problem taking screens with mplayer or anyother for that matter. I ust Gimp and Imagemagic (import) command. I think though it's a lot better if you pause your video rather then try to time it to get a shot... See if it will come out then... but never seen that problem on any screens I have taken.

KC
 
  


Reply


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
Screenshot techrolla DamnSmallLinux 9 02-07-2004 05:12 PM
screenshot asianboi2k Linux - Software 3 08-05-2003 12:14 PM
screenshot? ixion Linux - General 6 03-07-2003 03:22 PM
Screenshot Freestone Linux - Newbie 3 02-26-2003 01:34 PM
How do I take a screenshot? glock19 Linux - General 4 08-31-2001 04:11 PM


All times are GMT -5. The time now is 10:43 PM.

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