Re: Power switch to actually turn off my computer

On 10/04/14 13:50, Charles T. Smith wrote:
Florian Müllner <fmuellner <at>> writes:

On Thu, Apr 10, 2014 at 1:01 PM, Charles T. Smith
< <at>> 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. 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!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]