LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-25-2009, 03:25 AM   #1
galapogos
Member
 
Registered: May 2008
Posts: 227

Rep: Reputation: 30
How to take a screen shot?


Hi,

I'm using Mandriva Linux 2009 with KDE, and I would like to know how to take a screen shot of the entire desktop as well as just individual windows. In Windows XP you do this by pressing the PrintScrn or Alt-PrintScrn buttons and then paste it into MS Paint/Photoshop/etc.

How do I do this in Mandriva?

Thanks
 
Old 03-25-2009, 03:28 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
In KDE, Print Screen by itself should do it. This certainly works in KDE 3.5.
 
Old 03-25-2009, 03:29 AM   #3
galapogos
Member
 
Registered: May 2008
Posts: 227

Original Poster
Rep: Reputation: 30
Apparently it doesn't in KDE 4 in 2009.
 
Old 03-25-2009, 03:43 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Try running ksnapshot from a terminal, then.
 
Old 03-25-2009, 05:07 AM   #5
galapogos
Member
 
Registered: May 2008
Posts: 227

Original Poster
Rep: Reputation: 30
Thanks, that worked, though not as convenient.
 
Old 03-25-2009, 05:18 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Yeah, Print Screen should work to open KSnapshot though. Perhaps file a bug for this with the Mandriva developers, if one hasn't been filed already.
 
Old 03-25-2009, 10:00 AM   #7
jkerr82508
Member
 
Registered: Dec 2006
Location: Fife, Scotland
Posts: 268

Rep: Reputation: 69
It's a bug in KDE4.1, which, I believe, has been resolved in KDE4.2

https://bugs.kde.org/show_bug.cgi?id=160892

Jim
 
Old 03-25-2009, 02:30 PM   #8
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
You can add the unofficial KDE 4.2.1 media sources for Mandriva 2009.0 to your urpmi database then install the updated packages.

For i586 systems execute the following commands (as root):
Code:
urpmi.addmedia KDE-4.2.1 --update ftp://ftp.kde.org/pub/kde/stable/4.2.1/Mandriva/2009.0/RPMS/i586 with media_info/hdlist.cz

urpmi.addmedia KDE-4.2.1-noarch ftp://ftp.kde.org/pub/kde/stable/4.2.1/Mandriva/2009.0/RPMS/noarch with media_info/hdlist.cz
to add the sources.

For x86_64 systems the commands are as follows:
Code:
urpmi.addmedia KDE-4.2.1 --update ftp://ftp.kde.org/pub/kde/stable/4.2.1/Mandriva/2009.0/RPMS/x86_64 with media_info/hdlist.cz

urpmi.addmedia KDE-4.2.1-noarch ftp://ftp.kde.org/pub/kde/stable/4.2.1/Mandriva/2009.0/RPMS/noarch with media_info/hdlist.cz
With the new sources added, switch to a console screen (any of CTRL+ALT+F1 through F6 will do it).

Log in as root then exit your Xorg session by executing
Code:
telinit 3
To install KDE 4.2.1, execute the following:
Code:
urpmi task-kde4-minimal task-kde4
Consent to installing the myriad additional packages on which these packages depend.

If you need the devel packages for KDE 4.2.1 as well, they can be installed with:
Code:
urpmi task-kde4-devel
Again, consent to the installation of the many packages on which this meta-package depends.

When the installation is complete, start a new Xorg session with:
Code:
telinit 5
Xorg will start. Log in as usual.

HTH,
 
Old 03-25-2009, 09:51 PM   #9
galapogos
Member
 
Registered: May 2008
Posts: 227

Original Poster
Rep: Reputation: 30
Thanks. The system does not have internet access though. Can I just download the rpm directly? If so what are the ones to download?

Last edited by galapogos; 03-25-2009 at 09:55 PM.
 
Old 03-25-2009, 09:55 PM   #10
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
another simple way, just use the command
'import -window root snap.jpg' (or png or bmp etc..) or you can replace the -window root with a specific window and get a shot of just that window
or the GIMP can also take shots of teh whole screen or a single window too
 
Old 03-25-2009, 10:42 PM   #11
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
The package you install depends on most of the other packages in the repo. You would have to get all of them and that would require a broadband Internet connection. Sorry . . .

Last edited by ernie; 03-25-2009 at 10:43 PM.
 
  


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
How to post a Screen Shot clemkonan Linux - Newbie 2 03-19-2009 06:29 PM
How do you take a screen shot? soulwatcher1974 Linux - General 2 02-17-2005 11:37 PM
How do I take a Screen Shot podollb Linux - Software 6 10-14-2003 04:43 AM
my latest screen shot maddog Linux - General 3 02-15-2002 10:16 AM
screen shot enzo250gto Linux - General 2 10-28-2001 11:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:56 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