From kde-devel Sat Oct 29 14:59:05 2005 From: =?iso-8859-2?q?Rafa=B3_Rzepecki?= Date: Sat, 29 Oct 2005 14:59:05 +0000 To: kde-devel Subject: Re: Scripting the power control Message-Id: <200510291659.30283.divided.mind () gmail ! com> X-MARC-Message: https://marc.info/?l=kde-devel&m=113059803629466 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0123213884==" --===============0123213884== Content-Type: multipart/signed; boundary="nextPart1598946.N3nEfkipzG"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1598946.N3nEfkipzG Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday, 28 October 2005 14:52, Andy Pieters wrote: > Hi List > > First off sorry if this isn't the right place to ask. > > Actually I like to make the timeout to poweroff my monitors dynamic. Like > if I am doing something but want to prevent the monitors to poweroff. > > Is there a way to do this with dcop? I don't think you need to use dcop; in fact, I don't think it is possible a= t=20 all to use dcop to do what you want. It seems that what you need is xset(1). See the manual (look for dpms optio= n). An example: $ xset dpms 60 300 600 or even $ xset -dpms There are also some X11 messages you can pass around to do the same thing=20 programatically; AFAIR the extension is XDPMS. =2D-=20 Rafa=B3 Rzepecki --nextPart1598946.N3nEfkipzG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDY45RDsC+SVCBCuwRApcOAJ9rbITCF9TiYJd3QkJ7GWeZa1o5vwCcCZJQ IPVBZu2YTlsLe755R7/UkSA= =z9tv -----END PGP SIGNATURE----- --nextPart1598946.N3nEfkipzG-- --===============0123213884== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0123213884==--