[SOLVED] Is it possible to take screenshots from LFS?
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I had to done LFS and something regarding BLFS for a project in my university. The point is that I need to write a report and include screenshots from the system. Is it possible to somehow take screenshots from LFS/BLFS system? Note that I have dual-booted my laptop, and I have Windows 7, Linux Ubuntu, and my LFS/BLFS system.
Well, I installed both scrot (for which I first needed to install imlib2 and giblib), and also Ksnapshot for my KDE. From my KDE environment I took the screenshots using Ksnapshot. Because in my LFS system if I type startx as root, it will open the KDE system, but when I type startx as a normal user it opens xterm, and there I can change to root user and take screenshots using scrot, but unfortunately if I change to normal user I cannot take screenshots. On the other hand, the worst thing is that, when my LFS system boots up and I log in either as a normal user or root and if I try to take screenshots inside LFS, I get the following error:
giblib error: Can't open X display. It *is* running, yeah?
If someone can help me overcome this, and help me take a few screenshots from my LFS system I would be glad. I'm done with screenshots regarding KDE and Xterm, but I also need screenshots form my base LFS systems to finish my report. Unfortunately, as I have said I have dual-booted (in this case triple-booted), so I haven't installed LFS from a virtual machine, and I don't have time to install it again from a virtual machine. Looking forward to your advices.
The command "import" from the terminal can take screen shots, there are some options that you will have to add to the command, for more details read the man. By the way dimensions(800x600, 1400x900, etc) wont work for virtual machines.
The very bacic of it is:
No it doesn't, I just tried. Btw thanks to all of you!
Did you do just the way i post the code? Or did you read the man before doing anything?
That is just the very basic of it, not the entire command, it does work in the tty, IF you do it right. Here you can see it!