Bug#497220: acpi-support-base: Needs to depend on finger

2008-09-04 Thread Julien Cristau
On Thu, Sep 4, 2008 at 15:30:43 +0100, Phil Endecott wrote: > For some reason I'm not seeing lines in w, who or finger output for > terminal emulators running inside my X session, though I have seen > them in the past. Not all terminal emulators are setgid utmp. > If you did have them they co

Bug#497220: acpi-support-base: Needs to depend on finger

2008-09-04 Thread Bart Samwel
Phil Endecott wrote: > Julien Cristau wrote: >> On Thu, Sep 4, 2008 at 15:04:14 +0100, Phil Endecott wrote: >> >>> No this doesn't work for me. You're looking for :0 in the FROM >>> column, right? I have it in the TTY column: >>> >>> $ w -hs >>> phil tty1 -17:19 -bash >

Bug#497220: acpi-support-base: Needs to depend on finger

2008-09-04 Thread Phil Endecott
Bart Samwel wrote: Nope. I use gdm, and I get: $ w -hs root tty1 - 2:19 -bash root tty2 - 2:19 -bash bsamwel tty7 :00.00s x-session-manager root pts/1:0.0 2:09m gnome-terminal bsamwel pts/2:0.0

Bug#497220: acpi-support-base: Needs to depend on finger

2008-09-04 Thread Phil Endecott
Julien Cristau wrote: On Thu, Sep 4, 2008 at 15:04:14 +0100, Phil Endecott wrote: No this doesn't work for me. You're looking for :0 in the FROM column, right? I have it in the TTY column: $ w -hs phil tty1 -17:19 -bash root tty2 -15:31 -b

Bug#497220: acpi-support-base: Needs to depend on finger

2008-09-04 Thread Bart Samwel
Phil Endecott wrote: > Bart Samwel wrote: >> getXuser() { >> w -hs | while read -r THIS_USER THIS_TTY THIS_DISPLAY >> DUMMY_REMAINDER; do >> if [ "$THIS_DISPLAY" = "$displaynum" ] ; then >> user=$THIS_USER >> break >> fi >> done >> if [ x"$user" =

Bug#497220: acpi-support-base: Needs to depend on finger

2008-09-04 Thread Julien Cristau
On Thu, Sep 4, 2008 at 15:04:14 +0100, Phil Endecott wrote: > No this doesn't work for me. You're looking for :0 in the FROM column, > right? I have it in the TTY column: > > $ w -hs > phil tty1 -17:19 -bash > root tty2 -15:31 -bash > phil

Bug#497220: acpi-support-base: Needs to depend on finger

2008-09-04 Thread Phil Endecott
Bart Samwel wrote: getXuser() { w -hs | while read -r THIS_USER THIS_TTY THIS_DISPLAY DUMMY_REMAINDER; do if [ "$THIS_DISPLAY" = "$displaynum" ] ; then user=$THIS_USER break fi done if [ x"$us

Bug#497220: acpi-support-base: Needs to depend on finger

2008-09-04 Thread Bart Samwel
Hi Phil, Phil Endecott wrote: > I've just spotted detect_x_display() in > /usr/share/eeepc-acpi-scripts/functions.sh from package > eeepc-acpi-scripts which does a similar thing by parsing the output of > "who", rather than "finger". "who" has the advantage of being provided > by coreutils, which

Bug#497220: acpi-support-base: Needs to depend on finger

2008-09-04 Thread Phil Endecott
Bart Samwel wrote: Hi Phil, Phil Endecott wrote: I am trying to get the lid event to suspend on my Eee 901 and have encountered the following problems: 1. getXuser() in /usr/share/acpi-support/power-funcs uses finger, but the package does not depend on finger (and I didn't have it installed).

Bug#497220: acpi-support-base: Needs to depend on finger

2008-09-04 Thread Bart Samwel
Hi Phil, Phil Endecott wrote: > I am trying to get the lid event to suspend on my Eee 901 and have encountered > the following problems: > > 1. getXuser() in /usr/share/acpi-support/power-funcs uses finger, but the > package > does not depend on finger (and I didn't have it installed). Thanks

Bug#497220: acpi-support-base: Needs to depend on finger

2008-08-30 Thread Phil Endecott
Package: acpi-support-base Version: 0.109-5 Severity: normal I am trying to get the lid event to suspend on my Eee 901 and have encountered the following problems: 1. getXuser() in /usr/share/acpi-support/power-funcs uses finger, but the package does not depend on finger (and I didn't have it