File: 754207_use-scrot.patch

package info (click to toggle)
openbox 3.7~rc2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 5,892 kB
  • sloc: ansic: 38,834; xml: 1,358; sh: 665; makefile: 613; python: 421
file content (30 lines) | stat: -rw-r--r-- 1,124 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: Use scrot for taking a screenshots
Author: Mateusz Łukasik <mati75@linuxmint.pl>
Bug-Debian: http://bugs.debian.org/754207

--- a/data/rc.xml
+++ b/data/rc.xml
@@ -245,9 +245,9 @@
   <keybind key="A-space">
     <action name="ShowMenu"><menu>client-menu</menu></action>
   </keybind>
-  <!-- Take a screenshot of the current window with gnome-screenshot when Alt+Print are pressed -->
+  <!-- Take a screenshot of the current window with scrot when Alt+Print are pressed -->
   <keybind key="A-Print">
-    <action name="Execute"><command>gnome-screenshot -w</command></action>
+    <action name="Execute"><command>scrot -s</command></action>
   </keybind>
 
   <!-- Keybindings for window switching -->
@@ -312,9 +312,9 @@
       <command>kfmclient openProfile filemanagement</command>
     </action>
   </keybind>
-  <!-- Launch gnome-screenshot when Print is pressed -->
+  <!-- Launch scrot when Print is pressed -->
   <keybind key="Print">
-    <action name="Execute"><command>gnome-screenshot</command></action>
+    <action name="Execute"><command>scrot</command></action>
   </keybind>
 </keyboard>