openbox/debian/patches/754207_use-scrot.patch

31 lines
1.1 KiB
Diff

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>