On 10/04/14 13:50, Charles T. Smith wrote: > Florian Müllner <fmuellner <at> gnome.org> writes: > >> >> On Thu, Apr 10, 2014 at 1:01 PM, Charles T. Smith >> <cts.private.yahoo <at> gmail.com> wrote: >>> The problem is, I'm new to this group (but I like it!) and I don't know >>> where to find org.gnome.settings-daemon.plugins.power - I mean, somewhere >>> where I can grep it. >> >> I used git-grep in the gnome-tweak-tool source tree, but a simple >> >> grep -R 'Power Button Action' /usr/lib/python2.7/site-packages/gtweak >> >> should work as well. >> > > > Okay, now I understand. tweak_group_shell.py configures that object-id, > org.gnome.settings-daemon.plugins.power, so gnome can manipulate it. In > this case, grep is no longer my friend.
If tweak-tool sets org.gnome.settings-daemon.plugins.power, then something listens for that key to change and does something. You need to look for that something. And that something is going to be gnome-settings-daemon, and more precisely, its power plugin. Now go read the source, Luke! Emilio _______________________________________________ desktop-devel-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/desktop-devel-list
