Package Details: perl-x11-idletime 0.09-6

Git Clone URL: https://aur.archlinux.org/perl-x11-idletime.git (read-only, click to copy)
Package Base: perl-x11-idletime
Description: Get the idle time of X11
Upstream URL: https://metacpan.org/release/X11-IdleTime
Licenses: GPL, PerlArtistic
Submitter: 3ED_0
Maintainer: 3ED_0
Last Packager: 3ED_0
Votes: 2
Popularity: 0.000000
First Submitted: 2011-04-09 10:28 (UTC)
Last Updated: 2020-06-24 12:25 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Pinned Comments

3ED_0 commented on 2019-06-16 18:22 (UTC) (edited on 2019-06-16 18:28 (UTC) by 3ED_0)

Example usage:

This timer is reset only on user interaction (keyboard, mouse, etc). Apps would not reset it, this isn't screensaver timer. Default for $minutes is 45.

perl -MX11::IdleTime -e 'while ((my $s = (($ARGV[0] // 45) * 60) - GetIdleTime()) > 0) {sleep $s}' $minutes && systemctl poweroff

Latest Comments

micwoj92 commented on 2022-07-19 06:15 (UTC)

Hello, could you add perl-test-pod and perl-test-pod-coverage to checkdepends?

3ED_0 commented on 2019-06-16 18:22 (UTC) (edited on 2019-06-16 18:28 (UTC) by 3ED_0)

Example usage:

This timer is reset only on user interaction (keyboard, mouse, etc). Apps would not reset it, this isn't screensaver timer. Default for $minutes is 45.

perl -MX11::IdleTime -e 'while ((my $s = (($ARGV[0] // 45) * 60) - GetIdleTime()) > 0) {sleep $s}' $minutes && systemctl poweroff

bidulock commented on 2017-09-05 04:53 (UTC)

Please bump pkgrel to 7 to trigger recomiple against new perl structure.

disarmer commented on 2015-05-10 11:53 (UTC)

I get this error: Error. You have specified 'C' as an Inline programming language. I currently only know about the following languages: Foo, foo I think, you need to add package perl-inline-c to dependency

bidulock commented on 2014-06-04 21:30 (UTC)

Please bump pkgrel to 6 to trigger recompile against perl 5.20.0.

3ED_0 commented on 2013-06-17 09:40 (UTC)

bidulock: bumped

bidulock commented on 2013-06-16 03:07 (UTC)

please bump pkgrel to 5 to trigger recompile against perl 5.18.0

bidulock commented on 2013-04-13 09:01 (UTC)

Please removed perl from dependencies (it is in base). Add 'libxss' to dependencies.

3ED_0 commented on 2011-04-10 12:46 (UTC)

I can't find it in perl-x11-xlib Example usage: perl -MX11::IdleTime -e'print GetIdleTime()'