Yes I have lowpower in .lidconfig Doesn't matter if I go into lid settings... Doesn't make any difference. Sent from my A500 using the cli.
Oh. So if you went into Lid Close Setting, and chose "Turn off the screen", it doesn't update $HOME/.lidconfig?
If so, I can't work out why it doesn't. Here's the script - maybe someone else can see a reason why it fails (I assume that your /usr/pandora/scripts/op_lidsettings.sh looks the same ...)
#!/bin/bash
user=$(cat /tmp/currentuser)
# change what to do when the lid is closed/opened
case "$(cat /home/$user/.lidconfig)" in
"lowpower")
current="the Pandora goes into low power mode"
;;
"shutdown")
current="the Pandora is shut down"
;;
*)
current="the screen is turned off"
;;
esac
sel=$(zenity --title="Lid settings" --height=250 --list --column "id" --column "Please select" --hide-column=1 --text="What should happen when you close the Pandora's lid?\n(the opposite of the selected action is performed when opening the lid again)\nAt the moment $current when you close the lid." "brightness" "Turn off the screen." "lowpower" "Go into low power mode (same as when pressing the
power button for less than 3 seconds)" "shutdown" "Shut the pandora down.") || exit
echo "$sel" > /home/$user/.lidconfig
You don't have spaces in your username do you?