i have salix mate in acer aspire 522 netbook. i installed catalyst proprietary driver for its ati radeon card, and 3d works great.
my problem is, pressing power button directly starts shutting down my netbook, without any prompted question. i did set preference of power management "when the power button is pressed: ask me".
thanks for help.
pressing power button, no prompt
pressing power button, no prompt
sorry for my noob-ness guys, i'm new in linux and salix.
Re: pressing power button, no prompt
You probably have acpi handlers setup like so (/etc/acpi/acpi_handler.sh):
You need to comment in that "power button" case the /sbin/init 0 line like this:
Then it's most probably going to work as expected, i.e. acpi "power button" events get only handled by xfce as expected.
Code: Select all
#!/bin/sh
# Default acpi script that takes an entry for all actions
IFS=${IFS}/
set $@
case "$1" in
button)
case "$2" in
power) /sbin/init 0
;;
*) logger "ACPI action $2 is not defined"
;;
esac
;;
*)
logger "ACPI group $1 / action $2 is not defined"
;;
esac
Code: Select all
power) #/sbin/init 0
Re: pressing power button, no prompt
great, shador. thanks, it works.
and it will be perfect if the prompt dialog directly has focus, so i don't have to click on it or press alt+tab .
and it will be perfect if the prompt dialog directly has focus, so i don't have to click on it or press alt+tab .
sorry for my noob-ness guys, i'm new in linux and salix.