diff --git a/libgnome-desktop/gnome-rr.c b/libgnome-desktop/gnome-rr.c
index a506c4d..c7a8af0 100644
--- a/libgnome-desktop/gnome-rr.c
+++ b/libgnome-desktop/gnome-rr.c
@@ -1175,6 +1175,36 @@ out:
 }
 
 /**
+ * gnome_rr_screen_set_dpms_timeout:
+ **/
+gboolean        
+gnome_rr_screen_set_dpms_timeout (GnomeRRScreen *screen,
+                                  int standby,
+                                  int suspend,
+                                  int off,
+                                  GError              **error)
+{
+    gboolean ret;
+
+    g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
+
+    gdk_error_trap_push ();
+    ret = DPMSSetTimeouts (screen->priv->xdisplay, standby, suspend, off);
+    gdk_flush ();
+    if (gdk_error_trap_pop ())
+        ret = FALSE;
+    
+    if (!ret) {
+        ret = FALSE;
+        g_set_error_literal (error,
+                             GNOME_RR_ERROR,
+                             GNOME_RR_ERROR_UNKNOWN,
+                             "Could not change DPMS timeouts");
+    }
+    return ret;
+}
+
+/**
  * gnome_rr_screen_set_dpms_mode:
  **/
 gboolean
diff --git a/libgnome-desktop/gnome-rr.h b/libgnome-desktop/gnome-rr.h
index ff5cc2d..33bae40 100644
--- a/libgnome-desktop/gnome-rr.h
+++ b/libgnome-desktop/gnome-rr.h
@@ -144,6 +144,12 @@ gboolean        gnome_rr_screen_set_dpms_mode      (GnomeRRScreen         *scree
                                                     GnomeRRDpmsMode        mode,
                                                     GError              **error);
 
+gboolean        gnome_rr_screen_set_dpms_timeout   (GnomeRRScreen         *screen,
+                                                    int                 standby,
+                                                    int                 suspend,
+                                                    int                 off,
+                                                    GError              **error);
+
 /* GnomeRROutput */
 guint32         gnome_rr_output_get_id             (GnomeRROutput         *output);
 const char *    gnome_rr_output_get_name           (GnomeRROutput         *output);
