OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Hinge Suspend - Alarm Problem., howto disable hinge suspend from script?
YoG
post Mar 20 2006, 02:03 AM
Post #1





Group: Members
Posts: 56
Joined: 12-November 05
From: Israel
Member No.: 8,524



Hi,
does anyone knows a script command to disable the suspend when closing the hinge (on C7x0)?

I tried:
CODE
setSuspendOnOff(bool) false


I also tried:
CODE
qcop QPE/System 'setScreenSaverMode(int)' 2
qcop QPE/System 'setScreenSaverIntervals(int,int,int)' 0 0 0

which disable the dim/blank/suspend timeouts, but when closing the hinge the Z immidiatly went to sleep...

My problem is that when the "suspend when hinge is closed" option is on and the hinge is closed, the kopi-alarm doesn't work. when I disable this option everything works fine...

Thanx,
YoG.
Go to the top of the page
 
+Quote Post
lardman
post Mar 20 2006, 02:11 AM
Post #2





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Is there not an option in the Power settings applet?

Can you sumbit this problem as a bug to the bugtracker please.

Thanks,


Si
Go to the top of the page
 
+Quote Post
YoG
post Mar 20 2006, 02:18 AM
Post #3





Group: Members
Posts: 56
Joined: 12-November 05
From: Israel
Member No.: 8,524



QUOTE(lardman @ Mar 20 2006, 12:11 PM)
Is there not an option in the Power settings applet?

Can you sumbit this problem as a bug to the bugtracker please.

Thanks,


Si
*


I can disable the "suspend on hinge close" option, that was my workaround. But that wasn't my question, the question is: is there a way to do it from a script ie from commandline.

I think
QUOTE
it's not a bug, it's a feature
as the men said... wink.gif
YoG.
Go to the top of the page
 
+Quote Post
YoG
post Mar 20 2006, 02:22 AM
Post #4





Group: Members
Posts: 56
Joined: 12-November 05
From: Israel
Member No.: 8,524



but I'll report a bug anyway...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th September 2014 - 07:38 PM