Active Topics

 


Reply
Thread Tools
Posts: 393 | Thanked: 67 times | Joined on Feb 2010
#1
Friends,

Does anyone know a CLI command which would turn the screen on or off via an SSH session? The reason I want this is because VNC (x11vnc) only works with the screen on, but I don't always need it on. I want to SSH to the N900 to turn the screen on or off.

If anyone knows, or has ideas, please reply.
Thanks
 
Posts: 100 | Thanked: 408 times | Joined on Aug 2009 @ Helsinki
#2
This command unlocks the touchscreen and the display:

Code:
dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:unlocked
Hope it helps!
 

The Following 2 Users Say Thank You to mardy For This Useful Post:
Posts: 393 | Thanked: 67 times | Joined on Feb 2010
#3
thank you!

the following locks it:

dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:locked
 

The Following User Says Thank You to mail_e36 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 13:22.