Linux Lite Forums
Screenshooter - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: General (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=4)
+--- Forum: On Topic (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=14)
+--- Thread: Screenshooter (/showthread.php?tid=6272)

Pages: 1 2


Screenshooter - MS - 06-29-2019

Can anyone recommend me a replacement for the XFCE4-screenshooter? I need an utility, which automatically makes a screenshot of the entire display and saves it without further ado in the Pictures directory or some other indicated location. Otherwise, please give me pointers on how to configure the XFCE4-screenshooter to work in this manner. Also, where do I set the 'printscreen' button as default for the new function, in case the new function does not default itself unto?


Re: Screenshooter - Moltke - 06-29-2019

(06-29-2019, 08:33 AM)MS link Wrote: Can anyone recommend me a replacement for the XFCE4-screenshoter? I need an utility, which automatically makes a screenshot of the entire display and saves it without further ado in the Pictures directory or some other indicated location. Otherwise, please give me pointers on how to configure the XFCE4-screenshoter to work in this manner. Also, where do I set the 'printscreen' button as default for the new function, in case the new function does not default itself unto?

I don't understand exactly what you want but the xfce-screenshooter is a fine app and works just great. Hit "prt sc" on your keyboard and a window will pop up, here you decide what you want to do; including what you ask: take a screenshot of the entire display, then you hit ok and wait for the new window to select what to do with the screenshot, like saving it to your pictures directory. I don't think it can get any easier than that, however, you could also open a terminal and type
Code:
scrot
then hit enter, the program will also take a screenshot of the desktop, including every open window and will save it in your home directory. and then you can move it to the pictures directory. Also, If you want it to take a screenshot only of the desktop, like you need to minimize any windows you have open and additionally put it directly  into the pictures directory then you have to tell scrot to do so, and use the "sleep" command, just type
Code:
sleep 5 && scrot -e 'mv $f Pictures'
then hit enter, now you'll have 5 seconds to minimize any windows you don't want to be in the new screenshot and it will be saved in the desired directory, change the time as per your needs. If you need more info on the program, in your terminal type
Code:
man scrot
is just a few lines long and easy to read.

Hope this helps! Smile


Re: Screenshooter - MS - 06-29-2019

Thank you for your clearly structured answer, but I do not know if I could have been any more explicit about a crucial demand, which is, for the function to work in a way as where pressing the "printscreen", would automatically save the display image as a file, within specified folder. The program should best be configurable, even through the Terminal, for such qualities as the image type, folder type, what displays to include. But the configuration and application ought to come as two separate pieces, unlike with the mentioned XFCE4-screenshoter.


Re: Screenshooter - bitsnpcs - 06-29-2019

Hello MS,

this link explains how to configure XFCE screenshooter in the way you are asking.

https://askubuntu.com/questions/252738/configure-xfce4-screenshooter-settings/477125

You go to Menu>Settings>Keyboard>Application Shortcuts 

Click Add at the bottom and copy in the command and your shortcut key/s (not one already used in the list) , editing to how you wish, which directory name to save the files to and if you want to convert them, save and also email them, or save and also store them at a remote photo host.


Re: Screenshooter - MS - 06-29-2019

Thank you [member=411]bitsnpcs[/member], your solution comes close and perhaps as far as it gets, but the program still asks for a filename, therefore is not entirely automatic, as it ideally should be.

Besides, this 'do it yourself in the Terminal' thing, is very Linux-y of nowadays.


Re: Screenshooter - trinidad - 06-29-2019

The default folder is ~/Pictures. The default file name is screenshot/date/time.png. Seems pretty simple.

TC


Re: Screenshooter - bitsnpcs - 06-29-2019

Usually in screenshoter this is how I save a screenshot, by not typing a file name but pressing enter.

If that works you should be able to just adjust the command so it auto presses the enter key then it would save it without you having to type a file name by using the default name as [member=5916]trinidad[/member] explains.


Re: Screenshooter - MS - 06-29-2019

[member=5916]trinidad[/member], I believe there is either a misunderstanding going on or have you not tried the solution yourself.

Typing in the xfce4-screenshoter in the Terminal, opens up the GUI menu of the program.

I am tired with this. Will look for another utility.


Re: Screenshooter - bitsnpcs - 06-29-2019

Code:
xfce4-screenshooter --fullscreen -s ~/Pictures


2. Press Enter in terminal.
3. When GUI appears press Enter again. Done.

You may change your command in terminal by removing -

Code:
--fullscreen

and replacing with

Code:
--window

or
Code:
--region

this last option will produce a crosshairs that you must drag to select your chosen region.
For all three options the process of pressing -
Enter in terminal to run the command, and Enter to run the saving of file is exactly the same.


Re: Screenshooter - bitsnpcs - 06-29-2019

Above is to do it in the terminal, you can save and recall the command by number in history.
Or
You can go to Menu>Settings>Keyboard>Application Shortcuts 

Click Add at the bottom and copy in the entire command for
Code:
--fullscreen

and choose your shortcut key/s for running it from the keyboard, example Alt +1.

Repeat the process entirely 2 more times, example choosing Alt + 2 for entire command for
Code:
--window

and the final new keyboard shortcut as Alt + 3 for entire command for
Code:
--region


Afterwards to do a screenshot you only need to press Alt and 1 number key, then enter x1 time, so 3 keystrokes, compared to typing the command each time, unless you are preferring terminal.

I prefer to use screenshot exactly how it is in LL currently, but it's good there are more than one option.