![]() |
2011-04-13
, 08:18
|
Posts: 141 |
Thanked: 41 times |
Joined on Apr 2011
@ Ahmedabad, India
|
#22
|
![]() |
2011-04-13
, 14:38
|
|
Posts: 1,103 |
Thanked: 368 times |
Joined on Oct 2010
@ india, indore
|
#23
|
/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
![]() |
2011-04-13
, 15:13
|
|
Posts: 1,444 |
Thanked: 461 times |
Joined on Dec 2010
@ pakistan
|
#24
|
here is a way to create a shortcut on your desktop to lock the screen (or in the menu)
go to app manager and install scm (shortcut maker)(thanks to tiboric)
its name is scm yes "scm" only don't confused
now open shortcut maker(you have just installed)
tap to CMD and give a name to your shortcut
(don't check box "run in xterm")
and put this in command box (better to copy the code and paste it)
and prees create...Code:/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
now there should be a new icon in the menu to lock Ur screen
now go to desktop > settings > add your shortcut DONE........ !
![]() |
2011-04-13
, 15:29
|
|
Posts: 1,103 |
Thanked: 368 times |
Joined on Oct 2010
@ india, indore
|
#25
|
![]() |
2011-04-13
, 16:22
|
|
Posts: 1,444 |
Thanked: 461 times |
Joined on Dec 2010
@ pakistan
|
#26
|
![]() |
2011-04-13
, 16:44
|
|
Posts: 532 |
Thanked: 949 times |
Joined on Apr 2010
@ Uk for 6months then Thailand
|
#27
|
The Following User Says Thank You to qosmio For This Useful Post: | ||
![]() |
2011-04-13
, 16:51
|
|
Posts: 1,444 |
Thanked: 461 times |
Joined on Dec 2010
@ pakistan
|
#28
|
bluetooth on
dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.ListAdapters | awk -F "\"" '/at/ {print $2}') org.bluez.Adapter.SetProperty string:Powered variant:boolean:true | echo ""
bluetooth off
dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.ListAdapters | awk -F "\"" '/at/ {print $2}') org.bluez.Adapter.SetProperty string:Powered variant:boolean:false | echo ""
hope that helps ?
regards Qosmio
![]() |
2011-04-13
, 16:59
|
|
Posts: 1,444 |
Thanked: 461 times |
Joined on Dec 2010
@ pakistan
|
#29
|
![]() |
2011-04-13
, 17:00
|
|
Posts: 532 |
Thanked: 949 times |
Joined on Apr 2010
@ Uk for 6months then Thailand
|
#30
|
really thanks for you effort , but isn't it possible to switch on and off with one shortcut ?
The Following User Says Thank You to qosmio For This Useful Post: | ||
does yours not unlock the device?