Quick tip: An OCPD screenshot command

I am one of those unnecessarily persnickety people who likes their screenshots arranged by date, and then by the identity of the machine that took it, and then with some sort of identifier to … identify it. :roll:

You might have noticed that in the file names of screenshots I post here, or you might not. Don’t feel bad if you didn’t. You would be equally persnickety if you did. :roll:

Point is, you can do that rather quickly with scrot and the date command, suffixed by the omnipresent host name variable, plus a random number to separate it from others.

Afterward, I usually change the random number to give me more information. A while back I was using the actual time, down to the second, to arrange them in sequence, but it seemed like overkill.

Jam this into your Openbox right-click menu and you have a point-and-click five-second delay screenshot tool. This is one of those times when ObMenu comes in handy. (Would someone please update that? :shock: )

For IceWM users … well, I’ve never been able to get environment variables working from within the menu or toolbar configuration files, so dump it into a script and trigger the script from your menu.

Unless someone can set me straight on why those don’t seem to work. Cheers if you can. … :|