Is it possible to take screenshots from LFS?
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.
|
Hi
I have used a program called scrot which can be used in console mode http://en.wikipedia.org/wiki/Scrot |
Most desktops have a screenshot app somewhere, the xfce one is called "xfce4-screenshooter" for instance.
There are also plenty of independent screenshot apps around try googling! |
Building LFS in a virtual machine will also allow you to make screenshots easily.
|
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. |
Hi
An option the base lfs is text only you could copy paste from terminal, save the text to a file |
I need the picture of it, not to copy and paste or retype the text to a file.
|
Worse comes to worse just snap a pic of your screen with a phone.
|
Hi ok found 2
http://hem.bredband.net/gmogmo/fbgrab/ http://bisqwit.iki.fi/source/snapscreenshot.html They are old but worth a look Enlarge Xterm full screen take a snap "bend the rules" |
1 Attachment(s)
Hi
Snapscreenshot not that good Had to load into gimp then enlarge Cant get fbgrab to install sorry best I can do Not much call for tty screenshots |
Hi
Ok made some progress, in tty1 run Code:
sudo /path/to/snapscreenshot -c1 -x1 > ~/Pictures/img.tga Any more help on this let me know |
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: Code:
import -window root |
Dose import work in tty ?
|
No it doesn't, I just tried. Btw thanks to all of you!
|
Quote:
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! Regards |
All times are GMT -5. The time now is 03:35 PM. |