Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

xfce4-screenshooter is the standard screenshot program in XFCE on Xubuntu.

How can I configure the settings about which format it saves the screenshot in and in which folder?

I noticed, that my settings I made in shutter also affect the settings of xfce4-screenshooter (but not all).


EDIT:
The man page sais, there is an -o option to open it with an external program.

How can I make this default? Then I could set there an external program, that automatically compresses the screenshot to an emailable size

share|improve this question
    
Screenshots do not exceed 10 megabyte, so why wouldn't it be emailable? –  Smile4ever Sep 23 at 16:40
    
I wrote emailable in italic, cause I meant, as small as possible ;) –  rubo77 Sep 23 at 16:45
    
You can always use this line instead to reduce the generated JPG's significantly by size: mogrify -resize 50% -format jpg *.png –  Smile4ever Sep 23 at 17:00
    
you can also replace the xfce4-screenshooter with shutter which has much more options, for example you can add an addon, that uses optipng -o7 *.png (see how do I get maximal compressed screenshots?) –  rubo77 Sep 23 at 17:05

2 Answers 2

up vote 3 down vote accepted

The man page of xfce4-screenshooter mentions some of its options, including this one:

  • -s (--save): Directory where the screenshot will be saved

To save to a fixed screenshot directory, go to Setting Manager -> Keyboard -> Application Shortcuts and click Add command. Add this command:

xfce4-screenshooter -s ~/screenshots

Assign it to any key you like, like PrtScr.

PNG is the only output format possible for now, but you could write a script that converts the screenshots automatically to JPG every time you take a screenshot:

#!/bin/bash
xfce4-screenshooter -fs ~/screenshots
mkdir ~/screenshots > /dev/null 2>&1
cd ~/screenshots
mogrify -format jpg *.png

Save the script as shoot.sh and assign a shortcut key (CTRL+PrtScr works fine). The command to enter is sh shoot.sh. If you don't need the PNG files and you only want JPG files, you can add

rm *.png

to the script.

Important Mogrify is part of ImageMagick, so you need to have ImageMagick installed. On Ubuntu, you can install it with sudo apt-get install imagemagick

share|improve this answer

My understanding is that

  • the only format possible for xfce4-screenshooter currently is the Portable Network Graphics (PNG) format
  • the location can be specified each time via the Save As screen

man xfce4-screenshooter is quite brief.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.