Re: [gpm] Getting GPM to work well in Gentoo
- From: Alexander Skwar <listen alexander skwar name>
- Cc: GnomePowerManager List <gnome-power-manager-list gnome org>
- Subject: Re: [gpm] Getting GPM to work well in Gentoo
- Date: Tue, 19 Sep 2006 00:59:55 +0200
Richard Hughes schrieb:
On Sat, 2006-09-16 at 19:52 +0200, Alexander Skwar wrote:
Hi.
I've got gnome-power-manager-2.14.3-r1 installed on Gentoo Linux
with Gnome 2.14.x and also on Ubuntu Linux 6.06.
On Ubuntu, when I press the Power button, a dialog like shown on
http://www.myimg.de/?img=gnomelogoutc2e.gif pops up. I suppose that
this dialog is caused by GPM? Is it?
Well, it asks the session to do a interactive shutdown, if that's what
you mean.
No. I mean, if gpm is causing this nice and colorful dialog, as the
dialog on Gentoo doesn't look nearly as nice.
If so, what do I have to do, to get this dialog to show up in
Gentoo as well?
Run a session as normal, have "lshal -m" running in a terminal and then
press the power button.
You should get something like this:
acpi_PWRF condition ButtonPressed = power
I don't.
alexander blatt /dev/shm $ lshal -m
Start monitoring devicelist:
-------------------------------------------------
alexander blatt /etc/hibernate $ ps awux|grep hal
102 5616 0.0 0.4 4920 3408 ? Ss Sep18 0:03 /usr/sbin/hald --use-syslog
root 5619 0.0 0.1 2800 1032 ? S Sep18 0:00 hald-runner
102 5664 0.0 0.1 1900 776 ? S Sep18 0:00 /usr/libexec/hald-addon-acpi
102 5710 0.0 0.1 1900 784 ? S Sep18 0:00 /usr/libexec/hald-addon-keyboard
root 5928 0.0 0.0 1792 612 ? S Sep18 0:01 /usr/libexec/hald-addon-storage
1000 12557 0.0 0.1 2844 1004 pts/4 S+ 00:57 0:00 lshal -m
In which case HAL is working well. Assuming you have the power button
policy to be "Ask me" you should then get the logout dialogue. Bear in
mind that Ubuntu heavily patch the logout window, and it may look very
different.
Ah. I didn't know that they patched the logout window. Thanks
for this information!
Well, you want to remove the acpid actions (like you suggested) and then
run:
killall gnome-power-manager
gnome-power-manager --verbose --no-daemon
and see why the power button policy is not being run.
Hm. Nothing happens when I press the power button.
Obviously, I missed something. But what did I miss?
Should be something little like not installing the gconf schema
properly. Or here's hoping. :-)
:)
Alexander Skwar
--
Windows isn't CrippleWare -- it's "Functionally Challenged".
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]