Re: Power switch to actually turn off my computer
- From: Emilio Pozuelo Monfort <pochu27 gmail com>
 
- To: "Charles T. Smith" <cts private yahoo gmail com>, 	desktop-devel-list gnome org
 
- Subject: Re: Power switch to actually turn off my computer
 
- Date: Thu, 10 Apr 2014 14:13:58 +0200
 
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
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]