Comments (7)
I believe this is due to acpid handling the power button presses and shutting down immediately. It checks for gnome, kde, xfce, but not mate-power-manager. If I add mate-power-manager to the list next to xfce4-power-manager, the system shows the dialog and doesn't immediately shut down.
In /etc/acpi/powerbtn.sh I changed the line that previously was:
PMS="gnome-settings-daemon kpowersave xfce4-power-manager"
to:
PMS="gnome-settings-daemon kpowersave xfce4-power-manager mate-power-manager"
as root and restarted the acpid service (or just restart your computer). This was on Ubuntu 12.04, which Mint 13 is based on.
from mate-power-manager.
Thanks, that has solved it.
from mate-power-manager.
Bug filed for Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694775
from mate-power-manager.
FYI, this is not a Debian bug, but rather an Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1184831
from mate-power-manager.
In Debian Jessie this is still an issue. I fixed this by editing file /usr/share/acpi-support/policy-funcs
I changed the line:
PMS="/usr/bin/gnome-power-manager /usr/bin/kpowersave /usr/bin/xfce4-power-manager"
To:
PMS="/usr/bin/gnome-power-manager /usr/bin/kpowersave /usr/bin/xfce4-power-manager /usr/bin/mate-power-manager"
Shouldn't this still be opened? Is there any way for this file to get updated during Mate's installation?
from mate-power-manager.
@pupi1985 why? acpid is not part of MATE? But now that MATE is in debian you should poke the acpid maintainer again to get this resolved.
from mate-power-manager.
That's a good point. Will do.
from mate-power-manager.
Related Issues (20)
- Support changing screen brightness on desktops
- Feature request: support for Wayland HOT 4
- Configurable suspend in place of hybrid-sleep HOT 5
- Does not remember my last brightness setting HOT 1
- read backlight settings from sysfs instead of applying dconf value HOT 1
- Naming consideration with regards to dependencies of mate-power-manager (libmatepanelapplet should be mate-panel simply)
- mate-power-statistics includes incorrect translation of "State" into British English HOT 1
- Statistics uses gpm- prefixed icons, not Upower HOT 3
- Prefer more standard names for battery icons
- Power settings not being applied HOT 3
- Feature : auto brightness
- mate-power-backlight-helper doesn't update the brightness applet value
- authorization issue with COMMAND=/usr/sbin/mate-power-backlight-helper --set-brightness
- Keyboard backlight is always show,please add close backlight to Ac mode
- mate-power-preferences: 'Hibernate' (aka "suspend to disk") [feature request] HOT 14
- 1.27.0: not ready for gettext 0.22 HOT 16
- PowerManager-ERROR: Error in dbus when starting mate-power-preferences HOT 3
- meson.build files are not in released 1.28 tarball generated with distcheck HOT 3
- Inhibit Applet doesn't work with Crossover ... HOT 2
- Implementing support of Power Profiles Daemon will be useful for longer laptop battery usage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mate-power-manager.