![]() If you are running a gdm3 display, you will need to switch to lightdm display to run the script. Once done, use Ctrl+O to save and Ctrl+X to close the editor. Now copy-paste the following lines in the script file named screenshot-login.sh: chvt 7 sleep 10s DISPLAY=:0 XAUTHORITY=/var/run/lightdm/root/:0 xwd -root -out ~/loginscreen.xwd convert ~/loginscreen.xwd ~/loginscreen.png rm ~/loginscreen.xwd Create a script named screenshot-login using the following command in Terminal. Now we will need to create a script that will enable ImageMagick to capture the screen after 10 seconds of running the script. Now run the following command in Terminal if you do not have ImageMagick utility installed. When the result appears, click on the Terminal to open. Then using the search bar, search for the Terminal application. Open the terminal by going into the activities at the top left corner of your desktop. To perform this method, we will be using the command line Terminal application. Note down that this utility will only take the screenshot of just the login screen, not the lock screen. In the following method, we will use the ImageMagick utility in order to take a screenshot of our login screen. Enter the name and choose the directory to save your screenshot. After logging in to the system, you will see the screenshot utility asking to save the screenshot. ![]() Once the screenshot is captured, enter the password to login to your system. When you swipe up the screen, your login screen will appear and within the defined 10 sec range, it will be captured by the screenshot utility. Now try to unlock your system by swiping up the screen within the above-defined time range like in our case it is 10 seconds. Then lock your system using the system menu or using the shortcut Super + L key combination. ![]() When the utility opens, change the value of Grab after a delay of almost 10 seconds or more than that. Open the Screenshot utility in the same way as described above. Type the name of the screenshot and choose the directory to save the screenshot in your desired location. Then unlock your screen and you will see the screenshot utility asking to save the screenshot. Wait for few seconds until your lock screen is captured by the screenshot tool. Now lock your system using the system menu or using the shortcut Super + L key combination. When the utility opens, change the value of Grab after a delay of to 6 seconds. When the result appears, click on the utility to open. to open the screenshot utility, hit the super key on your keyboard, and the type screenshot in the search bar. ![]() In the following method, we will discuss taking a screenshot of lock and login screen using the built-in in screenshot utility. Method #1 Using the Screenshot utility Taking Screenshot of Lock Screen We have run the steps and procedures mentioned in this article on a Debian 10 system. This article shows you how to take a screenshot of your Lock screen and login screen. Regardless of the reason why you need the screenshot of the lock screen or the login screen, we will show you how to achieve that. But what about if you need to take a screenshot of your lock screen or the login screen of your Debian system. There are other many open-source screenshots utilities that allow you to take screenshots of your system but they lack some functions. You will definitely know how to use the built-in screenshot utility or PrtScr key on your keyboard in order to take a screenshot of your system. Taking screenshots in Debian is super easy.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |