Giter VIP home page Giter VIP logo

Comments (7)

bhull2010 avatar bhull2010 commented on August 28, 2024

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.

subogero avatar subogero commented on August 28, 2024

Thanks, that has solved it.

from mate-power-manager.

mahiuchun avatar mahiuchun commented on August 28, 2024

Bug filed for Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694775

from mate-power-manager.

tagatac avatar tagatac commented on August 28, 2024

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.

pupi1985 avatar pupi1985 commented on August 28, 2024

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.

infirit avatar infirit commented on August 28, 2024

@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.

pupi1985 avatar pupi1985 commented on August 28, 2024

That's a good point. Will do.

from mate-power-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.