View Single Post
Posts: 2 | Thanked: 0 times | Joined on Aug 2010
#67
@ BEC, @starman

I knw I am straying off a lil bit, but need help on a developmental issue. i am a totally a newbie and not exposed to Linux development:

Objective: I am trying to add a shortcut to N900 desktop that could lock the screen in a single touch. The code is as follows, found it on one of the other forums. I need help on the following questions:

1) Where should I be inputting this code on my device to make it functional.
2) is there an easier code to achieve the same objective.
3) should i be saving 4 separate files once the code is created; to add shortcut to 4 separate screens on my device.

your help in this matter would be highly appreciated...

Ciao


========================================



[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Lock Screen
Comment=lock_screen
Exec=/usr/bin/dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request

com.nokia.mce.request.req_tklock_mode_change string:locked
Icon=qgn_list_cp_security

save as lock.desktop to /usr/share/applications/hildon/


This .desktop file "creates" an app in the "more" folder which you can put on the
desktop as a shortcut to lock your N900




================================================== =======================================

original post here

Any App to lock screen (shortcut on screen) for N900 - maemo.org - talk


http://talk.maemo.org/showthread.php?t=23696

http://talk.maemo.org/showthread.php?t=41917