I just found scrot, a screenshot commandline tool. I want to be able to run this command by pressing an icon on the panel:
scrot -s '%s.png' -e 'mv $f ~/screenshots/'
This command will let me select a rectangle on the screen and then it saves the screenshot in the ~/screenshots folder and names it with a timestamp (%s).
If I run this command in a shell it works fine
If I run this command with "Run application" in the panel, it works fine
But if I add the command in a "Custom Application Launcher" it works only partially. The file is saved, but it is named s.png ... the %s part of the command is apparently not recognized.
Can anybody tell me why that is?