6

I have a bug on my auto-log-in which is only shown When I log in the first time. There for I need a way to take a screenshot of my log-in screen when I start up.

I know about this question, but the bug doesn't appear when I log out.

This is the bug that I want a screenshot for.

I could take a real picture but my camera is very old and not that good really...

Alvar
  • 17,038

2 Answers2

6

Modify the file /etc/gdm/Init/Default, by adding the following line

(sleep 10; gnome-screenshot) &

just before the last exit 0 line. Then logout and wait 10 seconds for the interactive screenshot dialog to appear.

It propose the /tmp directory to save the image, in any case take attention to where you save the file, to found it later, after login.

Remember to remove the line inserted in the file /etc/gdm/Init/Default to remove this annoying screenshot dialog every time you login :)

enzotib
  • 96,093
1

I hope that someone will give you a more simple answer, since I don't know how to do it in a less cumbersome way.
If the bug is reproducible on any machines, you could make a virtual machine with Virtualbox or whichever VMmanager you like, and then simply make a screenshot.
I know it sounds ridiculous to make a virtual machine just for that purpose but if no other solution exists this one should work if it's a general bug, not hardware specific. Also you can use Virtual machine for testing, so it shouldn't be such a waste.

enedene
  • 1,689