From 2662fad5b689ecd5dd2a0deaaf15f4c5089a5ae2 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Tue, 10 Mar 2020 11:27:18 +0100 Subject: Move meta files to data folder --- data/gnome-screenshot.1 | 65 ++++++++++++++++++++++++++++ data/meson.build | 30 ++++++++++++- data/org.gnome.Screenshot.desktop.in | 26 +++++++++++ data/org.gnome.Screenshot.metainfo.xml.in | 42 ++++++++++++++++++ data/org.gnome.Screenshot.service.in | 3 ++ data/org.gnome.gnome-screenshot.gschema.xml | 55 +++++++++++++++++++++++ data/screenshots/gnome-screenshot.png | Bin 0 -> 28502 bytes 7 files changed, 220 insertions(+), 1 deletion(-) create mode 100644 data/gnome-screenshot.1 create mode 100644 data/org.gnome.Screenshot.desktop.in create mode 100644 data/org.gnome.Screenshot.metainfo.xml.in create mode 100644 data/org.gnome.Screenshot.service.in create mode 100644 data/org.gnome.gnome-screenshot.gschema.xml create mode 100644 data/screenshots/gnome-screenshot.png (limited to 'data') diff --git a/data/gnome-screenshot.1 b/data/gnome-screenshot.1 new file mode 100644 index 0000000..c2acd50 --- /dev/null +++ b/data/gnome-screenshot.1 @@ -0,0 +1,65 @@ +.TH "GNOME-SCREENSHOT" "1" "August 10, 2013" "" "" +.SH NAME +gnome-screenshot \- capture the screen, a window, or an user-defined area and save the snapshot image to a file. +.SH SYNOPSIS +.sp +\fBgnome-screenshot\fR [ \fB-c\fR ] [ \fB-w\fR ] [ \fB-a\fR ] [ \fB-b\fR ] [ \fB-B\fR ] [ \fB-p\fR ] [ \fB-d \fISECONDS\fB \fR ] [ \fB-e \fIEFFECT\fB \fR ] [ \fB-i\fR ] [ \fB-f \fIFILENAME\fB \fR ] [ \fB--display \fIDISPLAY\fB \fR ] +.SH "DESCRIPTION" +.PP +\fBgnome-screenshot\fR is a GNOME utility for taking +screenshots of the entire screen, a window or a user-defined area of the screen, with optional beautifying +border effects. +.SH "OPTIONS" +.TP +\fB-c, --clipboard\fR +Send the grab directly to the clipboard. +.TP +\fB-w, --window\fR +Grab the current active window instead of the entire +screen. +.TP +\fB-a, --area\fR +Grab an area of the screen instead of the entire screen. +.TP +\fB-b, --include-border\fR +Include the window border within the screenshot. +.TP +\fB-B, --remove-border\fR +Remove the window border from the screenshot. +.TP +\fB-p, --include-pointer\fR +Include the pointer with the screenshot. +.TP +\fB-d, --delay=\fISECONDS\fB,\fR +Take the screenshot after the specified delay [in seconds]. +.TP +\fB-e, --border-effect=\fIEFFECT\fB,\fR +Add an effect to the outside of the screenshot border. +\fIEFFECT\fR can be ``shadow'' +(adding drop shadow), ``border'' (adding rectangular +space around the screenshot), ``vintage'' (desaturating +the screenshot slightly, tinting it and adding +rectangular space around it) or ``none'' (no effect). +Default is ``none''. +.TP +\fB-i, --interactive\fR +Interactively set options in a dialog. +.TP +\fB-f, --file=\fIFILENAME\fB\fR +Save screenshot directly to this file. +.TP +\fB--display=\fIDISPLAY\fB\fR +X display to use. +.TP +\fB-?, -h, --help\fR +Show a summary of the available options. +.PP +In addition, the usual GTK+ command line options apply. +See the output of --help for details. +.SH "AUTHOR" +.PP +This manual page was written by Christian Marillat for +the Debian GNU/Linux system (but may be used by others). +.PP +Updated by Theppitak Karoonboonyanan +, Tom Feiner , Cosimo Cecchi and others. diff --git a/data/meson.build b/data/meson.build index 62ea4cb..645a52e 100644 --- a/data/meson.build +++ b/data/meson.build @@ -1,3 +1,31 @@ -# Subdirectories +i18n.merge_file('desktop', + type: 'desktop', + input: 'org.gnome.Screenshot.desktop.in', + output: 'org.gnome.Screenshot.desktop', + po_dir: join_paths(meson.current_source_dir(), '../po'), + install: true, + install_dir: gnome_screenshot_appsdir) + +i18n.merge_file('appdata', + input: 'org.gnome.Screenshot.metainfo.xml.in', + output: 'org.gnome.Screenshot.metainfo.xml', + po_dir: join_paths(meson.current_source_dir(), '../po'), + install: true, + install_dir: gnome_screenshot_appdatadir) + +service_conf = configuration_data () +service_conf.set('bindir', gnome_screenshot_bindir) +configure_file(input: 'org.gnome.Screenshot.service.in', + output: 'org.gnome.Screenshot.service', + configuration: service_conf, + install: true, + install_dir: gnome_screenshot_servicesdir) +install_data('org.gnome.gnome-screenshot.gschema.xml', + install_dir: gnome_screenshot_schemadir) + +install_data('gnome-screenshot.1', + install_dir: join_paths(get_option('mandir'), 'man1')) + +# Subdirectories subdir('icons') diff --git a/data/org.gnome.Screenshot.desktop.in b/data/org.gnome.Screenshot.desktop.in new file mode 100644 index 0000000..5a017ad --- /dev/null +++ b/data/org.gnome.Screenshot.desktop.in @@ -0,0 +1,26 @@ +[Desktop Entry] +Name=Screenshot +Comment=Save images of your screen or individual windows +# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! +Keywords=snapshot;capture;print;screenshot; +Exec=gnome-screenshot --interactive +Terminal=false +Type=Application +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! +Icon=org.gnome.Screenshot +StartupNotify=true +Categories=GTK;GNOME;Utility;X-GNOME-Utilities; +NotShowIn=KDE; +X-GNOME-Bugzilla-Bugzilla=GNOME +X-GNOME-Bugzilla-Product=gnome-utils +X-GNOME-Bugzilla-Component=screenshot +Actions=screen-shot;window-shot; +DBusActivatable=true + +[Desktop Action screen-shot] +Name=Take a Screenshot of the Whole Screen +Exec=gnome-screenshot + +[Desktop Action window-shot] +Name=Take a Screenshot of the Current Window +Exec=gnome-screenshot -w diff --git a/data/org.gnome.Screenshot.metainfo.xml.in b/data/org.gnome.Screenshot.metainfo.xml.in new file mode 100644 index 0000000..bba12a4 --- /dev/null +++ b/data/org.gnome.Screenshot.metainfo.xml.in @@ -0,0 +1,42 @@ + + + + org.gnome.Screenshot.desktop + CC0-1.0 + GPL-2.0+ + GNOME Screenshot + Save images of your screen or individual windows + +

