← Back to team overview

torios team mailing list archive

Re: screenshot bug

 

Hi Israel and Paul,

scrot '%Y-%m-%d_%H-%M-%S_$wx$h.png'

will specify additional hour-minute-second info in the file name. I
don't know if you have specified anything explicit or if Julien has done
that in Lubuntu, but it should be possible to change the default with a
small shell-script file in PATH before or instead of what is there now.

-o-

Maybe you can write the screendump to a temporary file, show it or show
a thumbnail (which is an option according to 'man scrot') and let the
user select name etc. via Zenity. It should be possible.

Best regards
Nio

Den 2014-11-07 04:32, Israel skrev:
> Hi Paul,
> This is a good point... I will look into adding this, along with a
> confirmation dialog (that allows you to change the name)... not sure if
> I can add in a preview in a Zenity dialog.
> maybe Nio knows?
> Thanks for pointing this out!!
> 
> On 11/06/2014 05:55 AM, Paul Sutton wrote:
>> Hi
>>
>> Just found what could be a bug with the screenshot tool
>>
>> by default it saves the file as date.png for example 2014-11-06.png
>> the side effect of this is that multiple screenshots have the same
>> filename so the previous one is overwritten.
>>
>> I am sure when I used scrot before it saved as date-time.png which
>> gets round this.
>>
>> Paul
>>
>>
>>
> 
> -- 
> Regards
> 
> -Israel
> ToriOS Team
> 



References