Package: fontconfig-config
Version: 2.8.0-2
Severity: wishlist
File: /etc/fonts/fonts.conf

powertop shows 0.2 wakeups per second from gnome-settings-daemon
2.28.1-2.  strace shows it making this call every 4-5 seconds:

inotify_add_watch(20, "/usr/X11R6/lib/X11", 
IN_MODIFY|IN_ATTRIB|IN_CLOSE_WRITE|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_UNMOUNT|IN_ONLYDIR)
 = -1 ENOENT (No such file or directory)

gnome-settings-daemon appears to get the name of that nonexistent
directory from /etc/fonts/fonts.conf, which lists:

        <dir>/usr/share/fonts</dir>
        <dir>/usr/X11R6/lib/X11/fonts</dir> <dir>/usr/local/share/fonts</dir>
        <dir>~/.fonts</dir>

If I remove the <dir>/usr/X11R6/lib/X11/fonts</dir> entry and
restart gnome-settings-daemon, then those wakeups don't happen,
and some power may theoretically be saved.
I suppose an alternative would be to create the directory.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fontconfig-config 2.8.0-2 depends on:
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  ttf-dejavu-core               2.30-2     Vera font family derivate with add
ii  ttf-freefont                  20090104-5 Freefont Serif, Sans and Mono True
ii  ucf                           3.0025     Update Configuration File: preserv

fontconfig-config recommends no packages.

fontconfig-config suggests no packages.

Versions of packages gnome-settings-daemon depends on:
ii  gconf2                      2.28.0-1     GNOME configuration database syste
ii  libc6                       2.10.2-2     GNU C Library: Shared libraries
ii  libcairo2                   1.8.8-2      The Cairo 2D vector graphics libra
ii  libdbus-1-3                 1.2.16-2     simple interprocess messaging syst
ii  libdbus-glib-1-2            0.82-2       simple interprocess messaging syst
ii  libfontconfig1              2.8.0-2      generic font configuration library
ii  libgconf2-4                 2.28.0-1     GNOME configuration database syste
ii  libglib2.0-0                2.22.4-1     The GLib library of C routines
ii  libgnome-desktop-2-11       2.28.2-1     Utility library for loading .deskt
ii  libgnomekbd4                2.28.2-1     GNOME library to manage keyboard c
ii  libgstreamer-plugins-base0. 0.10.25-7    GStreamer libraries from the "base
ii  libgstreamer0.10-0          0.10.25-4+b1 Core GStreamer libraries and eleme
ii  libgtk2.0-0                 2.18.6-1     The GTK+ graphical user interface 
ii  libnotify1 [libnotify1-gtk2 0.4.5-1      sends desktop notifications to a n
ii  libx11-6                    2:1.3.3-1    X11 client-side library
ii  libxi6                      2:1.3-2      X11 Input extension library
ii  libxklavier15               4.0-2        X Keyboard Extension high-level AP

gnome-settings-daemon recommends no packages.

Versions of packages gnome-settings-daemon suggests:
ii  gnome-screensaver             2.28.0-2   GNOME screen saver and locker
ii  metacity [x-window-manager]   1:2.28.0-3 lightweight GTK+ window manager
ii  twm [x-window-manager]        1:1.0.4-2  Tab window manager
ii  x11-xserver-utils             7.5+1      X server utilities

-- debconf information:
  fontconfig/subpixel_rendering: Automatic
  fontconfig/enable_bitmaps: false
  fontconfig/hinting_type: Native

Attachment: pgpaOqyWK9WIS.pgp
Description: PGP signature

Reply via email to