summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>2020-03-10 11:27:18 +0100
committerAlexander Mikhaylenko <alexm@gnome.org>2020-03-10 16:50:19 +0500
commit2662fad5b689ecd5dd2a0deaaf15f4c5089a5ae2 (patch)
tree32387da8da384627ebcdb700e071a82466f6fdff /data
parentaab0e5dc14f3a24172467a1e10b71c38ae618a66 (diff)
downloadgnome-screenshot-2662fad5b689ecd5dd2a0deaaf15f4c5089a5ae2.tar.gz
Move meta files to data folder
Diffstat (limited to 'data')
-rw-r--r--data/gnome-screenshot.165
-rw-r--r--data/meson.build30
-rw-r--r--data/org.gnome.Screenshot.desktop.in26
-rw-r--r--data/org.gnome.Screenshot.metainfo.xml.in42
-rw-r--r--data/org.gnome.Screenshot.service.in3
-rw-r--r--data/org.gnome.gnome-screenshot.gschema.xml55
-rw-r--r--data/screenshots/gnome-screenshot.pngbin0 -> 28502 bytes
7 files changed, 220 insertions, 1 deletions
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 <marillat@debian.org> for
+the Debian GNU/Linux system (but may be used by others).
+.PP
+Updated by Theppitak Karoonboonyanan
+<thep@linux.thai.net>, Tom Feiner <feiner.tom@gmail.com>, Cosimo Cecchi <cosimoc@gnome.org> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
+<component type="desktop">
+ <id>org.gnome.Screenshot.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <name>GNOME Screenshot</name>
+ <summary>Save images of your screen or individual windows</summary>
+ <description>
+ <p>
+ 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.
+ </p>
+ <p>
+ 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.
+ </p>
+ </description>
+ <url type="homepage">https://git.gnome.org/browse/gnome-screenshot/</url>
+ <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-screenshot</url>
+ <url type="donation">http://www.gnome.org/friends/</url>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://gitlab.gnome.org/GNOME/gnome-screenshot/-/raw/master/data/screenshots/gnome-screenshot.png</image>
+ </screenshot>
+ </screenshots>
+ <kudos>
+ <kudo>AppMenu</kudo>
+ <kudo>HiDpiIcon</kudo>
+ <kudo>ModernToolkit</kudo>
+ </kudos>
+ <updatecontact>ebassi@gnome.org</updatecontact>
+ <project_group>GNOME</project_group>
+ <compulsory_for_desktop>GNOME</compulsory_for_desktop>
+ <translation type="gettext">gnome-screenshot</translation>
+</component>
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 @@
+<schemalist gettext-domain="gnome-screenshot">
+ <enum id="org.gnome.gnome-screenshot.file-types">
+ <value nick="bmp" value="0"/>
+ <value nick="jpg" value="1"/>
+ <value nick="png" value="2"/>
+ <value nick="tiff" value="3"/>
+ </enum>
+ <schema id="org.gnome.gnome-screenshot" path="/org/gnome/gnome-screenshot/" gettext-domain="gnome-screenshot">
+ <key name="take-window-shot" type="b">
+ <default>false</default>
+ <summary>Window-specific screenshot (deprecated)</summary>
+ <description>Grab just the current window, rather than the whole desktop. This key has been deprecated and it is no longer in use.</description>
+ </key>
+ <key name="delay" type="i">
+ <default>0</default>
+ <summary>Screenshot delay</summary>
+ <description>The number of seconds to wait before taking the screenshot.</description>
+ </key>
+ <key name="auto-save-directory" type="s">
+ <default>''</default>
+ <summary>Screenshot directory</summary>
+ <description>The directory where the screenshots will be saved by default.</description>
+ </key>
+ <key name="last-save-directory" type="s">
+ <default>''</default>
+ <summary>Last save directory</summary>
+ <description>The last directory a screenshot was saved in interactive mode.</description>
+ </key>
+ <key name="include-border" type="b">
+ <default>true</default>
+ <summary>Include Border</summary>
+ <description>Include the window manager border along with the screenshot</description>
+ </key>
+ <key name="include-pointer" type="b">
+ <default>false</default>
+ <summary>Include Pointer</summary>
+ <description>Include the pointer in the screenshot</description>
+ </key>
+ <key name="include-icc-profile" type="b">
+ <default>true</default>
+ <summary>Include ICC Profile</summary>
+ <description>Include the ICC profile of the target in the screenshot file</description>
+ </key>
+ <key name="use-shadow" type="b">
+ <default>false</default>
+ <summary>Use Shadow</summary>
+ <description>Apply a window shadow to the screenshot</description>
+ </key>
+ <key name="default-file-type" enum="org.gnome.gnome-screenshot.file-types">
+ <default>'png'</default>
+ <summary>Default file type extension</summary>
+ <description>The default file type extension for screenshots.</description>
+ </key>
+ </schema>
+</schemalist>
diff --git a/data/screenshots/gnome-screenshot.png b/data/screenshots/gnome-screenshot.png
new file mode 100644
index 0000000..aa18cb3
--- /dev/null
+++ b/data/screenshots/gnome-screenshot.png
Binary files differ