Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • apps/xfce4-screenshooter
  • andreldm/xfce4-screenshooter
  • bobby285271/xfce4-screenshooter
  • samuelsmash/xfce4-screenshooter
  • triallax/xfce4-screenshooter
  • mbarriolinares/xfce4-screenshooter
  • Monsterovich/xfce4-screenshooter
  • correctmost/xfce4-screenshooter
8 results
Show changes
Commits on Source (2721)
# Autotools files generated into srcdir
/ABOUT-NLS
/INSTALL
*.tar.bz2
*.tar.gz
ChangeLog
Makefile.in
/aclocal.m4
/autom4te.cache/
/compile
/config.*
/configure
/configure~
/depcomp
/install-sh
/install-sh~
/ltmain.sh
/missing
/po/Makefile.in.in
/po/Makevars.template
/po/Rules-quot
/po/boldquot.sed
/po/en@boldquot.header
/po/en@quot.header
/po/insert-header.sin
/po/quot.sed
/po/remove-potcdate.sin
/m4/
/mkinstalldirs
# Autotools files generated into builddir (for in-tree builds)
Makefile
.deps/
/lib/.dirstamp
.libs/
*.lo
*.la
/lib/screenshooter-marshal.[ch]
/lib/stamp-screenshooter-marshal.h
/libtool
/panel-plugin/.dirstamp
/panel-plugin/screenshooter.desktop
/po/POTFILES
/po/*.gmo
/po/remove-potcdate.sed
/po/stamp-po
/po/xfce4-screenshooter.pot
/src/.dirstamp
*.o
/src/xfce4-screenshooter
/src/xfce4-screenshooter.desktop
/stamp-h1
src/xfce4-screenshooter.appdata.xml
/protocols/.dirstamp
# UI header files generated using xdt-csource
lib/*_ui.h
# Code generated using wayland-scanner
/protocols/*.c
/protocols/*.h
include:
- project: 'xfce/xfce4-dev-tools'
file: '/ci/build_project.yml'
[submodule "protocols/wlr-protocols"]
path = protocols/wlr-protocols
url = https://gitlab.freedesktop.org/wlroots/wlr-protocols.git
Daniel Bobadilla Leal <dbobadil@dcc.uchile.cl>
Jani Monoses <jani@ubuntu.com>
Current maintainer:
Jérôme Guelfucci <jeromeg@xfce.org>
Icons taken form the Rodent icon theme.
Previous maintainers:
Daniel Bobadilla Leal <dbobadil@dcc.uchile.cl>
Jani Monoses <jani@ubuntu.com>
Contributors:
David Collins <david.8.collins@gmail.com>
Enrico Tröger <enrico.troeger@uvena.de>
Mike Massonnet <mmassonnet@xfce.org>
Fabrice Viale <viale.fabrice@gmail.com>
Sam Swift <renmush@gmail.com>
Tom Hope <<tjlhope@gmail.com>
David Collins:
- copy to clipboard functionnality.
- UI improvements.
- "select a region" functionnality.
Enrico Tröger:
- patch to fix a crash.
- patch to fix the -s CLI option
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
......@@ -15,7 +15,7 @@ software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
......@@ -55,8 +55,8 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
......@@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
......@@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
......@@ -225,7 +225,7 @@ impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
......@@ -255,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
......@@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
......@@ -303,17 +303,16 @@ the "copyright" line and a pointer to where the full notice is found.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
......@@ -336,6 +335,5 @@ necessary. Here is a sample; alter the names:
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
This diff is collapsed.
@SET_MAKE@
SUBDIRS = lib src panel-plugin po po-doc icons docs
AUTOMAKE_OPTIONS = subdir-objects
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = po
BUILT_SOURCES =
EXTRA_DIST =
DISTCLEANFILES =
noinst_LTLIBRARIES =
bin_PROGRAMS = src/xfce4-screenshooter
distclean-local:
rm -rf *.cache *~
distuninstallcheck_listfiles = \
find . -type f -print | grep -v ./share/icons/hicolor/icon-theme.cache
dist-bz2: dist
zcat $(PACKAGE)-$(VERSION).tar.gz | bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
distcheck-bz2: distcheck
zcat $(PACKAGE)-$(VERSION).tar.gz | bzip2 --best -c > $(PACKAGE)-$(VERSION).tar.bz2
EXTRA_DIST = \
README \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
# Wayland protocols
if ENABLE_WAYLAND
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update
noinst_LTLIBRARIES += \
protocols/libprotocols.la
dist_man_MANS = xfce4-screenshooter.1
protocols_libprotocols_built_sources = \
protocols/wlr-screencopy-unstable-v1.c \
protocols/wlr-screencopy-unstable-v1-client.h
nodist_protocols_libprotocols_la_SOURCES = \
protocols/wlr-screencopy-unstable-v1.c
protocols_libprotocols_la_CFLAGS = \
$(WAYLAND_CLIENT_CFLAGS) \
$(PLATFORM_CFLAGS)
protocols_libprotocols_la_LDFLAGS = \
-no-undefined \
$(PLATFORM_LDFLAGS)
protocols_libprotocols_la_LIBADD = \
$(WAYLAND_CLIENT_LIBS)
protocols/%.c: $(WLR_PROTOCOLS_PKGDATADIR)/unstable/%.xml
$(AM_V_GEN) wayland-scanner private-code $< $@
protocols/%-client.h: $(WLR_PROTOCOLS_PKGDATADIR)/unstable/%.xml
$(AM_V_GEN) wayland-scanner client-header $< $@
BUILT_SOURCES += \
$(protocols_libprotocols_built_sources)
DISTCLEANFILES += \
$(protocols_libprotocols_built_sources)
endif
EXTRA_DIST += \
protocols/wlr-protocols/unstable/wlr-screencopy-unstable-v1.xml
# Convienence library for the application and the panel plugin
noinst_LTLIBRARIES += lib/libscreenshooter.la
lib_libscreenshooter_la_SOURCES = \
$(lib_libscreenshooter_built_sources) \
lib/libscreenshooter.h \
lib/screenshooter-actions.c lib/screenshooter-actions.h \
lib/screenshooter-capture.c lib/screenshooter-capture.h \
lib/screenshooter-custom-actions.c lib/screenshooter-custom-actions.h \
lib/screenshooter-format.c lib/screenshooter-format.h \
lib/screenshooter-dialogs.c lib/screenshooter-dialogs.h \
lib/screenshooter-global.h \
lib/screenshooter-utils.c lib/screenshooter-utils.h
if ENABLE_X11
lib_libscreenshooter_la_SOURCES += \
lib/screenshooter-capture-x11.c lib/screenshooter-capture-x11.h \
lib/screenshooter-utils-x11.c lib/screenshooter-utils-x11.h
endif
if ENABLE_WAYLAND
lib_libscreenshooter_la_SOURCES += \
lib/screenshooter-capture-wayland.c lib/screenshooter-capture-wayland.h
endif
lib_libscreenshooter_la_CFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir)/lib \
@EXO_CFLAGS@ \
@GTK_CFLAGS@ \
@GDK_CFLAGS@ \
@GDKX11_CFLAGS@ \
@GLIB_CFLAGS@ \
@LIBXFCE4UTIL_CFLAGS@ \
@LIBXFCE4UI_CFLAGS@ \
@LIBX11_CFLAGS@ \
@WAYLAND_CLIENT_CFLAGS@ \
@XFIXES_CFLAGS@ \
@XFCONF_CFLAGS@ \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\"
lib_libscreenshooter_la_LIBADD = \
-lm \
@EXO_LIBS@ \
@GTK_LIBS@ \
@GDK_LIBS@ \
@GDKX11_LIBS@ \
@LIBXFCE4UTIL_LIBS@ \
@LIBXFCE4UI_LIBS@ \
@GLIB_LIBS@ \
@LIBXEXT_LIBS@ \
@LIBX11_LIBS@ \
@WAYLAND_CLIENT_LIBS@ \
@XFCONF_LIBS@ \
@XFIXES_LIBS@
if ENABLE_WAYLAND
lib_libscreenshooter_la_LIBADD += \
$(top_builddir)/protocols/libprotocols.la
endif
lib_libscreenshooter_built_sources = \
lib/screenshooter-marshal.c lib/screenshooter-marshal.h
#Autogenerated sources for the library
BUILT_SOURCES += $(lib_libscreenshooter_built_sources)
lib/screenshooter-marshal.h: lib/stamp-screenshooter-marshal.h
@true
lib/stamp-screenshooter-marshal.h: lib/screenshooter-marshal.list Makefile
$(AM_V_GEN) ( \
echo '/* this file is autogenerated -- do not edit */' >lib/screenshooter-marshal.h \
&& glib-genmarshal --prefix=_screenshooter_marshal --header $(top_srcdir)/lib/screenshooter-marshal.list >>lib/screenshooter-marshal.h \
&& echo timestamp >$@ \
)
lib/screenshooter-marshal.c: lib/screenshooter-marshal.list Makefile
$(AM_V_GEN) ( \
echo '/* this file is autogenerated -- do not edit */' >$@ \
&& echo '#include "screenshooter-marshal.h"' >>$@ \
&& glib-genmarshal --prefix=_screenshooter_marshal --body $(top_srcdir)/lib/screenshooter-marshal.list >>$@ \
)
# Main application
src_xfce4_screenshooter_CFLAGS = \
-I$(top_srcdir)/lib/ \
-I$(top_builddir)/lib \
@EXO_CFLAGS@ \
@GTK_CFLAGS@ \
@GDK_CFLAGS@ \
@GDKX11_CFLAGS@ \
@GLIB_CFLAGS@ \
@LIBXFCE4UTIL_CFLAGS@ \
@LIBXFCE4UI_CFLAGS@ \
@GTHREAD_CFLAGS@ \
@LIBX11_CFLAGS@ \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\"
src_xfce4_screenshooter_LDFLAGS = \
@EXO_LIBS@ \
@GTK_LIBS@ \
@GDK_LIBS@ \
@GDKX11_LIBS@ \
@GLIB_LIBS@ \
@GTHREAD_LIBS@ \
@LIBX11_LIBS@ \
@LIBXFCE4UTIL_LIBS@ \
@LIBXFCE4UI_LIBS@
src_xfce4_screenshooter_LDADD = lib/libscreenshooter.la
src_xfce4_screenshooter_SOURCES = src/main.c
if ENABLE_WAYLAND
src_xfce4_screenshooter_CFLAGS += \
-I$(top_srcdir)/protocols/ \
-I$(top_builddir)/protocols
endif
# Manual file for the application
if HAVE_HELP2MAN
xfce4-screenshooter.1: src/xfce4-screenshooter
$(HELP2MAN) -o $@ --no-info $<
endif
# Desktop file for the application
app_desktopdir = $(datadir)/applications
app_desktop_in_files = src/xfce4-screenshooter.desktop.in
app_desktop_DATA = $(app_desktop_in_files:.desktop.in=.desktop)
src/xfce4-screenshooter.desktop: src/xfce4-screenshooter.desktop.in
$(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
# Panel plugin
plugindir = $(libdir)/xfce4/panel/plugins
plugin_LTLIBRARIES = panel-plugin/libscreenshooterplugin.la
panel_plugin_libscreenshooterplugin_la_CFLAGS = \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
-I$(top_srcdir) \
-I$(top_srcdir)/lib/ \
-I$(top_builddir)/lib/ \
@EXO_CFLAGS@ \
@LIBXFCE4PANEL_CFLAGS@ \
@LIBXFCE4UI_CFLAGS@ \
@GTHREAD_CFLAGS@ \
@LIBX11_CFLAGS@
panel_plugin_libscreenshooterplugin_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
-export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
panel_plugin_libscreenshooterplugin_la_LIBADD = \
@EXO_LIBS@ \
@LIBXFCE4PANEL_LIBS@ \
@GTHREAD_LIBS@ \
@LIBX11_LIBS@ \
@LIBXFCE4UI_LIBS@ \
lib/libscreenshooter.la
panel_plugin_libscreenshooterplugin_la_SOURCES = \
panel-plugin/screenshooter-plugin.c
# Panel plugin desktop file
panel_desktopdir = $(datadir)/xfce4/panel/plugins
panel_desktop_in_files = panel-plugin/screenshooter.desktop.in
panel_desktop_DATA = $(panel_desktop_in_files:.desktop.in=.desktop)
panel-plugin/screenshooter.desktop: panel-plugin/screenshooter.desktop.in
$(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
# appdata file for the application
appdatadir = $(datadir)/metainfo
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
appdata_in_files = src/xfce4-screenshooter.appdata.xml.in
src/xfce4-screenshooter.appdata.xml: src/xfce4-screenshooter.appdata.xml.in
$(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
# App icons
# 16x16 icons
16iconsdir = $(datadir)/icons/hicolor/16x16/apps
16icons_DATA = icons/16x16/org.xfce.screenshooter.png
# 24x24 icons
24iconsdir = $(datadir)/icons/hicolor/24x24/apps
24icons_DATA = icons/24x24/org.xfce.screenshooter.png
# 32x32 icons
32iconsdir = $(datadir)/icons/hicolor/32x32/apps
32icons_DATA = icons/32x32/org.xfce.screenshooter.png
# 48x48 icons
48iconsdir = $(datadir)/icons/hicolor/48x48/apps
48icons_DATA = icons/48x48/org.xfce.screenshooter.png
# 128x128 icons
128iconsdir = $(datadir)/icons/hicolor/128x128/apps
128icons_DATA = icons/128x128/org.xfce.screenshooter.png
# Scalable icons
scaliconsdir = $(datadir)/icons/hicolor/scalable/apps
scalicons_DATA = icons/scalable/org.xfce.screenshooter.svg
# Update the icon cache
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \
echo "*** Icon cache not updated. Remember to run:"; \
echo "***"; \
echo "*** $(gtk_update_icon_cache)"; \
echo "***"; \
fi
.PHONY: ChangeLog
ChangeLog: Makefile
(GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp \
&& mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) \
|| (touch ChangeLog; echo 'Git directory not found: installing possibly empty changelog.' >&2)
dist-hook: ChangeLog
# Extra dist and distclean rules
EXTRA_DIST += \
lib/screenshooter-marshal.list \
meson.build \
meson_options.txt \
icons/meson.build \
lib/meson.build \
panel-plugin/meson.build \
po/meson.build \
protocols/meson.build \
src/meson.build \
xfce-revision.h.in \
$(app_desktop_in_files) \
$(panel_desktop_in_files) \
$(16icons_DATA) \
$(24icons_DATA) \
$(32icons_DATA) \
$(48icons_DATA) \
$(128icons_DATA) \
$(scalicons_DATA) \
$(appdata_in_files)
DISTCLEANFILES += \
stamp-screenshooter-marshal.h \
$(lib_libscreenshooter_built_sources) \
lib/stamp-screenshooter-marshal.h \
$(app_desktop_DATA) \
$(panel_desktop_DATA) \
$(appdata_DATA) \
xfce4-screenshooter.1
# Man pages
dist_man_MANS = xfce4-screenshooter.1
=== Version x.x.x ===
1.11.1 (2024-07-30)
======
- Drop unnecessary libxml dependency
- Translation Updates:
Czech, Serbian
1.11.0 (2024-07-25)
======
- Drop built-in support for imgur
- Drop jobs-related code
- Drop libsoup dependency
- Use XDG_DATA_HOME in imgur-upload.sh
- Make sure screenshot is copied to clipboard before closing (!56)
- Add more tests
- build: clang: Silence -Wcast-align
- Translation Updates:
Albanian, Basque, Belarusian, Bulgarian, Catalan, Chinese (China),
Chinese (Taiwan), Croatian, Czech, Danish, Dutch, English (United
Kingdom), Estonian, Finnish, French, Galician, German, Greek, Hebrew,
Hungarian, Indonesian, Italian, Japanese, Korean, Lithuanian, Malay,
Norwegian Bokmål, Occitan (post 1500), Persian (Iran), Polish,
Portuguese, Portuguese (Brazil), Russian, Serbian, Slovak, Slovenian,
Spanish, Swedish, Thai, Turkish, Ukrainian
1.10.6 (2024-05-28)
======
- build: Switch from intltool to gettext
- Preliminary Wayland support
- Translation Updates:
Albanian, Arabic, Armenian (Armenia), Basque, Belarusian, Bulgarian,
Catalan, Chinese (China), Chinese (Taiwan), Croatian, Czech, Danish,
Dutch, Eastern Armenian, English (Australia), English (United
Kingdom), Estonian, Finnish, French, Galician, Georgian, German,
Greek, Hebrew, Hungarian, Icelandic, Indonesian, Interlingue,
Italian, Japanese, Korean, Lithuanian, Malay, Norwegian Bokmål,
Occitan (post 1500), Persian (Iran), Polish, Portuguese, Portuguese
(Brazil), Russian, Serbian, Slovak, Slovenian, Spanish, Swedish,
Thai, Turkish, Ukrainian
1.10.5 (2024-02-04)
======
- Add imgur support as custom action (!51)
- Translation Updates:
Albanian, Basque, Bulgarian, Catalan, Chinese (China), Chinese
(Taiwan), Danish, Dutch, English (United Kingdom), Estonian, French,
German, Greek, Hebrew, Italian, Japanese, Lithuanian, Norwegian
Bokmål, Occitan (post 1500), Polish, Portuguese, Portuguese
(Brazil), Russian, Serbian, Slovenian, Spanish, Swedish, Turkish,
Ukrainian
1.10.4 (2023-05-14)
======
- Fix warning about checking file permissions
- Refactor supported image formats handling (!49)
- Add support to AVIF (#109)
- Add support to JPEG XL (#108)
- Check if the pixbuf-loader supports writing
- Restrict file permission if not saved in a user-owned directory (#2)
- Save preferences when plugin finalizes screenshot (#96)
- Fix screenshot finalize behavior for plugin
- Translation Updates:
Albanian, Arabic, Armenian (Armenia), Basque, Belarusian, Bulgarian,
Catalan, Chinese (China), Chinese (Taiwan), Croatian, Czech, Danish,
Dutch, Eastern Armenian, English (Australia), English (United
Kingdom), Estonian, Finnish, French, Galician, Georgian, German,
Greek, Hebrew, Hungarian, Icelandic, Indonesian, Interlingue,
Italian, Japanese, Kazakh, Korean, Lithuanian, Malay, Norwegian
Bokmål, Occitan (post 1500), Persian (Iran), Polish, Portuguese,
Portuguese (Brazil), Russian, Serbian, Slovak, Slovenian, Spanish,
Swedish, Thai, Turkish, Ukrainian
1.10.3 (2023-01-12)
======
- Lower minimal Xfce dependecies back to 4.16
- Remove fallback code
1.10.2 (2023-01-02)
======
- Fix capture of CSD windows
- Fix active window and region capture modes
- Consider scale factor while capturing screenshots with cairo (#95)
- Support libsoup2 and 3 simultaneously (#97)
- save dialog: show preview of selected file (#94)
- Save preferences of panel plugin (#96)
- Translation Updates:
Albanian, Arabic, Armenian (Armenia), Basque, Belarusian, Bulgarian,
Catalan, Chinese (China), Chinese (Taiwan), Croatian, Czech, Danish,
Dutch, Eastern Armenian, English (Australia), Estonian, Finnish,
French, Galician, Georgian, German, Greek, Hebrew, Hungarian,
Icelandic, Indonesian, Interlingue, Italian, Japanese, Korean,
Lithuanian, Malay, Norwegian Bokmål, Occitan (post 1500), Persian
(Iran), Polish, Portuguese, Portuguese (Brazil), Russian, Serbian,
Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian
1.10.1 (2022-12-21)
======
- Fixes capture of screenshots after first time (#89)
- libsoup: Migrate to 3.0 (#88)
- Fix typo in NEWS file
- Translation Updates:
Albanian, Arabic, Armenian (Armenia), Basque, Belarusian, Bulgarian,
Catalan, Chinese (China), Chinese (Taiwan), Croatian, Czech, Danish,
Dutch, Eastern Armenian, English (Australia), Estonian, Finnish,
French, Galician, Georgian, German, Greek, Hebrew, Hungarian,
Icelandic, Indonesian, Interlingue, Italian, Japanese, Korean,
Lithuanian, Malay, Norwegian Bokmål, Occitan (post 1500), Persian
(Iran), Polish, Portuguese, Portuguese (Brazil), Russian, Serbian,
Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian
1.10.0 (2022-11-15)
======
- Introduce custom actions (!37)
- Bump dependencies
- Replace deprecated functions
- Added writability check to screenshot_dir (#84)
- Include "config.h" before GLib include files
- Revert icon name translation
- Drop subtitles
- Add version check for libxi (#79)
- Translation Updates:
Albanian, Arabic, Armenian (Armenia), Basque, Belarusian, Bulgarian,
Catalan, Chinese (China), Chinese (Taiwan), Croatian, Czech, Danish,
Dutch, Eastern Armenian, English (Australia), English (United
Kingdom), Estonian, Finnish, French, Galician, Georgian, German,
Greek, Hebrew, Hungarian, Icelandic, Indonesian, Interlingue,
Italian, Japanese, Kazakh, Korean, Lithuanian, Malay, Norwegian
Bokmål, Occitan (post 1500), Persian (Iran), Polish, Portuguese,
Portuguese (Brazil), Russian, Serbian, Slovak, Slovenian, Spanish,
Swedish, Thai, Turkish, Ukrainian
1.9.11 (2022-08-08)
======
- Add support to WebP (#76)
- Fix window capture in HiDPI mode (#73)
- Fix intltool lock file problem during make distcheck
- Add option to Show in File Manager when saving (#47)
- Do not quit after dismissing dialog if invoked from plugin (#71)
- Update COPYING (Issue #70)
- Translation Updates:
Albanian, Basque, Belarusian, Bulgarian, Catalan, Chinese (China),
Chinese (Taiwan), Czech, Danish, Dutch, Estonian, Finnish, French,
Galician, German, Greek, Hebrew, Indonesian, Italian, Japanese,
Korean, Lithuanian, Malay, Norwegian Bokmål, Persian (Iran), Polish,
Portuguese, Portuguese (Brazil), Russian, Serbian, Slovak, Slovenian,
Spanish, Swedish, Thai, Turkish, Ukrainian
1.9.10 (2022-03-06)
======
- Use symbolic icons
- Bump Xfce dependencies to 4.14
- _NET_FRAME_EXTENTS support
- Add back button to take new screenshot (!29)
- Fix Imgur upload via CLI (!26)
- Set up ScreenshotData after commandline parsing
- Fix compile warning (#62)
- Update to description and addition of donate and translate links
- Replace link to bugzilla with gitlab (!25)
- Translation Updates:
Albanian, Arabic, Armenian (Armenia), Basque, Belarusian, Bulgarian,
Catalan, Chinese (China), Chinese (Taiwan), Croatian, Czech, Danish,
Dutch, Eastern Armenian, English (Australia), English (United
Kingdom), Estonian, Finnish, French, Galician, Georgian, German,
Greek, Hebrew, Hungarian, Icelandic, Indonesian, Interlingue,
Italian, Japanese, Korean, Latvian, Lithuanian, Malay, Norwegian
Bokmål, Norwegian Nynorsk, Occitan (post 1500), Persian (Iran),
Polish, Portuguese, Portuguese (Brazil), Romanian, Russian, Serbian,
Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian, Uyghur
1.9.9
======
- Add link to Imgur ToS (#54)
- Add notice about imgur (#53)
- Add launchable tag to appdata.xml
- Update help message for --save option
- Add combobox with file extensions (#6)
- Add option to capture window border or not (#4)
- Preserve last used extension
- Save screenshots according to the extension (#6)
- Avoid save dialog loop if action was specified from CLI (#41)
- Respect windows scaling (!18)
- Fix compilation warnings
- Add version check for pango
- Correctly calculate dimensions of size window (#37)
- Add option to disable Imgur upload (#20)
- Translation Updates:
Albanian, Arabic, Armenian (Armenia), Basque, Belarusian, Bulgarian,
Catalan, Chinese (China), Chinese (Taiwan), Croatian, Czech, Danish,
Dutch, Eastern Armenian, English (Australia), English (United
Kingdom), Estonian, Finnish, French, Galician, Georgian, German,
Greek, Hebrew, Hungarian, Icelandic, Indonesian, Interlingue,
Italian, Japanese, Kazakh, Korean, Latvian, Lithuanian, Malay,
Norwegian Bokmål, Norwegian Nynorsk, Occitan (post 1500), Persian
(Iran), Polish, Portuguese, Portuguese (Brazil), Romanian, Russian,
Serbian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish,
Ukrainian, Urdu, Urdu (Pakistan), Uyghur, Vietnamese
1.9.8
======
- Fix dialog icons and add title to error dialog
- Go back to actions dialog if image upload fails (#12)
- Go back to actions dialog if GtkFileChooser is dismissed (#33)
- Make radio buttons execute actions on enter/space press
- Exclude shadow borders from CSD windows (!10)
- Capture mouse cursor in rectangle selection (#30)
- Region size should show updated size (!9)
- Add info about Ctrl to "Select region" tooltip
- Replace AC_CONFIG_MACRO_DIR with AC_CONFIG_MACRO_DIRS (!4)
- Added 24px and 32px icons
- Fix screenshot capture when scale > 1
- Add new App icon and switch to rDNS icon name
- Switch to README.md and foreign automake mode
- Bug #16717: Move from exo-csource to xdt-csource
- Update homepage link at appdata.xml
- Translation Updates:
Albanian, Arabic, Armenian (Armenia), Basque, Belarusian, Bulgarian,
Catalan, Chinese (China), Chinese (Taiwan), Croatian, Czech, Danish,
Dutch, Eastern Armenian, English (Australia), English (United
Kingdom), Estonian, Finnish, French, Galician, Georgian, German,
Greek, Hebrew, Hungarian, Icelandic, Indonesian, Interlingue,
Italian, Japanese, Kazakh, Korean, Latvian, Lithuanian, Malay,
Norwegian Bokmål, Norwegian Nynorsk, Occitan (post 1500), Polish,
Portuguese, Portuguese (Brazil), Romanian, Russian, Serbian, Slovak,
Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian, Urdu, Urdu
(Pakistan), Uyghur, Vietnamese
1.9.7
======
- Add warning notice to imgur upload option (Bug #15347)
- Fix cursor capture when near screen edge (Bug #9262)
- Improve wording (Bug #15429)
- Allow compilation with panel 4.15
- Restore libxfce4ui 4.12 compatibility
- Translation Updates: Basque, Bulgarian, Catalan, Chinese (China),
Chinese (Taiwan), Danish, Dutch, English (United Kingdom), French, German,
Greek, Hungarian, Korean, Lithuanian, Malay, Norwegian Bokmål, Polish,
Portuguese, Portuguese (Brazil), Russian, Serbian, Spanish, Turkish
1.9.6
======
- Do not show translation info on --help output (Bug #15883)
- Avoid destroying size window twice (Bug #15792)
- Replace GtkStock buttons
- Add missing NULL as last parameter of
xfce_titled_dialog_new_with_buttons() (Bug #14973)
- Do not use root coordinates for region capture (Bug #15406)
- Install AppData into metainfo
- Update AppData file
- Try to grab seat more than once (Bug #15320)
- Use new xfce_gdk_screen_get_geometry if available
- Make screenshooter-imgur-dialog.ui translatable (Bug #15254)
- Translation Updates: Albanian, Arabic, Asturian, Basque, Belarusian,
Bulgarian, Catalan, Chinese (China), Chinese (Taiwan), Croatian, Czech,
Danish, Dutch, English (Australia), English (United Kingdom), Finnish, French,
Galician, German, Greek, Hebrew, Hungarian, Icelandic, Indonesian, Italian,
Japanese, Kazakh, Korean, Latvian, Lithuanian, Malay, Norwegian Bokmål,
Norwegian Nynorsk, Occitan (post 1500), Polish, Portuguese,
Portuguese (Brazil), Romanian, Russian, Serbian, Slovak, Slovenian, Spanish,
Swedish, Thai, Turkish, Uighur, Ukrainian, Urdu, Urdu (Pakistan), Vietnamese
=== Version 1.9.5 ===
* Bugs fixed:
- Panel plugin: allow it to save files (bug #15187)
=== Version 1.9.4 ===
* Enhancements:
- Extended save function to also take files (bug #14156, thanks to Arthur Jansen)
- Show width and height of selection area (bug #12664, thanks to Simon)
- Improved imgur dialog (bug #14973, thanks to Arthur Jansen)
- Don't save region/delay/show_mouse if region was specified from CLI
* Bugs fixed:
- React to core X input events when XInput is not available (bug #15166)
- Fix crash and properly handle cursors on HiDPI (thanks to Viktor Odintsev)
- Delay in panel plugin does not work (bug #14604)
=== Version 1.9.3 ===
* Enhancements:
- Allow user to move selection rectangle (bug #14365)
- Allow and remember 0sec delay for all regions (bug #13763)
* Bugs fixed:
- Fix clipboard action handling (bug #14513)
=== Version 1.9.2 ===
* Remove zimagez support (bug #14283)
* Enhancements:
- Use g_app_info_launch() for command launching (bug #13886)
- Dismiss the progress dialog after upload (bug #12519)
- Improve thumbnail size clamping
- Allow --clipboard option to be used with the others (bug #14120)
* Bugs fixed:
- Handle device grab failure (bug #10259)
=== Version 1.9.1 ===
* Enhancements:
- Get rid of a dead assignment
* Bugs fixed:
- Fix crash on program exit after image upload (bug #13415)
=== Version 1.9.0 ===
* Enhancements:
- Downgrade xfce4-panel dependency to 4.12
- Updated translations (thanks to translators!)
* Bugs fixed:
- Use HTTPS for imgur (bug #13415)
=== Version 1.8.99 ===
* Enhancements:
- Port to GTK+3
- Updated translations (thanks to translators!)
* Bugs fixed:
- Fix appdata description
- Fix crash in GValueArray handling (bug #11879)
- Use while instead of when in strings (bug #12157)
- Fix gray overlay in region mode screenshots (bug #11922)
- Fix crash when uploading to zimagez (bug #11879)
=== Version 1.8.2 ===
* Enhancements:
- Add imgur.com as possible upload option (bug #6899)
- Add appdate file (bug #11202)
- Make region selection with compositing on more usable on darker
backgrounds (bug #9592).
- Updated translations (thanks to translators!)
* Bugs fixed:
- Fix keyboard navigation between choices (bug #11325)
- Fix build with automake 1.13 (bug #10030)
- Use filename-friendly date format for saved files (bug #8445)
=== Version 1.8.1 ===
* Enhancements:
- Adapting the panel plugin to xfce4-panel 4.9+. Andrzej.
- Add a clipboard CLI option (bug #8483). Tom Hope.
- Panel plugin is now built as a library.
* Bugs fixed:
- Fix crash with some window managers (bug #8080). Bruno Ramos.
- Fix crash with NULL save path (bug #8443).
- Install documentation to new location (bug #8116).
- Drop AC_PROG_LIBTOOL in favor of LT_PREREQ and LT_INIT.
- Add explicit -lm link to LIBADD (bug #8230).
- Plugin installation location compatible with xfce4-panel 4.9+.
- Update outdated man page.
* Updated translations: Arabic, Brazilian, Bulgarian, Chinese, Czech,
Dutch, German, Icelandic, Japanese, Korean, Lithuanian, Portuguese,
Turkish, Ukrainian, Uyghur.
=== Version 1.8.0 ===
* Gtk 2.16, libxfce4ui and exo are now required.
* Xfce4 Screenshooter does not depend anymore on libxfcegui4.
* Enhancements:
- Capture the cursor using XFIXES (bug #7567).
- Add default responses for the dialogs (bug #6880).
* Bugs fixed:
- Fix build with Xfce's master branch.
- Remove obsolote 'hide' CLI option from the manpage.
- Use new GtkLabel link instead of SexyUrlLabel.
- Plug massive leak when cancelling in actions dialog.
- Link to X11 libs, fixes linking with gold.
- Fix a crash when the config file does not exist yet (bug #6460).
- Clean the build system for the new panel library.
- Fix BBCode, it cannot contain new lines and spaces.
* Translation updates: Arabic, Brazilian, Catalan, Croatian, Dutch,
French, Galician, Greek, Indonesian, Italian, Japanese, Kazakh,
Norwegian Bokmal, Polish, Portuguese, Punjabi, Romanian, Russian,
Slovak, Sinhala, Swedish, Turkish, Ukrainian and Uyghur.
=== Version 1.7.9 ===
* The XMLRPC-C dependency has been replaced by libsoup.
* Gtk 2.14 is now required to compile.
* Switch to a non-recursive Makefile.am. This reduces the build time
and centralizes the build information.
* New features:
- Scrolling the panel plugin button changes the area to be captured.
- When compositing is on, use a nice partially transparent rubber-banding,
still needs some polishing.
- F1 opens the help page.
- Automatically fill the title and comment fields in the ZimageZ upload
information dialog.
- Make enter validate the upload in the ZimageZ upload information dialog.
- Use the XDG image directory as the default directory for saving
screenshots. If it does not exist, fallback to $HOME.
- Major interface rethinking:
+ This new interface is based on a suggestion by Yves-Alexis Pérez. The
former main dialog is split into two dialogs: one for selecting the
region to be captured and the delay, while the second one displays a
preview of the screenshot and lists the available actions.
+ The main application shows the first dialog, then the second one. If
one of the region CLI options is given, the screenshot is taken
accordingly and the second dialog is displayed.
+ The panel plugin uses the first dialog as a configuration dialog. When
you click the plugin, the screenshot is taken and the second dialog is
shown.
- Allow drag and dropping of the preview to other applications in order to
paste the screenshot (Mike Massonnet).
* Bugs fixed:
- UTF-8 characters in user name or password caused a login failure.
- Fix all warnings triggered by running autogen.sh.
- Fix the ZimageZ upload when behind a proxy.
- Fix copying of links in the ZimageZ upload finished dialog.
- Fix 100% CPU usage when selecting a region in a non composited
environment (spotted by Gauvain Pocentek).
- When capturing a window with rounded corners, don't capture the
background of the window but make the screenshot transparent instead.
- Make sure the save folder in the panel plugin preferences is valid.
- Don't show the copy to clipboard option in the application if no
clipboard manager is running as the screenshot won't be preserved
after closing the application anyway in that case.
- Allow xfce4-screenshooter -r to be used as a command for a keybinding.
- Allow silent build.
- Fix most pre-build warnings.
- Escape screenshots path when opening them with an application.
- Plug some leaks in the application and in the panel plugin.
- Do not accept conflicting CLI options. Warn the user when he uses
CLI options which are not coherent.
- Correctly save preferences, even if the rc file does not exist
(Mike Massonnet).
- One second is now the minimal delay when using the interactive
mode. This caused the screenshooter dialog to be partially displayed
on the screenshot in some cases.
* A lot of updated translations for the application, the panel plugin and the
documentation. Thanks to the Xfce translation team!
=== Version 1.6.0 ===
Gtk+ 2.12 and Glib 2.16 are now required to build the application
and the panel plugin.
and the panel plugin. Xml-rpc and libcurl are now optionnal dependencies,
they should be replaced by libsoup in the future.
* Bugs fixed:
- The cursor was missplaced when taking a screenshot of a window (Bug #5204).
* Enhancements:
- Add an option in the user interface to hide the mouse pointer
on screenshots.
- Add an optional action to host screenshots on ZimageZ, a free online image
hosting solution.
- Add an option in the user interface to hide the mouse pointer on screenshots.
- Add an option in the application which allows the user to choose
whether the application should be closed after taking a screenshot. This
allows the user to take several screenshots in a row.
- New user interface based on Fabrice Viale's review. The dialog now has a
two column layout which makes it more appealing and more usable.
- Add a CLI option to hide the mouse pointer on screenshots.
- Make the main dialog more compact by simplifying the user interface.
- When selecting a region to be screenshooted, you can now use the Escape
keyboard key to cancel the operation.
- Screenshots can now be saved to remote locations that are connected using
gvfs-connect or Gigolo.
- Updated translations for the application and the documentation.
=== Version 1.5.1 ===
......
This application allows you to capture the entire screen, the active
window or a selected region. You can set the delay that elapses
before the screenshot is taken and the action that will be done with
the screenshot: save it to a PNG file, copy it to the clipboard, or
open it using another application.
A plugin for the Xfce panel is also available.
You can grab the development version with subversion by running:
svn co http://svn.xfce.org/svn/goodies/xfce4-screenshooter/trunk/ xfce4-screenshooter
The documentation is available in the doc/ folder of the source tree and
on the website: http://goodies.xfce.org/projects/applications/xfce4-screenshooter
[![License](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](https://gitlab.xfce.org/apps/xfce4-screenshooter/-/blob/master/COPYING)
# xfce4-screenshooter
Xfce4-screenshooter allows you to capture the entire screen, the active
window or a selected region. You can set the delay that elapses
before the screenshot is taken and the action that will be done with
the screenshot: save it to a file, copy it to the clipboard, open
it using another application or use your creativity with custom actions
scripts.
----
### Homepage
[Xfce4-screenshooter documentation](https://docs.xfce.org/apps/xfce4-screenshooter/start)
### Changelog
See [NEWS](https://gitlab.xfce.org/apps/xfce4-screenshooter/-/blob/master/NEWS) for details on changes and fixes made in the current release.
### Source Code Repository
[Xfce4-screenshooter source code](https://gitlab.xfce.org/apps/xfce4-screenshooter)
### Download a Release Tarball
[Xfce4-screenshooter archive](https://archive.xfce.org/src/apps/xfce4-screenshooter)
or
[Xfce4-screenshooter tags](https://gitlab.xfce.org/apps/xfce4-screenshooter/-/tags)
### Installation
From source code repository:
% cd xfce4-screenshooter
% ./autogen.sh
% make
% make install
From release tarball:
% tar xf xfce4-screenshooter-<version>.tar.bz2
% cd xfce4-screenshooter-<version>
% ./configure
% make
% make install
### Reporting Bugs
Visit the [reporting bugs](https://docs.xfce.org/apps/xfce4-screenshooter/bugs) page to view currently open bug reports and instructions on reporting new bugs or submitting bugfixes.
* Port "select a region" to use cairo to have transparent rubber banding
as in thunar and xfdesktop.
* Check for leaks using valgrind.
* Use Xshape to have a transparent background in the generated screenshots.
Low priority:
* Improve the cairo rubber banding: allow the user to compute the size of
the rectangle (as with a Gimp selection for example). The Enter key
would be used to validate the selection.
* When the screen is composited, show the selection instructions using a
transparent label.
* Try to get borders captured with compiz.
* Consider porting the code to use GObjects instead of structs.
#!/bin/sh
#
# Copyright (c) 2002-2005
# Copyright (c) 2002-2020
# The Xfce development team. All rights reserved.
#
# Written for Xfce by Benedikt Meurer <benny@xfce.org>.
......@@ -10,36 +10,9 @@
autogen.sh: You don't seem to have the Xfce development tools installed on
your system, which are required to build this software.
Please install the xfce4-dev-tools package first, available from
http://xfce.org/~benny/projects/xfce4-dev-tools/.
your distribution or https://www.xfce.org
EOF
exit 1
}
# verify that po/LINGUAS is present
(test -f po/LINGUAS) >/dev/null 2>&1 || {
cat >&2 <<EOF
autogen.sh: The file po/LINGUAS could not be found. Please check your snapshot
or try to checkout again.
EOF
exit 1
}
echo 'dnl *** This file is automatically generated from configure.ac.in ***' \
>configure.ac
echo 'dnl *** DO NOT EDIT! ***' >>configure.ac
echo >>configure.ac
# substitute revision and linguas
linguas=$(sed -e '/^#/d' po/LINGUAS)
if [ -d .git/svn ]; then
revision=$(git svn find-rev trunk)
elif [ -d .svn ]; then
revision=$(LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}')
else
revision=UNKNOWN
fi
sed -e "s/@LINGUAS@/${linguas}/g" \
-e "s/@REVISION@/${revision}/g" \
< "configure.ac.in" >> "configure.ac"
xdt-autogen $@
XDT_AUTOGEN_REQUIRED_VERSION="4.17.0" xdt-autogen $@
dnl configure.ac
dnl
dnl xfce4-screenshooter
dnl
XDT_VERSION_INIT([1.11.1], [git])
AC_INIT([xfce4-screenshooter], [xdt_version], [https://gitlab.xfce.org/apps/xfce4-screenshooter], [xfce4-screenshooter])
AC_PREREQ([2.69])
AC_REVISION([xdt_version_build])
AC_CONFIG_MACRO_DIRS([m4])
dnl ***************************
dnl *** Initialize automake ***
dnl ***************************
AM_INIT_AUTOMAKE([1.8 dist-bzip2 tar-ustar foreign])
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE()
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
dnl ********************************
dnl *** Check for basic programs ***
dnl ********************************
AC_PROG_CC()
AC_PROG_CC_C_O()
AC_PROG_LD()
AC_PROG_INSTALL()
AM_PROG_CC_C_O()
dnl **************************
dnl *** Initialize libtool ***
dnl **************************
LT_PREREQ([2.2.6])
LT_INIT([disable-static])
dnl **********************************
dnl *** Check for standard headers ***
dnl **********************************
AC_HEADER_STDC
dnl ***********************************
dnl *** Check for required packages ***
dnl ***********************************
XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-2.0], [4.18.0])
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.18.0])
XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.18.0])
XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.42.0])
XDT_CHECK_PACKAGE([GTK], [gtk+-3.0], [3.24.0])
XDT_CHECK_PACKAGE([GDK], [gdk-3.0], [3.24.0])
XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.66.0])
XDT_CHECK_PACKAGE([EXO], [exo-2], [0.12.0])
XDT_CHECK_PACKAGE([PANGO], [pango], [1.44.0])
XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.18.0])
dnl ***********************************
dnl *** Check for optional packages ***
dnl ***********************************
XDT_CHECK_OPTIONAL_FEATURE([X11],
[x11],
[
XDT_FEATURE_DEPENDENCY([LIBX11], [x11], [1.6.7])
XDT_FEATURE_DEPENDENCY([GDKX11], [gdk-x11-3.0], [3.24.0])
XDT_FEATURE_DEPENDENCY([XINPUT2], [xi], [1.7.8])
XDT_FEATURE_DEPENDENCY([LIBXEXT], [xext], [1.0.0])
XDT_FEATURE_DEPENDENCY([XFIXES], [xfixes], [4.0.0])
],
[the X11 windowing system])
XDT_CHECK_OPTIONAL_FEATURE([WAYLAND],
[wayland],
[
XDT_FEATURE_DEPENDENCY([GDK_WAYLAND], [gdk-wayland-3.0], [3.24.0])
XDT_FEATURE_DEPENDENCY([WAYLAND_SCANNER], [wayland-scanner], [1.15.0])
XDT_FEATURE_DEPENDENCY([WAYLAND_CLIENT], [wayland-client], [1.15.0])
],
[the Wayland windowing system])
if test x"$ENABLE_X11" != x"yes" -a x"$ENABLE_WAYLAND" != x"yes"; then
AC_MSG_ERROR([Either both X11 and Wayland support was disabled, or required dependencies are missing. One of the two must be enabled.])
fi
if test x"$ENABLE_X11" != x"yes"; then
dnl Do not check for optional X11 packages if X11 is disabled
enable_libxtst=no
fi
XDT_CHECK_OPTIONAL_PACKAGE([LIBXTST], [xtst], [libxtst_min_version], [libxtst], [Libxtst support])
if test x"$ENABLE_WAYLAND" = x"yes"; then
WLR_PROTOCOLS_PKGDATADIR=`$PKG_CONFIG --variable=pkgdatadir wlr-protocols 2>/dev/null || true`
if test x"$WLR_PROTOCOLS_PKGDATADIR" = x""; then
WLR_PROTOCOLS_PKGDATADIR="$ac_abs_confdir/protocols/wlr-protocols"
if test "$(echo "$WLR_PROTOCOLS_PKGDATADIR/"*)" = "$WLR_PROTOCOLS_PKGDATADIR/*"; then
AC_MSG_ERROR([$WLR_PROTOCOLS_PKGDATADIR seems empty, did you clone the wlr-protocols submodule?])
fi
fi
AC_MSG_CHECKING([for wlr-protocols])
AC_MSG_RESULT([$WLR_PROTOCOLS_PKGDATADIR])
AC_SUBST([WLR_PROTOCOLS_PKGDATADIR])
fi
dnl ******************************
dnl *** Check for i18n support ***
dnl ******************************
GETTEXT_PACKAGE="$PACKAGE"
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Name of default gettext domain])
AC_SUBST([GETTEXT_PACKAGE])
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.19.8])
dnl **************************
dnl *** Check for help2man ***
dnl **************************
AC_CHECK_PROGS([HELP2MAN], [help2man])
if ! test -z "$HELP2MAN"; then
AM_CONDITIONAL([HAVE_HELP2MAN], true)
else
AM_CONDITIONAL([HAVE_HELP2MAN], false)
fi
dnl Check for debugging support
XDT_FEATURE_DEBUG([xdt_debug_default])
AC_OUTPUT([
Makefile
po/Makefile.in
])
dnl ***************************
dnl *** Print configuration ***
dnl ***************************
echo ""
echo "Build Configuration:"
echo ""
echo " * XFIXES support: $XFIXES_FOUND"
echo " * Debugging support: $enable_debug"
echo " * X11 Support: ${ENABLE_X11:-no}"
echo " * Wayland Support: ${ENABLE_WAYLAND:-no}"
echo ""
dnl configure.ac
dnl
dnl xfce4-screenshooter
dnl
m4_define([xfce4_screenshooter_version_major], [1])
m4_define([xfce4_screenshooter_version_minor], [5])
m4_define([xfce4_screenshooter_version_micro], [1])
m4_define([xfce4_screenshooter_version_nano], [1]) dnl leave this empty to have no nano version
m4_define([xfce4_screenshooter_version_build], [r@REVISION@])
m4_define([xfce4_screenshooter_version_tag], [svn])
m4_define([xfce4_screenshooter_version], [xfce4_screenshooter_version_major().xfce4_screenshooter_version_minor().xfce4_screenshooter_version_micro()ifelse(xfce4_screenshooter_version_nano(), [], [], [.xfce4_screenshooter_version_nano()])ifelse(xfce4_screenshooter_version_tag(), [svn], [xfce4_screenshooter_version_tag()-xfce4_screenshooter_version_build()], [xfce4_screenshooter_version_tag()])])
AC_INIT([xfce4-screenshooter], [xfce4_screenshooter_version], [http://bugzilla.xfce.org/], [xfce4-screenshooter])
dnl ***************************
dnl *** Initialize automake ***
dnl ***************************
AM_INIT_AUTOMAKE([1.8 dist-bzip2 tar-ustar])
AM_CONFIG_HEADER([config.h])
AM_MAINTAINER_MODE()
dnl *******************************
dnl *** Check for UNIX variants ***
dnl *******************************
AC_AIX()
AC_ISC_POSIX()
AC_MINIX()
dnl ********************************
dnl *** Check for basic programs ***
dnl ********************************
AC_PROG_CC()
AC_PROG_CC_C_O()
AC_PROG_LD()
AC_PROG_INSTALL()
AC_PROG_INTLTOOL()
dnl **************************
dnl *** Initialize libtool ***
dnl **************************
AC_DISABLE_STATIC()
AC_PROG_LIBTOOL()
dnl **********************************
dnl *** Check for standard headers ***
dnl **********************************
AC_HEADER_STDC
dnl ***********************************
dnl *** Check for required packages ***
dnl ***********************************
XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.4.0])
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.4.0])
XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.4.0])
XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.6.0])
XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.12.0])
XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.16.0])
dnl **************************
dnl *** Check for xsltproc ***
dnl **************************
AC_ARG_ENABLE([xsltproc], [AC_HELP_STRING([--enable-xsltproc], [Use xsltproc to build documentation @<:@default=no@:>@])],, [enable_xsltproc=no])
if test x"$enable_xsltproc" = x"yes"; then
AC_PATH_PROG([XSLTPROC], [xsltproc], [no])
if test x"$XSLTPROC" = x"no"; then
enable_xsltproc=no
fi
fi
AM_CONDITIONAL([ENABLE_XSLTPROC], [test x"$enable_xsltproc" = x"yes"])
dnl ************************
dnl *** Check for xml2po ***
dnl ************************
AC_ARG_ENABLE([xml2po], [AC_HELP_STRING([--enable-xml2po], [Use xml2po to translate documentation @<:@default=no@:>@])],, [enable_xml2po=no])
if test x"$enable_xml2po" = x"yes"; then
AC_PATH_PROG([XML2PO], [xml2po], [no])
if test x"$XML2PO" = x"no"; then
enable_xml2po=no
fi
fi
AM_CONDITIONAL([ENABLE_XML2PO], [test x"$enable_xml2po" = x"yes"])
dnl ******************************
dnl *** Check for i18n support ***
dnl ******************************
XDT_I18N([@LINGUAS@])
dnl Check for debugging support
XDT_FEATURE_DEBUG()
AC_OUTPUT([
Makefile
docs/Makefile
docs/manual/Makefile
docs/manual/C/Makefile
docs/manual/C/xfce4-screenshooter.xml
docs/manual/C/images/Makefile
docs/manual/fr/Makefile
docs/manual/fr/xfce4-screenshooter.xml
docs/manual/fr/images/Makefile
docs/manual/gl/Makefile
docs/manual/gl/xfce4-screenshooter.xml
docs/manual/gl/images/Makefile
docs/manual/it/Makefile
docs/manual/it/xfce4-screenshooter.xml
docs/manual/it/images/Makefile
docs/manual/ja/Makefile
docs/manual/ja/xfce4-screenshooter.xml
docs/manual/ja/images/Makefile
icons/Makefile
icons/48x48/Makefile
icons/scalable/Makefile
lib/Makefile
src/Makefile
panel-plugin/Makefile
po/Makefile.in
po-doc/Makefile
])
dnl ***************************
dnl *** Print configuration ***
dnl ***************************
echo ""
echo "Build Configuration:"
echo ""
echo " * Debugging support: $enable_debug"
echo ""
echo "Maintainer Configuration:"
echo ""
echo " * Xml2po enabled: $enable_xml2po"
echo " * Xsltproc enabled: $enable_xsltproc"
echo ""
SUBDIRS = manual
# Copied from Thunar, original author: Benedict Meurer
SUBDIRS = \
images
noinst_DATA = \
xfce4-screenshooter.xml
docdir=$(datadir)/xfce4/doc/C
doc_DATA= \
xfce4-screenshooter.html
EXTRA_DIST = $(noinst_DATA) $(doc_DATA)
if MAINTAINER_MODE
if ENABLE_XSLTPROC
xfce4-screenshooter.html: $(srcdir)/xfce4-screenshooter.xml
$(XSLTPROC) $(top_srcdir)/docs/manual/xfce-nochunk.xsl $(srcdir)/xfce4-screenshooter.xml
endif
endif
imagesdir = $(datadir)/xfce4/doc/C/images
images_DATA = \
xfce4-screenshooter-dialog.png
EXTRA_DIST = $(images_DATA)
docs/manual/C/images/xfce4-screenshooter-dialog.png

44.3 KiB

<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Xfce4 Screenshooter</title><link rel="stylesheet" href="../xfce.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="#xfce4-screenshooter" title="Xfce4 Screenshooter"><link rel="next" href="#intro" title="Introduction to xfce4-screenshooter"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="xfce4-screenshooter"></a>Xfce4 Screenshooter</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Jérôme</span> <span class="surname">Guelfucci</span></h3><div class="affiliation"><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jeromeg@xfce.org">jeromeg@xfce.org</a>&gt;</code></p></div></div></div></div></div><div><span xmlns="http://www.w3.org/TR/xhtml1/transitional" class="releaseinfo">
This manual describes version 1.5.1.1svn-r07010 of xfce4-screenshooter.
<br></br></span></div><div><p class="copyright">Copyright © 2008, 2009 Jérôme Guelfucci</p></div><div><div class="legalnotice"><a name="legalnotice"></a><p>
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. The complete license text is available from the <a class="ulink" href="http://www.gnu.org/" target="_top">Free Software Foundation</a>.
</p></div></div><div><p class="pubdate">February 2009</p></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="#intro">Introduction to xfce4-screenshooter</a></span></dt><dt><span class="sect1"><a href="#using-the-application">Using the application</a></span></dt><dd><dl><dt><span class="sect2"><a href="#user-interface">Via the user interface</a></span></dt><dt><span class="sect2"><a href="#command-line">Via command line</a></span></dt></dl></dd><dt><span class="sect1"><a href="#panel-plugin">Using the plugin for the Xfce panel</a></span></dt><dd><dl><dt><span class="sect2"><a href="#add">Adding the plugin</a></span></dt><dt><span class="sect2"><a href="#set">Setting the plugin up</a></span></dt><dt><span class="sect2"><a href="#use">Using the plugin</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="intro"></a>Introduction to xfce4-screenshooter</h2></div></div></div><p>
This application allows you to capture the entire screen, the
active window or a selected region. You can set the delay that
elapses before the screenshot is taken and the action that will
be done with the screenshot: save it to a PNG file, copy it to
the clipboard, or open it using another application.
</p><p>
A plugin for the Xfce panel is also available.
</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="using-the-application"></a>Using the application</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="user-interface"></a>Via the user interface</h3></div></div></div><p>
To launch the application, use the "Screenshot" item in the
"Accessories" category of Xfce's main menu.
</p><p>
This window will be displayed:
</p><div class="screenshot"><div class="mediaobject"><img src="images/xfce4-screenshooter-dialog.png" alt="The window of Xfce4 Screenshooter"></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="region-to-capture"></a>Region to capture</h4></div></div></div><p>
The <span class="emphasis"><em>"Region to capture"</em></span> section allows
you to set from what the screenshot will be taken:
</p><div class="itemizedlist"><ul type="disc"><li>
"Entire screen" takes a screenshot of the whole screen as
you see it.
</li><li>
"Active window" takes a screenshot of the active window, the
one which was active before this dialog appeared, or if you
set a delay, the one that is active after the delay.
</li><li>
"Select a region" allows you to select a region to be
captured by clicking a point of the screen without releasing
the mouse button, dragging your mouse to the other corner of
the region, and releasing the mouse button.
</li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="delay"></a>Delay before taking the screenshot</h4></div></div></div><p>
The <span class="emphasis"><em>"Delay before taking the screenshot"</em></span>
section allows you to set the delay that will elapse between
pressing the <span class="emphasis"><em>"Take the screenshot"</em></span> button
and taking the screenshot. This delay will allow you to open
menus or to do whatever action you want to see displayed on
the screenshot.
</p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="action"></a>Action</h4></div></div></div><p>
The <span class="emphasis"><em>"Action"</em></span> section allows you to choose
what should be done with the screenshot. Three choices are
available.
</p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="save"></a>Save</h5></div></div></div><p>
The <span class="emphasis"><em>"Save"</em></span> option will save the
screenshot to a PNG file. If you check the
<span class="emphasis"><em>"Save by default to"</em></span> checkbox, the
screenshot will be saved to the folder on the right after
you press the <span class="emphasis"><em>"Take the screenshot"</em></span>
button, without showing any save dialog. Otherwise, a save
dialog will be displayed, which also shows a preview of the
screenshot. You will then be able to set the save location,
and the name of the file.
</p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="copy-to-clipboard"></a>Copy to the clipboard</h5></div></div></div><p>
The <span class="emphasis"><em>"Copy to the clipboard"</em></span> option
allows you to paste the screenshot in another application,
such as a word processor. Exiting the application before
the screenshot is pasted often removes the image from the
clipboard. Some clipboard managers allow you to prevent
this.
</p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="open-with"></a>Open with</h5></div></div></div><p>
The <span class="emphasis"><em>"Open with"</em></span> option saves the
screenshot to the system's temporary directory and opens it
with the application set using the dropdown list below.
Applications which support images are automatically detected
and added to the dropdown list.
</p></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="command-line"></a>Via command line</h3></div></div></div><p>
Command line options allow you to take screenshots quickly. They
also allow you to configure the Prt Scrn key on the upper right
of most keyboards so that it takes screenshots. To do so,
configure the keybindings of your desktop environnement so that
it launches xfce4-screenshooter with one or several of the
following options when the Prt Scrn key is pressed.
</p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="options"></a>The command line options</h4></div></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="w-option"></a>The -w option</h5></div></div></div><p>
The <span class="emphasis"><em>-w</em></span> option allows you to take a
screenshot of the active window.
</p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="f-option"></a>The -f option</h5></div></div></div><p>
The <span class="emphasis"><em>-f</em></span> option allows you to take a
screenshot of the entire screen.
</p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="r-option"></a>The -r option</h5></div></div></div><p>
The <span class="emphasis"><em>-r</em></span> option allows you to select a
region to be captured by clicking a point of the screen
without releasing the mouse button, dragging your mouse to
the other corner of the region, and releasing the mouse
button.
</p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="d-option"></a>The -d option</h5></div></div></div><p>
The <span class="emphasis"><em>-d</em></span> option followed by a positive
integer allows you to set the delay before taking the
screenshot when the <span class="emphasis"><em>-f</em></span>, the
<span class="emphasis"><em>-w</em></span> or the <span class="emphasis"><em>-r</em></span>
option is given.
</p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="s-option"></a>The -s option</h5></div></div></div><p>
The <span class="emphasis"><em>-s</em></span> option followed by the path to
an existing folder allows you to set where the screenshots
are saved. This option only has an effect if the
<span class="emphasis"><em>-f</em></span>, the <span class="emphasis"><em>-w</em></span> or
the <span class="emphasis"><em>-r</em></span> option is given. Combined with
the <span class="emphasis"><em>-h</em></span> option (see below), it can be
used to save a file to a given path, without showing any
save dialog.
</p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="h-option"></a>The -h option</h5></div></div></div><p>
If you give the <span class="emphasis"><em>-h</em></span> option, the
screenshot will be saved without showing any save dialog.
This option only has an effect if the
<span class="emphasis"><em>-f</em></span>, the <span class="emphasis"><em>-w</em></span> or the
<span class="emphasis"><em>-r</em></span> option is given. The
<span class="emphasis"><em>-s</em></span> option allows you to set the save
location if needed.
</p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="o-option"></a>The -o option</h5></div></div></div><p>
If the <span class="emphasis"><em>-o</em></span> option is given, followed by
an application name, the screenshot will be saved to the
system's temporary directory and opened with the application
whose name is to be given after <span class="emphasis"><em>-o</em></span>.
This option only has an effect if the
<span class="emphasis"><em>-f</em></span>, the <span class="emphasis"><em>-w</em></span> or the
<span class="emphasis"><em>-r</em></span> option is given.
</p></div></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="panel-plugin"></a>Using the plugin for the Xfce panel</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="add"></a>Adding the plugin</h3></div></div></div><p>
To add the plugin to the panel, right click on the panel and
select <span class="emphasis"><em>"Add New Item"</em></span>. Select the plugin
named <span class="emphasis"><em>"Screenshot"</em></span>, and add it.
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="set"></a>Setting the plugin up</h3></div></div></div><p>
You can configure how screenshots are taken by right clicking on
the plugin and selecting <span class="emphasis"><em>"Configure"</em></span>. A
preferences dialog similar to the dialog of the main application
will appear. Please have a look above for the different
preferences.
</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="use"></a>Using the plugin</h3></div></div></div><p>
To take a screenshot, just click on the plugin.
</p></div></div></div></body></html>