l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2009 Aug 08 15:29

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Kubuntu (KDE4) and power button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Kubuntu (KDE4) and power button

On Mon, Aug 03, 2009 at 05:27:48PM -0500, Ken Bloom wrote:
> > Since my laptop had Ubuntu factory-installed, and hence started life
> > with GNOME, perhaps there's some GNOME setting that's getting picked
> > up by the ACPI script first.  (i.e., I'm telling KDE "do nothing," but
> > GNOME is telling it "shutdown", and it's NOT a matter of the ACPI script
> > hitting its "if all else failed, just initiate a plain shutdown" logic.)
> I doubt it. In Debian, at least, all of the acpi scripts are in
> desktop-neutral packages related specifically to power management. Run
> "dpkg -S /etc/acpi" and check whether there are any desktop-specific
> packages on Ubuntu that touch this, but it's probably kept separate.

Well, what I was saying was that /etc/acpi/powerbtn.sh is a script which
appears to query GNOME, then KDE, then just give up and shutdown.

  # If gnome-power-manager, kpowersave or klaptopdaemon are running, let
  # them handle policy This is effectively the same as 'acpi-support's
  # '/usr/share/acpi-support/policy-funcs' file.
  # Otherwise, if KDE is found, try to ask it to logout.
  # If KDE is not found, just shutdown now.
  # If all else failed, just initiate a plain shutdown.

I'm going to try and comment out the /sbin/shutdown at the end
(after that 'als else failed').

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.