Package: acpi-support
Version: 0.95-2

Hi,

playing around with the acpi-support scripts, I found something unusual 
in /usr/share/acpi-support/power-funcs. The function getXconsole should 
return the DISPLAY variable of the local X11 screen. In my case it 
returns "0\n0".

The following script reproduces the bug:
-----
#!/bin/sh

source /usr/share/acpi-support/power-funcs
getXconsole;
echo "DISPLAY=$DISPLAY"
-----

Again in my case I get the following output:
-----
DISPLAY=:0
0
-----

Bye,
  Toby


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to