Mailinglist Archive: opensuse-gnome (76 mails)

< Previous Next >
Re: [opensuse-gnome] [PATCH] gnome-settings-daemon: add apport monitoring
  • From: Magnus Boman <captain.magnus@xxxxxxxxx>
  • Date: Mon, 28 Jul 2008 06:42:11 +1000
  • Message-id: <1217191331.3642.4.camel@xxxxxxxxxxxxxxx>
Nikolay,

Please also create a bugreport (bugzilla.novell.com) against the GNOME
component in 11.1 and attach the patch there. Reply to this thread what
the bug number is.

Thanks,
Magnus

On Mon, 2008-07-28 at 00:23 +0400, Nikolay Derkach wrote:
Hi,

I would like to suggest a patch that adds Apport[1] monitoring to
gnome-settings-daemon.

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.


[1] http://en.opensuse.org/Interactive_Crash_Analysis
https://wiki.ubuntu.com/Apport
[2]
http://download.opensuse.org/repositories/home:/nderkach:/branches:/home:/rodrigomoya:/Factory/


--
To unsubscribe, e-mail: opensuse-gnome+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-gnome+help@xxxxxxxxxxxx

< Previous Next >
References