Mailinglist Archive: opensuse-gnome (76 mails)

< Previous Next >
[opensuse-gnome] [PATCH] gnome-settings-daemon: add apport monitoring
  • From: "Nikolay Derkach" <nderkach@xxxxxxxxx>
  • Date: Mon, 28 Jul 2008 00:23:50 +0400
  • Message-id: <f276b80f0807271323u57e947c3pbe19ab29804df105@xxxxxxxxxxxxxx>

I would like to suggest a patch that adds Apport[1] monitoring to

The purpose of the patch is to monitor a directory (/var/crash) for
incoming Apport crash reports and run a reporting tool (apport-gtk).

I implemented this functionality as a gnome-settings-daemon plugin.
This patch is just a draft since it has some issues. Please help me to
solve those:

- I built packages with modified gnome-settings-daemon [2], but for
some reason this patched daemon doesn't work as supposed. Although, I
tested gsd-apport-manager with a testcase included in my patch and it
worked fine.

- Does GIO has something similar to inotify's CLOSE_WRITE monitor? I
need GIO to handler file-closed-after-write events. As for now I ended
up with G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED but it's just not fine
to lauch crash checking tool several times.

- Does GTK has any out-of-the-box applet notifying methods? I need
something similar to libnotify, but I don't think it's worth adding
one more dependency to gsd.

Hopefully I haven't missed something and I'll appreciate any feedback.


Regards, Nikolay Derkach
< Previous Next >
Follow Ups