[Bug 1606974] [NEW] Quicklist menu action doesn't respect global delay (Zesty)

Launchpad Bug Tracker 1606974 at bugs.launchpad.net
Fri Jan 27 19:48:46 UTC 2017


You have been subscribed to a public bug by Jeremy Bicha (jbicha):

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: hundredpapercuts
     Importance: Undecided
         Status: New

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


** Tags: patch zesty
-- 
Quicklist menu action doesn't respect global delay (Zesty)
https://bugs.launchpad.net/bugs/1606974
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list