What application is responding to PrintScreen? Possibly Openbox?
by lucmove from LinuxQuestions.org on (#5HG0P)
I use Openbox and I have this command in my ~/.config/openbox/lxde-rc.xml file:
Code:<!-- Keybinding for PrintScreen Key -->
<keybind key="Print">
<action name="Execute">
<execute>scrot -e 'mv $f /home/data/scrot/'</execute>
</action>
</keybind>I press PrintScreen and the new screenshot materializes at /home/data/scrot/ as expected. The file name is 2021-05-05-172530_1920x1080_scrot.png.
But an exact copy of the screenshot is also saved to ~/Pictures and the file name is 2021-05-05--1620246330_1920x1080_scrot.png.
Questions:
1) The first file name is obviously made up of the date, time and screen resolution. I can tell because it matches the current date and time exactly. What does '1620246330' in the second file name mean though?
2) How can I find out what application is writing the second file? I really have no idea.
TIA


Code:<!-- Keybinding for PrintScreen Key -->
<keybind key="Print">
<action name="Execute">
<execute>scrot -e 'mv $f /home/data/scrot/'</execute>
</action>
</keybind>I press PrintScreen and the new screenshot materializes at /home/data/scrot/ as expected. The file name is 2021-05-05-172530_1920x1080_scrot.png.
But an exact copy of the screenshot is also saved to ~/Pictures and the file name is 2021-05-05--1620246330_1920x1080_scrot.png.
Questions:
1) The first file name is obviously made up of the date, time and screen resolution. I can tell because it matches the current date and time exactly. What does '1620246330' in the second file name mean though?
2) How can I find out what application is writing the second file? I really have no idea.
TIA