Bug#807139: scrot: Provide with a way to prevent screenshots from being overwriten

2015-12-16 Thread Sophoklis Goumas
On 6 December 2015 at 00:37, Sophoklis Goumas  wrote:
> ...
>

Just a quick update on a workaround on this, one can set PrtScr to this:
scrot -q -z 'scrot_%Y%m%d_%H%M%S.png' --backup=simple --suffix=.scrot
-e 'mv $f ~/Desktop'

This will create another image suffixed with: .scrot making in obvious
how it got created, in the case there were more than one screenshots
taken at a given second.

Sophoklis



Bug#807139: scrot: Provide with a way to prevent screenshots from being overwriten

2015-12-05 Thread Sophoklis Goumas
Package: scrot
Version: 0.8-17
Severity: wishlist

Hello.

I have assigned the PrtScr key on my window manager
to the following bind:
scrot -q -z 'scrot_%Y%m%d_%H%M%S.png -e 'mv $f ~/Desktop'
which works absolutely fine.

However if there are more than one screenshots made
in the same second the file are being overwriten and
only the last one will remain.

There should be:
- an option to prevent/allow files to be overwritten
- if the option is set to not to overwrite files,
  a increment number could be appended to the file.

Sophoklis

-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.13-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages scrot depends on:
ii  giblib11.2.4-10
ii  libc6  2.19-22
ii  libimlib2  1.4.7-1
ii  libx11-6   2:1.6.3-1

scrot recommends no packages.

scrot suggests no packages.

-- no debconf information