• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / Ubuntu / How to Take Screenshot of Ubuntu Login Screen In Ubuntu 16.10

How to Take Screenshot of Ubuntu Login Screen In Ubuntu 16.10

By Sourabh / October 24, 2016 Category: How To, Ubuntu

How to take screenshot of Ubuntu Login Screen in Ubuntu 16.10, Ubuntu 16.04, Ubuntu 14.04 and other Ubuntu Derivatives. To take screenshot of Ubuntu login screen, you will need ImageMagick. If you do not have ImageMagick installed, run the following command in terminal to install ImageMagick.

sudo apt-get update
sudo apt-get install imagemagick

Once installed, it’s time to create the script to take screenshot. Create a new text file, name it screenshot.sh. Create the screenshot text file in your Home directory and add the following lines in the file:

chvt 7; sleep 5s; DISPLAY=:0 XAUTHORITY=/var/run/lightdm/root/:0 xwd -root -out ~/screenshot.xwd; convert ~/screenshot.xwd ~/screenshot.png; rm ~/screenshot.xwd

Once you have created the screenshot scrip, run the following command to give executable permission to the script.

sudo chmod +x screenshot.sh

Once everything is OK, here’s how to take the screenshot.

  • Log out of the system.
  • Press Ctrl+Alt+F1 at the login screen to go to console mode.
  • Login to the console mode, enter your username and password.
  • Run the command to run the screenshot.sh script:

sudo ./screenshot.sh

  • Once you run the script, you will be returned back to the graphical interface login screen. Wait gere for 5 seconds (remember sleep 5s in the screenshot script code) and after five seconds it will take and save the screenshot in your home directory.

Once the script is run, it will take the screenshot. After the screenshot is taken, you will be returned back to the graphical interface login screen. The screenshot is saved as screenshot.png in the home directory.

Tags: Capture Screenshot of Ubuntu Login Screen, How to Take Screenshot of Ubuntu Login Screen, Screenshot of Login Screen Ubuntu 16.04, Screenshot of Login Screen Ubuntu 16.10, Screenshot of Ubuntu Login Screen, Screenshot of Ubuntu Login Screen In Ubuntu 16.04, Screenshot of Ubuntu Login Screen In Ubuntu 16.10, Screenshot of Ubuntu Login Screen Ubuntu 16.04, Screenshot of Ubuntu Login Screen Ubuntu 16.10, Take Screenshot Of Ubuntu Login Screen, Ubuntu 16.04 Login Screen Screenshot, Ubuntu 16.10 Login Screen Screenshot, Ubuntu Login Screen Screenshot

Primary Sidebar

Latest Posts

Downlaod Ubuntu 26.10 Stonking Stingray

How To Shutdown Linux With A 15 Minute Delay And Message

Using Linux Terminal How To Get Total Disk Size In GB

Count And Find Number Of Files In A Linux Directory Using Command

Check How Many Users Are Created In Linux Ubuntu

How To Check User Permissions In Linux Using Command

Check Which Folder Is Taking More Space In Ubuntu Linux

How to Install Claude Desktop App in Ubuntu Linux

Job Scheduling Using At Command In Linux With Examples

How To Check Permissions Of A Directory In Linux Command

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap