- Status Closed
- Percent Complete
- Task Type Feature Request
- Category Core
- Operating System Release 1 (Zaxxon)
- Severity Medium
- Reported Version Hotfix 5
Attached to Project: OpenPandora Main OS
Opened by T4b - 2011-06-21
Last edited by Michael Mrozek - 2011-11-12
Opened by T4b - 2011-06-21
Last edited by Michael Mrozek - 2011-11-12
FS#234 - Changeable behaviour when closing the lid
Tags:
As it was requested on forum.gp2x.de and I think it's a good idea I've written some scripts to allow the user to change what happens when the lid is opened/closed.
There are 3 Settings:
-The old behaviour (turning off the screen)
-Go into low power mode
-Shutdown
Default behaviour is still the same: Turn the screen off. Maybe we could change this to low power mode? I don't know.
I made a lot of changes to op_lid.sh: http://pastebin.com/GT3qxWSx (diff: http://pastebin.com/Z8GwpDj8 )
I changed line 11 in op_power.sh to: if [ $powerstate -ne 0 ]; then
And wrote a gui for changing the setting using zenity: http://pastebin.com/9JvSTqfQ
(I still can't upload any files, don't know if it's the fault of my browser, that's why I use this paste service)
Tuesday, 21 June 2011, 23:29 GMT
Wednesday, 22 June 2011, 06:22 GMT
Wednesday, 22 June 2011, 07:51 GMT
Tuesday, 05 July 2011, 15:29 GMT
Sunday, 11 September 2011, 08:30 GMT
Monday, 12 September 2011, 17:12 GMT
Monday, 26 September 2011, 17:18 GMT