All Projects

IDProjectCategoryTask TypeSeveritySummaryStatusProgressOperating System
 234 OpenPandora Main OSCoreFeature RequestMedium Changeable behaviour when closing the lid Closed
Release 1 (Zaxxon) Task Description As it was requested on 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 (diff: ) I changed line 11 in to: if [ $powerstate -ne 0 ]; then And wrote a gui for changing the setting using zenity: (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 errors Closed
Release 1 (Zaxxon) Task Description gives some errors to me... it works anyway, but it's not nice to see them all the time. /usr/pandora/scripts/ line 60: [: 5380: binary operator expected or /usr/pandora/scripts/ line 60: [: too many arguments I guess line 60 of 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: 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


Task Details

Task Editing