From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Hrl03-0006JM-V9 for garchives@archives.gentoo.org; Sat, 26 May 2007 01:23:20 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4Q1M6BM013066; Sat, 26 May 2007 01:22:06 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4Q1HpYa008252 for ; Sat, 26 May 2007 01:17:53 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 3EDEB64C41 for ; Sat, 26 May 2007 01:17:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: 0.238 X-Spam-Level: X-Spam-Status: No, score=0.238 required=5.5 tests=[AWL=0.161, TW_JW=0.077] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nt10Btraavfb for ; Sat, 26 May 2007 01:17:49 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 0469764ADE for ; Sat, 26 May 2007 01:17:47 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HrkuY-0000Vr-L6 for gentoo-user@gentoo.org; Sat, 26 May 2007 03:17:39 +0200 Received: from adsl-074-165-231-051.sip.msy.bellsouth.net ([74.165.231.51]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 03:17:38 +0200 Received: from boxcars by adsl-074-165-231-051.sip.msy.bellsouth.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 03:17:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: =?ISO-8859-1?B?u1Gr?= Subject: [gentoo-user] controlling xscreensaver throttle Date: Fri, 25 May 2007 20:09:45 -0500 Organization: none Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-074-165-231-051.sip.msy.bellsouth.net X-Newsreader: Claws Mail 2.9.1 (GTK+ 2.10.9; i686-pc-linux-gnu) X-Face: *#`F(_&o,GRH~~$V&ByU1LZAWc]JgxuT`Pv2y0`&JE`(=*PcC>#m2]xv]p,i|9mDJ+8dGMJl`V[!z]\N}qrLTHjU]Sew>rQBShT_8.(0Q(iH,Gu7k|y/)^!@oVydVrix*#|-|u2~zgA'U3nQ_fa#jXvcGL[9f:>8?U=hXYK3D~*}Gq$TjPe1WXEFLGTiB3ot!oMH"'(Jop0(\0C X-No-Archive: yes Sender: news Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id l4Q1M6Bd013066 X-Archives-Salt: 2cd139f9-a223-42e4-a36d-b5ce744f5f6a X-Archives-Hash: cf590bf158b9bd0b567e3c457a34af89 I'm using a laptop, and I'd like xscreensaver to just display a blank screen when running on battery power. The command $ xscreensaver-command --throttle does that (though AFAICT jwz hasn't documented --throttle and --unthrottle). I use KDE (but not KDE's screensaver wrapper) and Xfce4, and for them I've got a simple script that checks the power source and sets the throttle accordingly whenever I use the icons or the keyboard to lock the screen manually. But when xscreensaver kicks in because of idle time, it's unthrottled no matter the power source, and I can't find a way to control that. If I could control this, I'd be happy. The stuff below about suspending is less important to me. I use suspend2 to suspend to HDD, and I want to lock the screen when suspending. Using the LockXScreenSaver option in hibernate.conf locks all X displays, but even if xscreensaver is throttled before that, upon resume from suspend it's unthrottled. AFAICT, when resuming, suspend2 actually restarts xscreensaver, so its state was lost. Alternatively, if don't use LockXScreenSaver but instead just have the hibernate script call the script which sets the throttle state, this works fine but only locks one screen. Usually that's ok, but sometimes I have more than one X session active, and I'd like to lock them all. None of this is Gentoo-specific, so if you'd like to point me somewhere else, feel free. --=20 =BBQ=AB --=20 gentoo-user@gentoo.org mailing list