You are not logged in.
run at command line, this works.
xfce4-screenshooter -f -s "/mnt/Docs/Pictures/Screenshots/shot-$(date +%Y%m%d%H%M).png" -d 10
I get an output file like:
shot-201910141202.png
Trying to run from a launcher, the date isn't expanding. I get:
shot-$(date +).png
I tried preceding with exec, preceding each quote with escape \, and wrapping the whole thing in single-quotes. Nothing works-- date won't expand.
How to execute this from a launcher?
arch xfce x86_64
Offline
The launcher command interpreter is pretty basic and can't handle special characters well. It is best to put commands like these in a shell script and execute that shell script from the launcher.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
any workaround, besides a script?
thx
arch xfce x86_64
Offline
Run it with the shell
sh -c 'command here'
Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c
Offline
Thx @Misko_2083, but didn't seem to work. I got
shot-.png
so the whole date portion was removed. I didn't get the codes or the expansion. Here's what i put into the launcher:
sh -c 'xfce4-screenshooter -f -s "/mnt/Docs/Pictures/Screenshots/shot-$(date +%Y%m%d%H%M).png" -d 10'
arch xfce x86_64
Offline
Maybe scrot is better.
install scrot and try:
sh -c "scrot 'shot-%Y%m%d%H%M.png' -e 'mv $f /mnt/Docs/Pictures/Screenshots/' -d 10"
After making the screenshot it will be moved to /mnt/Docs/Pictures/Screenshots/.
Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c
Offline
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 535.12 KiB (Peak: 535.96 KiB) ]