3/21/2023 0 Comments Lock screen snapshotYou can change it to any number you want. GDM is then called and it takes a screenshot 5 seconds after you have run this script. The sleep command adds a delay of 5 seconds. Name it screenshot.sh (you can change the name if you want).Īdd the following lines to the file you created: chvt 7 sleep 5s DISPLAY=:0 XAUTHORITY=/var/lib/gdm/:0 xwd -root -out ~/screenshot.xwd convert ~/screenshot.xwd ~/screenshot.png rm ~/screenshot.xwdĬhvt 7 is the number of the virtual console. Open a terminal and use the following command to install ImageMagic: sudo apt install imagemagick Step 2: Prepare the scriptĬreate a new file, preferably in your Home directory. Please check which desktop environment you are using before proceeding any further. Note: This method will work only for GNOME desktop. The workaround here is to create a script that you can run from the command line interface. When you log out, your pending commands get terminated. You cannot use the above method for taking screenshots of the log in screen. Taking screenshot of login screen Login Screen Screenshot You can change the duration from 10 seconds to your liking. You can find the screenshot in the Pictures folder. In 10 seconds, it will take a screenshot of your system which is at lock screen. In this duration, lock your system by pressing Super L keyboard shortcut. This will take a screenshot with a delay of 10 seconds. You might notice a message displaying an error as shown in the image above- but you need to wait for it to take the screenshot. Open the tool and add a delay option of 10 seconds: Taking screenshot with a delayĪlternatively, you can use the command line in the following fashion: gnome-screenshot -d 10 This tool should already be installed on most Ubuntu-based Linux distributions. The easiest way of taking screenshot of ‘lock screen’ is to utilize the GNOME Screenshot tool. Taking screenshot of the lock screen Lockscreen Screenshot You’ll get options to change the desktop environment or display server ( Xorg or Wayland) on the login screen but not on the lock screen. The login screen is what you see when you boot in to your system or log out of the Ubuntu system. Lock screen is what you see when you lock your screen. Log back to your desktop, launch Paint app or any other photo editing or screenshot app you use and paste it.Did you notice that I used login and lock screen terms? They might seem like the same thing but there is a difference. You won’t be able to save the screenshot you just took, but you can still use Clipboard as your middle man to transfer the content. Take the screenshot of the Login Screen and click Copy button to copy it to the clipboard. Click the Ease of Access button, the one next to the Power button at the bottom right corner of the screen. Then set the path of the snipping tool (see below) as the value of the string. Open Registry Editor and navigate to the following location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution OptionsĬreate a new Key called utilman.exe on the left panel and a new String value called Debugger at the right panel. We will need a registry tweak to add the Snipping Tool as the Ease of Access button to do the job. Unfortunately, the same trick doesn’t apply when you are on the Login Screen. It’s surprisingly easy but only until you know it. Launch the Paint app or any photo editing tool or screenshot app and paste the screenshot from the clipboard to the app. Now unlock the screen and back to the desktop. When you are on the Lock Screen, simply press Print Screen (PrtScr) key which copies the whole lock screen into the clipboard. Let’s press Win L to lock your screen first. Here is a cool tip shared by AddictiveTips that lets you do the screenshot of your Lock Screen as well as the Login Screen. You can’t do much when you are at Lock Screen or Login Screen. Pretty much all screenshot tools only work on the desktop, meaning only when you are logged in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |