Public bug reported:

It doesn't respect global delay. The reason is that it using following
commands for quicklist actions in
/usr/share/applications/org.gnome.Screenshot.desktop:


[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

These exec commands can be modified to respect global delay parameter.

Patch:

--- a/src/org.gnome.Screenshot.desktop.in
+++ b/src/org.gnome.Screenshot.desktop.in
@@ -18,11 +18,11 @@
 
 [Desktop Action screen-shot]
 Name=Take a Screenshot of the Whole Screen
-Exec=gnome-screenshot
+Exec=sh -c "gnome-screenshot -d $(gsettings get org.gnome.gnome-screenshot 
delay)"
 
 [Desktop Action window-shot]
 Name=Take a Screenshot of the Current Window
-Exec=gnome-screenshot -w
+Exec=sh -c "gnome-screenshot -w -d $(gsettings get org.gnome.gnome-screenshot 
delay)"
 
 [Desktop Action area-shot]
 Name=Take a Screenshot of a Selected Area

** Affects: gnome-screenshot (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: yakkety

** Summary changed:

- Quicklist menu action doesn't respect global delay
+ Quicklist menu action doesn't respect global delay (Yakkety)

** Tags added: yakkety

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1606974

Title:
  Quicklist menu action doesn't respect global delay (Yakkety)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-screenshot/+bug/1606974/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to