From 5c77241f12bc393769ea8ba3d78311173a29827c Mon Sep 17 00:00:00 2001 From: C. Scott Ananian Date: Sat, 20 Sep 2008 00:24:56 +0000 Subject: Trac #7992: don't waste power blinking the cursor. Original reporter: "[Sugar control panel] includes a search box with a blinking cursor, which makes the process wake up every second to blink it. ... This burns power unnecessarily." I've used the gtk-cursor-blink-timeout option, so that we stop blinking after 3s. This preserves the UI indication that interaction is possible. The full set of possible settings is at http://library.gnome.org/devel/gtk/unstable/GtkSettings.html#GtkSettings--gtk-cursor-blink-timeout if we decide to tweak this (slower blink, blink longer before stopping, don't blink at all, etc). This doesn't seem to affect the text box widgets in Browse, but does affect most (all?) GTK applications/activities. --- (limited to 'data') diff --git a/data/gtkrc.em b/data/gtkrc.em index a19b519..cf68650 100644 --- a/data/gtkrc.em +++ b/data/gtkrc.em @@ -12,3 +12,4 @@ gtk-font-name = "@font_name" gtk-cursor-theme-name = "sugar" gtk-toolbar-style = GTK_TOOLBAR_ICONS gtk-icon-sizes = "@icon_sizes" +gtk-cursor-blink-timeout = 3 -- cgit v0.9.1