On Fri, Dec 25, 2009 at 08:47:49AM -0700, Chris Dos wrote: > Can a check be performed to see if X is running and if so pop up with a X app > or an x-term to cycle the power > on the services? Since most people who will be running a laptop will be > running X.
In theory sure, in practical use, no. At least not with my current knowledge about this problem. Can't you simply tell your desktop environment to take care of the key press? This is where it should go to IMO. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304, AIM/Yahoo/Skype: michaelmeskes, Jabber: mes...@jabber.org VfL Borussia! Forca Barca! Go SF 49ers! Use: Debian GNU/Linux, PostgreSQL -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org