[kde-doc-english] [spectacle] /: Add KHotkeys rc file

Boudhayan Gupta me at BaloneyGeek.com
Sat Oct 17 08:59:10 UTC 2015


Git commit 9eb894c8343a668a7df1f5235e4cfed66a578678 by Boudhayan Gupta.
Committed on 17/10/2015 at 08:58.
Pushed by bgupta into branch 'master'.

Add KHotkeys rc file

M  +5    -0    desktop/CMakeLists.txt
A  +102  -0    desktop/spectacle.khotkeys
M  +6    -4    doc/index.docbook

http://commits.kde.org/kscreengenie/9eb894c8343a668a7df1f5235e4cfed66a578678

diff --git a/desktop/CMakeLists.txt b/desktop/CMakeLists.txt
index 891fbba..d718c88 100644
--- a/desktop/CMakeLists.txt
+++ b/desktop/CMakeLists.txt
@@ -9,3 +9,8 @@ install(
     FILES spectacle.notifyrc
     DESTINATION ${KNOTIFYRC_INSTALL_DIR}
 )
+
+install(
+    FILES spectacle.khotkeys
+    DESTINATION ${DATA_INSTALL_DIR}/khotkeys
+)
diff --git a/desktop/spectacle.khotkeys b/desktop/spectacle.khotkeys
new file mode 100644
index 0000000..6eabf34
--- /dev/null
+++ b/desktop/spectacle.khotkeys
@@ -0,0 +1,102 @@
+[Main]
+ImportId=spectacle
+Version=2
+
+[Data]
+DataCount=1
+
+[Data_1]
+Comment=Shortcuts for taking screenshots
+DataCount=3
+Enabled=true
+Name=Screenshots
+SystemGroup=0
+Type=ACTION_DATA_GROUP
+
+[Data_1Conditions]
+Comment=
+ConditionsCount=0
+
+[Data_1_1]
+Comment=Start the screenshot tool and show the GUI
+Enabled=true
+Name=Start Screenshot Tool
+Type=SIMPLE_ACTION_DATA
+
+[Data_1_1Actions]
+ActionsCount=1
+
+[Data_1_1Actions0]
+Arguments=
+Call=StartAgent
+RemoteApp=org.kde.Spectacle
+RemoteObj=/
+Type=DBUS
+
+[Data_1_1Conditions]
+Comment=
+ConditionsCount=0
+
+[Data_1_1Triggers]
+Comment=Simple_action
+TriggersCount=1
+
+[Data_1_1Triggers0]
+Key=Print
+Type=SHORTCUT
+
+[Data_1_2]
+Comment=Take a full screen (all monitors) screenshot and save it
+Enabled=true
+Name=Take Full Screen Screenshot
+Type=SIMPLE_ACTION_DATA
+
+[Data_1_2Actions]
+ActionsCount=1
+
+[Data_1_2Actions0]
+Arguments=false
+Call=FullScreen
+RemoteApp=org.kde.Spectacle
+RemoteObj=/
+Type=DBUS
+
+[Data_1_2Conditions]
+Comment=
+ConditionsCount=0
+
+[Data_1_2Triggers]
+Comment=Simple_action
+TriggersCount=1
+
+[Data_1_2Triggers0]
+Key=Shift+Print
+Type=SHORTCUT
+
+[Data_1_3]
+Comment=Take a screenshot of the currently active window and save it
+Enabled=true
+Name=Take Active Window Screenshot
+Type=SIMPLE_ACTION_DATA
+
+[Data_1_3Actions]
+ActionsCount=1
+
+[Data_1_3Actions0]
+Arguments=true, false
+Call=ActiveWindow
+RemoteApp=org.kde.Spectacle
+RemoteObj=/
+Type=DBUS
+
+[Data_1_3Conditions]
+Comment=
+ConditionsCount=0
+
+[Data_1_3Triggers]
+Comment=Simple_action
+TriggersCount=1
+
+[Data_1_3Triggers0]
+Key=Ctrl+Print
+Type=SHORTCUT
diff --git a/doc/index.docbook b/doc/index.docbook
index deced0e..a40d182 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -33,8 +33,8 @@
 
 		<legalnotice>&FDLNotice;</legalnotice>
 
-		<date>2015-06-12</date>
-		<releaseinfo>1.9.96</releaseinfo>
+		<date>2015-10-17</date>
+		<releaseinfo>15.12.0</releaseinfo>
 
 		<abstract>
 			<para>&spectacle; is a simple application for capturing desktop screenshots. It can capture images of the entire desktop, a single monitor, the currently active window, the window currently under the mouse, or a rectangular region of the screen. The images can then be printed, sent to other applications for manipulation, or quickly be saved as-is.</para>
@@ -68,7 +68,9 @@
 				<para>In the application launcher menu, &spectacle; can be found at <menuchoice><guisubmenu>Applications</guisubmenu><guisubmenu>Graphics</guisubmenu><guimenuitem>Screenshot Capture Utility &spectacle;</guimenuitem></menuchoice></para>
 			</listitem>
 			<listitem>
-				<para>Pressing the <keycap>Print Screen</keycap> button on the keyboard will immediately launch &spectacle;. Additionally, two more keyboard shortcuts are available. Pressing <keycombo action="simul">&Alt;<keycap>Print Screen</keycap></keycombo> will take a screenshot of the active window and save it in your default <filename class="directory">Pictures</filename> folder without showing the GUI, while pressing <keycombo action="simul">&Shift;<keycap>Print Screen</keycap></keycombo> will take a screenshot of your entire desktop and save it in your default <filename class="directory">Pictures</filename> folder without showing the GUI.</para>
+				<para>Pressing the <keycap>Print Screen</keycap> button on the keyboard will immediately launch &spectacle;. Additionally, two more keyboard shortcuts are available. Pressing <keycombo action="simul">&Ctrl;<keycap>Print Screen</keycap></keycombo> will take a screenshot of the active window and save it in your default save directory without showing the GUI, while pressing <keycombo action="simul">&Shift;<keycap>Print Screen</keycap></keycombo> will take a screenshot of your entire desktop and save it in your default save directory without showing the GUI.</para>
+
+                <para>You can configure the default save location and filename by starting &spectacle; normally, clicking the downward arrow beside the <guibutton>Save & Exit</guibutton> button, and selecting <guimenuitem>Configure Save Options</guimenuitem> from the menu.</para>
 			</listitem>
 			<listitem>
 				<para>The mini command line &krunner; (invoked with <keycombo action="simul">&Alt;<keycap>F2</keycap></keycombo>) may also be used to start &spectacle;.</para>
@@ -254,7 +256,7 @@
 		<para>Portions of the code are based directly on code from the &ksnapshot; project. Copyright © 1997-2011 The &ksnapshot; Developers. Detailed copyright assignment notices are available in the headers in the source code.</para>
 
 		<para>Portions of the code are based directly on code from the &kwin; project. Copyright © 2008, 2013 The &kwin; Developers. Detailed copyright assignment notices are available in the headers in the source code.</para>
-		
+
 		<para>Documentation based on the original &ksnapshot; documentation:</para>
 
 		<itemizedlist>


More information about the kde-doc-english mailing list