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 Desktop
Packages, which is subscribed to gnome-screenshot in Ubuntu.
https://bugs.launchpad.net/bugs/1606974

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

Status in gnome-screenshot package in Ubuntu:
  New

Bug description:
  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

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to