LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   How to take a screen shot? (https://www.linuxquestions.org/questions/mandriva-30/how-to-take-a-screen-shot-714256/)

galapogos 03-25-2009 02:25 AM

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

Nylex 03-25-2009 02:28 AM

In KDE, Print Screen by itself should do it. This certainly works in KDE 3.5.

galapogos 03-25-2009 02:29 AM

Apparently it doesn't in KDE 4 in 2009.

Nylex 03-25-2009 02:43 AM

Try running ksnapshot from a terminal, then.

galapogos 03-25-2009 04:07 AM

Thanks, that worked, though not as convenient.

Nylex 03-25-2009 04:18 AM

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.

jkerr82508 03-25-2009 09:00 AM

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

ernie 03-25-2009 01:30 PM

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,

galapogos 03-25-2009 08:51 PM

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

frieza 03-25-2009 08:55 PM

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

ernie 03-25-2009 09:42 PM

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 . . .


All times are GMT -5. The time now is 10:57 AM.