+ GNOME Screenshot is a simple utility that lets you take pictures of your computer screen. + Screenshots can be of your whole screen, any specific application, or a selected + rectangular area. + You can also copy the captured screenshot directly into the GNOME clipboard and + paste it into other applications. +

+

+ GNOME Screenshot allows you to take screenshots even when it’s not open: just + press the PrtSc button on your keyboard, and a snapshot of your whole screen will + be saved to your Pictures folder. + Hold Alt while pressing PrtSc and you will get a screenshot of only the currently + selected window. +

+
+ https://git.gnome.org/browse/gnome-screenshot/ + https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-screenshot + http://www.gnome.org/friends/ + + + https://gitlab.gnome.org/GNOME/gnome-screenshot/-/raw/master/data/screenshots/gnome-screenshot.png + + + + AppMenu + HiDpiIcon + ModernToolkit + + ebassi@gnome.org + GNOME + GNOME + gnome-screenshot +
diff --git a/data/org.gnome.Screenshot.service.in b/data/org.gnome.Screenshot.service.in new file mode 100644 index 0000000..4e2d80f --- /dev/null +++ b/data/org.gnome.Screenshot.service.in @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.gnome.Screenshot +Exec=@bindir@/gnome-screenshot --gapplication-service diff --git a/data/org.gnome.gnome-screenshot.gschema.xml b/data/org.gnome.gnome-screenshot.gschema.xml new file mode 100644 index 0000000..494b28e --- /dev/null +++ b/data/org.gnome.gnome-screenshot.gschema.xml @@ -0,0 +1,55 @@ + + + + + + + + + + false + Window-specific screenshot (deprecated) + Grab just the current window, rather than the whole desktop. This key has been deprecated and it is no longer in use. + + + 0 + Screenshot delay + The number of seconds to wait before taking the screenshot. + + + '' + Screenshot directory + The directory where the screenshots will be saved by default. + + + '' + Last save directory + The last directory a screenshot was saved in interactive mode. + + + true + Include Border + Include the window manager border along with the screenshot + + + false + Include Pointer + Include the pointer in the screenshot + + + true + Include ICC Profile + Include the ICC profile of the target in the screenshot file + + + false + Use Shadow + Apply a window shadow to the screenshot + + + 'png' + Default file type extension + The default file type extension for screenshots. + + + diff --git a/data/screenshots/gnome-screenshot.png b/data/screenshots/gnome-screenshot.png new file mode 100644 index 0000000..aa18cb3 Binary files /dev/null and b/data/screenshots/gnome-screenshot.png differ -- cgit v1.2.1