Hello, As a new Eee PC user, I was glad to discover eeepc-acpi-scripts. But one of the first things I wanted to do was to replace the lid action, in order to blank the screen instead of suspending. I often see people half-closing their laptop in order to avoid a suspend, and I just find this silly.
So I think their should be a way to choose the lid action, maybe in </etc/default/eeepc-acpi-scripts>. I see at least three relevant actions: - suspending; - turning off the screen (it cannot be seen when closed!); - locking the screen. Choosing one of these actions would not reduce the overall possibilities, as there are hotkeys for manually ask for suspending or blanking. Currently, I think flexible actions are only used for hotkeys, and they are defined in </etc/acpi/actions/hotkey.sh>. I the lid action is decided to be customizable, it will need some handler functions, so I see two possibilities for that: - moving the handler functions from </etc/acpi/actions/hotkey.sh> to some external file like </etc/acpi/lib/handlers.sh>, and sourcing it in </etc/acpi/actions/hotkey.sh> and </etc/acpi/actions/lid.sh>; - defining handler functions in </etc/acpi/actions/lid.sh> (but some of them will be duplicates of </etc/acpi/actions/hotkey.sh>). What do you think of these ideas? It it is ok, I can do it and submit a patch. Regards, -- Tanguy Ortolo _______________________________________________ Debian-eeepc-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-eeepc-devel
