Add no_session parameter

Bug #903305 reported by Mario Kemper (Romario)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Shutter
Fix Released
Wishlist
Mario Kemper (Romario)

Bug Description

I am repeatedly invoking shutter to perform image captures from the command-line within a script like so:

while true; do
   shutter --window=.*firefox.* -e -o $2-%Y-%m-%d-%T.bmp
   sleep $1
done

The trouble is that shutter gradually runs slower and slower each time its invoked. I suspect that the problem is that each screen capture is being opened in the Shutter GUI as a new tab. How to I prevent shutter from opening screen captures in its GUI? Is there a way to suppress the Shutter GUI altogether and just use it as a command line tool?

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Added the following parameter:

       -n, --no_session
               Do not add the screenshot to the session. This is useful when using Shutter in scripts.

Changed in shutter:
assignee: nobody → Mario Kemper (Romario) (mario-kemper)
importance: Undecided → Wishlist
milestone: none → 0.88.2
status: New → Fix Committed
Changed in shutter:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.