Notices


Reply
Thread Tools
Posts: 376 | Thanked: 56 times | Joined on Jan 2010
#11
I wonder how they get round this with the TV-Out then, as I regulary use the TV out in the car for the kids with the built in screens and the phone screen goes off and the videos continue to play on the screens
 
Posts: 21 | Thanked: 33 times | Joined on Feb 2010 @ SoCal, USA
#12
Originally Posted by AndiThebest View Post
dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:unlocked
¡Gracias! I've been looking for this. I added an alias to my .profile so I just type 'wakeup' and it executes. I could probably make the alias shorter (wu or something.) BTW, what does this command actually do?

Mike
 
Posts: 3 | Thanked: 1 time | Joined on Apr 2010 @ Kettering, Northants
#13
Hi all, not quite a solution but a work-around here.

If you install the simple-brightness-applet (simple brightness statusarea applet), when you view the status area applet, to the left of the 5 brightness levels is another icon which gives you the option to leave the screen on.

Effective if you have the N900 plugged in to a charger but not helpful for when you're starting the x11vnc program remotely e.g. when you leave your phone at home and can VPN into your home network!
Attached Images
  
 

The Following User Says Thank You to wibleh For This Useful Post:
Posts: 14 | Thanked: 7 times | Joined on Apr 2010
#14
what I did was created a batch file:

save this file below in usr/bin call it vnc

------------------
#!/bin/bash
dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:unlocked

x11vnc -timeout 20 -bg -grabkbd -cursor X
--------------------


line 2 unlocks the phone
line 3 starts x11vnc
- times out in 20 seconds if vnc connection hasnt begun
- bg will start the vnc in the background
- grabkbd will lock the keyboard (will also not let the phone blank out!!!)
- cursor X will show a cursor

so everytime you want to want to vnc to your device.
either open x term or telnet to it and type vnc.
 

The Following 7 Users Say Thank You to vanadium For This Useful Post:
Posts: 47 | Thanked: 30 times | Joined on Jul 2010 @ BANGALORE
#15
And if your are using password for x11vnc

------------------
#!/bin/bash
dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:unlocked

x11vnc -usepw -timeout 20 -bg -grabkbd -cursor X
--------------------

Setting a password for x11vnc

Open X Terminal (or SSH into the N900 and login as user) and type x11vnc -storepasswd

Enter password when prompted

Gain root

As root user, edit /usr/share/applications/hildon/x11vnc.desktop

Replace the line that says "Exec=/usr/bin/x11vnc" with "Exec=/usr/bin/x11vnc -usepw"
__________________
------------------------------
Pwnphone, Nitdroid, Stellarium
www.cybertrendz.co.cc
 
tangent's Avatar
Posts: 87 | Thanked: 124 times | Joined on Apr 2012 @ Finland
#16
Hi! I'm a newbie here but how I then stop x11vnc from maemo that it doesn't keep running all time in the background (or so I assume) ? Simply cutting off the connection and stopping SSH and then vnc stops automatically? Or is there a X-term command for this? btw this is a good community with great apps, thanks
 
Posts: 115 | Thanked: 58 times | Joined on Jul 2010
#17
Yes, you are correct. When you disconnect from x11vnc, it will stop. This is by default.

To do it via xterminal, you can use the killall command.

Code:
killall x11vnc

Last edited by fffffred; 2012-04-11 at 04:46.
 
Reply

Thread Tools

 
Forum Jump


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