All Projects

IDProjectCategoryTask TypeSeveritySummaryStatusProgressOperating System
 234 OpenPandora Main OSCoreFeature RequestMedium Changeable behaviour when closing the lid Closed
100%
Release 1 (Zaxxon) Task Description 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)
 233 OpenPandora Main OSCoreBug ReportVery Low op_power.sh: errors Closed
100%
Release 1 (Zaxxon) Task Description op_power.sh gives some errors to me... it works anyway, but it's not nice to see them all the time. /usr/pandora/scripts/op_power.sh: line 60: [: 5380: binary operator expected or /usr/pandora/scripts/op_power.sh: line 60: [: too many arguments I guess line 60 of op_power.sh if [ ! $wlstate ]; then should rather be if [ -z "$wlstate" ]; then shouldn't it? The same thing is in line Then sometimes also rm: cannot remove `/tmp/wlstate': No such file or directory or cat: /tmp/wlstate: No such file or directory which could easily be fixed by adding a test -f /tmp/wlstate && or something like that before the respective command. I just added a lot of test, I'm not sure if every single one of them is really needed, but better too much than not enough, I would say. :-) I can't attach a file (I click the button and nothing happens), so I just paste it there: http://nopaste.info/2256365eba.html It's a bit longer because some indentations were wrong (and I corrected them) and I changed all indentations to tabs = 8 spaces instead of 2.
Showing tasks 1 - 2 of 2 Page 1 of 1

Available keyboard shortcuts

Tasklist

Task Details

Task Editing