Re: Checking whether Gnome screensaver currently active

2011-01-18 Thread Robert Nichols
On 01/18/2011 10:22 PM, Rick Sewill wrote: > On Tuesday, January 18, 2011 08:52:57 pm Robert Nichols wrote: >> On 01/18/2011 12:28 PM, Rick Sewill wrote: >>> On Tuesday, January 18, 2011 09:00:22 am Robert Nichols wrote: On 01/18/2011 01:34 AM, Rick Sewill wrote: > On Monday, January 17, 2

Re: Checking whether Gnome screensaver currently active

2011-01-18 Thread Rick Sewill
On Tuesday, January 18, 2011 08:52:57 pm Robert Nichols wrote: > On 01/18/2011 12:28 PM, Rick Sewill wrote: > > On Tuesday, January 18, 2011 09:00:22 am Robert Nichols wrote: > >> On 01/18/2011 01:34 AM, Rick Sewill wrote: > >>> On Monday, January 17, 2011 10:57:00 pm Robert Nichols wrote: > O

Re: Checking whether Gnome screensaver currently active

2011-01-18 Thread Robert Nichols
On 01/18/2011 12:28 PM, Rick Sewill wrote: > On Tuesday, January 18, 2011 09:00:22 am Robert Nichols wrote: >> On 01/18/2011 01:34 AM, Rick Sewill wrote: >>> On Monday, January 17, 2011 10:57:00 pm Robert Nichols wrote: On 01/17/2011 09:57 PM, Rick Sewill wrote: > Question please: > >>

Re: Checking whether Gnome screensaver currently active

2011-01-18 Thread Robert Nichols
On 01/18/2011 01:34 AM, Rick Sewill wrote: > On Monday, January 17, 2011 10:57:00 pm Robert Nichols wrote: >> On 01/17/2011 09:57 PM, Rick Sewill wrote: >>> Question please: >>> >>> Can you use >>> gnome-screensaver-command -q >>> >>> man gnome-screensaver-command >>> >>> I'm currently trying out K

Re: Checking whether Gnome screensaver currently active

2011-01-18 Thread JB
Robert Nichols comcast.net> writes: > ... http://live.gnome.org/GnomeScreensaver/FrequentlyAskedQuestions ... Is there a way to perform actions when the screensaver activates or deactivates? Or when the session becomes idle? ... http://people.gnome.org/~mccann/gnome-screensaver/docs/gnome-scree

Re: Checking whether Gnome screensaver currently active

2011-01-17 Thread Robert Nichols
On 01/17/2011 09:57 PM, Rick Sewill wrote: > Question please: > > Can you use > gnome-screensaver-command -q > > man gnome-screensaver-command > > I'm currently trying out KDE so I don't know > what is returned by the above command for the > various gnome-screensaver states. As I said in my origin

Re: Checking whether Gnome screensaver currently active

2011-01-17 Thread Robert Nichols
On 01/17/2011 04:25 PM, JB wrote: > JB gmail.com> writes: > >> ... > Google search: linux keyboard mouse activity > > Example: > http://stackoverflow.com/questions/222606/detecting-keyboard-mouse-activity-in-linux Thanks. That little C program will (with a suitable value for the DISPLAY environ

Re: Checking whether Gnome screensaver currently active

2011-01-17 Thread JB
JB gmail.com> writes: > ... Google search: linux keyboard mouse activity Example: http://stackoverflow.com/questions/222606/detecting-keyboard-mouse-activity-in-linux JB -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedorapro

Re: Checking whether Gnome screensaver currently active

2011-01-17 Thread Robert Nichols
On 01/17/2011 03:09 PM, Mark LaPierre wrote: > On 01/17/2011 03:56 PM, JB wrote: >> Robert Nichols comcast.net> writes: >> >>> ... >>> Alternative ways of testing whether the console user is actively using the >>> system would also be appreciated. This is my own cron job trying to test >>> whe

Re: Checking whether Gnome screensaver currently active

2011-01-17 Thread Mark LaPierre
On 01/17/2011 03:56 PM, JB wrote: > Robert Nichols comcast.net> writes: > >> ... >> Alternative ways of testing whether the console user is actively using the >> system would also be appreciated. This is my own cron job trying to test >> whether I am currently active, so the IDs match, but the j

Re: Checking whether Gnome screensaver currently active

2011-01-17 Thread JB
Robert Nichols comcast.net> writes: > ... > Alternative ways of testing whether the console user is actively using the > system would also be appreciated. This is my own cron job trying to test > whether I am currently active, so the IDs match, but the job is obviously > not part of the current

Checking whether Gnome screensaver currently active

2011-01-17 Thread Robert Nichols
In a 'cron' job, is there a way to tell whether the Gnome screensaver is currently active? Trying to use "gnome-screensaver-command -q" just results in: ** Message: Failed to connect to the D-BUS daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: