Re: make thinkpad Fn-F12 work in sid
Paolo Alexis Falcone wrote:
> I went back to debian sid after using ubuntu for a few months. So far,
> i've been able to configure my thinkpad t42p to resemble some ubuntu
> goodies except for fn-f12: nothing happens when i hit it, as supposed
> to hibernate using ubuntu. I have verified that echo disk >
> /sys/power/state just works though. Any hint how ubuntu did it?
> Also, how do i enable graphical notification of screen brightness in
> gnome when i use the appropriate fn-key combination, similar to
> ubuntu? Thanks.
>
What does the (sys)log say?
I know little about Gnome-specific power management (eew) but I do have:
antony@myung:~$ cat /etc/acpi/f12.sh
#!/bin/sh
/usr/sbin/hibernate
antony@myung:~$ cat /etc/acpi/events/f12
event=ibm/hotkey HKEY 00000080 0000100c
action=/etc/acpi/f12.sh
I have configured /etc/hibernate/common.conf as appropriate, but I have
an X31 which may be a little different. Hopefully the above will get
you going.
ISTR that the graphical notification comes from tpb.
antony@myung:~$ find /etc/ -exec grep -H tpb {} \;
/etc/default/tpb:# set this option to 'true' if you want to start tpb
automatically after X has
antony@myung:~$ ps ax |grep tpb
30002 ? Sl 0:00 /usr/bin/tpb -d
11924 pts/1 R+ 0:00 grep tpb
antony@myung:~$ killall tpb
Look, no OSD!
antony@myung:~$ /usr/bin/tpb -d
Reply to: