![]() |
2011-03-02
, 10:54
|
|
Posts: 800 |
Thanked: 957 times |
Joined on Sep 2010
@ India
|
#2
|
![]() |
2011-03-02
, 11:12
|
|
Posts: 1,444 |
Thanked: 461 times |
Joined on Dec 2010
@ pakistan
|
#3
|
![]() |
2011-03-02
, 11:16
|
|
Posts: 601 |
Thanked: 549 times |
Joined on Mar 2010
@ Redditch, UK
|
#4
|
cd /home/user/MyDocs
mv desktop_lock.desktop /usr/share/applications/hildon/
cp
The Following User Says Thank You to Switch_ For This Useful Post: | ||
![]() |
2011-03-02
, 12:30
|
|
Posts: 601 |
Thanked: 549 times |
Joined on Mar 2010
@ Redditch, UK
|
#5
|
leafpad
[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
root mv /home/user/MyDocs/lock.desktop /usr/share/applications/hildon/
The Following User Says Thank You to Switch_ For This Useful Post: | ||
![]() |
2011-03-02
, 12:48
|
|
Posts: 1,444 |
Thanked: 461 times |
Joined on Dec 2010
@ pakistan
|
#6
|
Allright, from the top then:
Create a .desktop file that looks like this:
Save it as lock.desktopCode:[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"
Copy this onto your phone using USB or alternatively create it natively and save it to your /MyDocs (default location).
Open a new terminal window and become rootNext open the settings on your desktop and "Add Shortcut" - add the shortcut called "Lock" and press it for fullscreen lockery shenanigans. Enjoy.Code:root mv /home/user/MyDocs/lock.desktop /usr/share/applications/hildon/
![]() |
2011-03-02
, 12:55
|
|
Posts: 601 |
Thanked: 549 times |
Joined on Mar 2010
@ Redditch, UK
|
#7
|
The Following User Says Thank You to Switch_ For This Useful Post: | ||
![]() |
2011-03-02
, 12:57
|
|
Posts: 1,444 |
Thanked: 461 times |
Joined on Dec 2010
@ pakistan
|
#8
|
![]() |
2011-03-02
, 13:08
|
|
Posts: 1,444 |
Thanked: 461 times |
Joined on Dec 2010
@ pakistan
|
#9
|
![]() |
2011-03-02
, 13:08
|
|
Posts: 601 |
Thanked: 549 times |
Joined on Mar 2010
@ Redditch, UK
|
#10
|
mv /ho<TAB>use<TAB>My<TAB>loc<TAB> /us<TAB>sha<TAB>appli<TAB>hildon/
The Following User Says Thank You to Switch_ For This Useful Post: | ||
but every time i try it says path has non-directory component .
what i am doing is .
cp MyDocs/desktop_lock.desktop /usr/share/applications/hildon/
what should i do ?