Re: [CentOS] Getting confirmation for power button

2013-04-25 Thread John Doe
From: "Vanhorn, Mike" > Yes, and that works fine, *if* the user is logged in. But what about when > the workstation is sitting there at the login window? At that point, when > the action from power.conf is taken, there is no power manager, so it does > the shutdown. > I'm wanting to get a prompt

Re: [CentOS] Getting confirmation for power button

2013-04-25 Thread Vanhorn, Mike
On 4/25/13 10:38 AM, "John Doe" wrote: >On CentOS 5: /etc/acpi/events/power.conf Sorry, I meant "power.conf" in my original post, not "power.sh". >Do you use gnome? >If so, in 'System / Preferences / ... / Power Managment', in the >'General' tab, Yes, and that works fine, *if* the user is logg

Re: [CentOS] Getting confirmation for power button

2013-04-25 Thread John Doe
From: "Vanhorn, Mike" > Yes, I know this is handled by acpid; that's where the > /etc/acpid/events/power.sh file comes in. I'm asking if anyone knows what > changes to make to that file so that it gives a prompt first. > > I'm guessing that there is a program out there already that will prompt >

Re: [CentOS] Getting confirmation for power button

2013-04-25 Thread Giles Coochey
On 25/04/2013 15:00, Vanhorn, Mike wrote: On 4/25/13 9:46 AM, "Giles Coochey" wrote: You are talking about something that acpid is doing for you: http://linux.die.net/man/8/acpid Yes, I know this is handled by acpid; that's where the /etc/acpid/events/power.sh file comes in. I'm asking if

Re: [CentOS] Getting confirmation for power button

2013-04-25 Thread Vanhorn, Mike
On 4/25/13 9:46 AM, "Giles Coochey" wrote: >You are talking about something that acpid is doing for you: > >http://linux.die.net/man/8/acpid > > Yes, I know this is handled by acpid; that's where the /etc/acpid/events/power.sh file comes in. I'm asking if anyone knows what changes to make to tha

Re: [CentOS] Getting confirmation for power button

2013-04-25 Thread Giles Coochey
On 25/04/2013 14:43, Vanhorn, Mike wrote: Using CentOS 5.8: Currently on my workstations, when I press the power button the computer immediately does a 'shutdown -h now' (per /etc/acpid/events/power.conf). Is there a way to change it so that a confirmation dialog comes up, rather than an immedia

[CentOS] Getting confirmation for power button

2013-04-25 Thread Vanhorn, Mike
Using CentOS 5.8: Currently on my workstations, when I press the power button the computer immediately does a 'shutdown -h now' (per /etc/acpid/events/power.conf). Is there a way to change it so that a confirmation dialog comes up, rather than an immediate shutdown? I assume that I am going to n