Power button mode "ask" does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xfce4-power-manager (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I'm running Lubuntu 12.10 on a Samsung N145 netbook. When setting the power button action to "ask" in xfce4-power-
static void
xfpm_manager_
{
if ( manager-
}
where session_managed is 0, so the shutdown request is not sent.
If xfce4-power-manager is started with the --no-daemon command line option, the system reacts correctly (the logout dialog pops up).
If the power button action is configured as "shutdown", the system also reacts properly to the power button press and shuts down immediately.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: xfce4-power-manager 1.2.0-1ubuntu1.1
ProcVersionSign
Uname: Linux 3.5.0-23-generic i686
ApportVersion: 2.6.1-0ubuntu10
Architecture: i386
Date: Tue Feb 5 21:32:18 2013
InstallationDate: Installed on 2013-01-26 (10 days ago)
InstallationMedia: Lubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.1)
MarkForUpload: True
SourcePackage: xfce4-power-manager
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: saucy |
Changed in xfce4-power-manager (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
I was wrong about the --no-daemon option. It only matters when xfce4-power-manager is started:
- directly after login, the power button won't work
- if I kill xfce4-power-manager and restart it, the power button works as expected, even when set to "ask"