Results 1 to 10 of 10

Thread: How do you "screen capture" your Login screen?

Hybrid View

  1. #1
    Join Date
    Apr 2005
    Beans
    9

    How do you "screen capture" your Login screen?

    I've put together a modified version of an existing GDM login screen and the only thing I'm missing before I make it available is a "screen capture" preview pic of the login screen itself.

    How do you do this?

    Thanks

  2. #2
    Join Date
    Apr 2005
    Beans
    133

    Re: How do you "screen capture" your Login screen?

    Quote Originally Posted by americanrockradio
    I've put together a modified version of an existing GDM login screen and the only thing I'm missing before I make it available is a "screen capture" preview pic of the login screen itself.

    How do you do this?

    Thanks
    quick reply:
    xnest

  3. #3
    Join Date
    Apr 2005
    Beans
    5

    Re: How do you "screen capture" your Login screen?

    Use a digital camera!

  4. #4
    Join Date
    Apr 2005
    Beans
    9

    Re: How do you "screen capture" your Login screen?

    Quote Originally Posted by rototom
    Use a digital camera!
    Hahaha I liked this one =)

    Xnest did the trick, thanks much!

  5. #5
    Join Date
    Apr 2005
    Beans
    133

    Re: How do you "screen capture" your Login screen?

    Quote Originally Posted by americanrockradio
    Hahaha I liked this one =)

    Xnest did the trick, thanks much!
    no prob, glad it worked :9

  6. #6
    Join Date
    Apr 2005
    Location
    Not-So-Sunny Hawaii
    Beans
    Hidden!

    Re: How do you "screen capture" your Login screen?

    Quote Originally Posted by Fab
    quick reply:
    xnest
    xnest?

  7. #7
    Join Date
    Apr 2005
    Beans
    133

    Re: How do you "screen capture" your Login screen?

    Quote Originally Posted by benplaut
    xnest?
    http://www.xfree86.org/current/Xnest.1.html

    essentially, you can start an x server in your current x session, and therefore capture the window with the second X displaying gdm with the print button

  8. #8
    Join Date
    May 2007
    Location
    San Francisco, California
    Beans
    5,851
    Distro
    Ubuntu

    Re: How do you "screen capture" your Login screen?

    Quote Originally Posted by Fab View Post
    http://www.xfree86.org/current/Xnest.1.html

    essentially, you can start an x server in your current x session, and therefore capture the window with the second X displaying gdm with the print button
    Exactly!

  9. #9
    Join Date
    Oct 2007
    Location
    Lisbon, Portugal
    Beans
    29
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How do you "screen capture" your Login screen?

    I must be really stupid. How does Xnest work? I already installed it.

  10. #10
    Join Date
    Jan 2006
    Beans
    1,352

    Re: How do you "screen capture" your Login screen?

    This is the easiest way I found to take a screenshot of your GDM: http://ubuntuforums.org/showthread.php?t=2127

    I use this command in Archlinux to take screenshots of my GDM... all though I do it in root tty2, and I don't use the "sudo" command like in the link I put above... so I'm going to explain it how I do it.

    First install the package "Imagemagick", then I start my computer, and when I'm on my Login screen, I press "ctrl+alt+f2" to enter my tty2 or "virtual terminal #2"... then when in tty2, I type:

    Code:
    root
    ...and then enter the root password.


    Next I use this command while I'm root in tty2:

    Code:
    chvt 7 ; sleep 5 ; XAUTHORITY=/var/lib/gdm/:0.Xauth DISPLAY=:0.0 import -window root gdm-screenshot.png; chvt 2
    This will change the screen from tty2 (or vt2) to tty7 (or vt7)... then it will wait 5 seconds before taking a screenshot and putting it into your Root Folder... then it will change back to your tty2 (or vt2)...

    Then type:

    Code:
    exit

    ... to log out of root privilege of tty2... then type "ctrl+alt+f7" to get back to your normal GDM login screen where you can now login like normal.


    Now your last step is to run this in "alt+f2":

    Code:
    gksu nautilus
    ... now you should have your root nautilus folder open and you will see your "gdm-screenshot.png"... just change permissions to your username (right click properties, and select permissions)... then copy it to your home folder.


    #########################################33

    I also think there you might be able to use this command in tty2 without logging in to root:

    Code:
    chvt 7 ; sleep 5 ; XAUTHORITY=/var/lib/gdm/:0.Xauth DISPLAY=:0.0 sudo
    import -window root gdm-screenshot.png; chvt 2
    Last edited by crimesaucer; November 1st, 2007 at 07:51 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •