VinzC wrote:juniper wrote:however, i don't really know what Fn+F3 (battery) is supposed to do.
That key is mainly used under Windows to display the Battery control panel. But you could do anything you want with it as it isn't mapped to any BIOS function.
ok, but can i get it to do what it does in windows?
VinzC wrote:
juniper wrote:Also, Fn+F10 is supposed to eject the cdrom. that i know. i know what that looks like etc. however, i don't really know what Fn+F3 (battery) is supposed to do. also, if i remember correctly, some of these things are mentioned in the bios (certainly the Fn+F2 (wireless) is. so, i am wondering if i should go in the bios or something for these funtion keys.
Fn+ESC is Sleep (or suspend to RAM),
Fn+F1 is Hibernate (or suspend to disk),
Fn+F2 is Wireless/BlueTooth toggle (on/off),
Fn+F3 is <battery> (or "do anything you want")
Fn+F8 is CRT/LCD
well, that is precisely the question on one my posts. i have suspend-to-disk working. i can suspend to disk in one of two ways.
1) manually execute /usr/sbin/hibernate (i can do that as myself or root)
2) in /etc/acpi/defaults.sh i have
which makes Fn+Esc execute /usr/sbin/hibernate. however, i want Fn+F1 to execute /usr/sbin/hibernate, but i don't know how to do that.
i have tried
suspend) /usr/sbin/hibernate
;;
hibernate) /usr/sbin/hibernate
;;
standby) /usr/sbin/hibernate
;;
in my /etc/acpi/defaults.sh, but nothing works. so (one of) my problem is, how to refer to the key combo Fn+F1 in, for example, /etc/acpi/defaults.sh? I know it is *labelled* hibernate, but how to actually refer to it in /etc/acpi/defaults.sh seems to be hard. what is apparent is that
sleep) path/to/whatever/command
;;
in /etc/acpi/defaults.sh makes Fn+Esc execute whatever/command. so, my guess is that the word "sleep" in that famed file refers to Fn+Esc. but what about the other function keys???
VinzC wrote:
juniper wrote:I use gnome and the battery monitor applet incorrectly states whether i am on ac power (it always says i am using battery power). can that be fixed?
Have you checked what
/proc/acpi/battery/BAT<n>/state if it reflects the actual state (charging/discharging)?
Code: Select all
$ grep 'charging state:' /proc/acpi/battery/BAT0/state
i will check that out.
thanks for the help, VinzC.
j