View Single Post
Switch_'s Avatar
Posts: 601 | Thanked: 549 times | Joined on Mar 2010 @ Redditch, UK
#5
Allright, from the top then:

Open leafpad from xterm using
Code:
leafpad
Create a .desktop file that looks like this:
Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Name=Lock
Exec=dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"locked"
Icon=general_locked
Once that is done click on the top bar, and go to "Save As" - name the file "lock.desktop" and where it asks for location (currently says "/") change that to your device (click on the "/" button then click on your device name on the next pop-up - this will be the root of MyDocs folder in your device)

Open a new terminal window and become root
Code:
root
mv /home/user/MyDocs/lock.desktop /usr/share/applications/hildon/
Next open the settings on your desktop and "Add Shortcut" - add the shortcut called "Lock" and press it for fullscreen lockery shenanigans. Enjoy.
__________________
---<|| Alt + F4 for GOD MODE ||>---
---<|| Deviant Art Linky Linky ||>---

Last edited by Switch_; 2011-03-02 at 13:13.
 

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