Editing Phone control

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.

Warning: This page is 30 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
{{ambox
 
-
| type = notice
 
-
| image=
 
-
| text = '''This page is about controlling your Nokia device.  For historical reasons this page is called '''phone''' control even though it really covers more than just the phone functions.'''
 
-
}}
 
-
 
-
 
{{Recommended phone usage}}
{{Recommended phone usage}}
==D-Bus==
==D-Bus==
-
These D-Bus commands can be run from terminal or as shell scripts. Useful for scheduling events with [[alarmed]] or [[fcron]], executing from [[Desktop Command Execution Widget scripts|Desktop Command Execution Widget]] or [[Queen BeeCon Widget]], startup events, install scripts, etc. They should be run as:
+
These D-Bus commands can be run from terminal or as shell scripts. Useful for scheduling events with [[fcron]], executing from [[Desktop Command Execution Widget scripts|Desktop Command Execution Widget]] or [[Queen BeeCon Widget]], startup events, install scripts, etc. They should be run as:
  run-standalone.sh SCRIPT.sh
  run-standalone.sh SCRIPT.sh
Line 48: Line 41:
Another (probably better) approach is to register to the CallStatus D-Bus message (<code>com.nokia.csd.Call</code>, <code>/com/nokia/csd/call/1</code>, <code>com.nokia.csd.Call.Instance.CallStatus</code>) and wait for a call status >= 2 (=<code>CSD_CALL_STATUS_COMING</code>) after the "Coming" message.
Another (probably better) approach is to register to the CallStatus D-Bus message (<code>com.nokia.csd.Call</code>, <code>/com/nokia/csd/call/1</code>, <code>com.nokia.csd.Call.Instance.CallStatus</code>) and wait for a call status >= 2 (=<code>CSD_CALL_STATUS_COMING</code>) after the "Coming" message.
-
 
-
====Call "starhash code"====
 
-
 
-
 
-
For example '''*100#'''.
 
-
dbus-send --system --type=method_call --dest=com.nokia.CallUI /com/nokia/CallUI com.nokia.CallUI.HandleMMICode string:"*100#"
 
-
 
-
 
-
====Activate call forwarding====
 
-
 
-
 
-
Forward '''all ('unconditional') calls''' to e.g. +12223456789
 
-
dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.SS /com/nokia/csd/ss com.nokia.csd.SS.DivertActivate uint32:'''0''' string:"+12223456789" uint32:
 
-
or
 
-
dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.SS /com/nokia/csd/ss com.nokia.csd.SS.DivertActivate uint32:'''1''' string:"+12223456789" uint32:
 
-
 
-
----
 
-
 
-
Forward '''calls when 'busy'''' to e.g. +12223456789
 
-
dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.SS /com/nokia/csd/ss com.nokia.csd.SS.DivertActivate uint32:'''2''' string:"+12223456789" uint32:
 
-
 
-
----
 
-
 
-
Forward '''unanswered calls''' to e.g. +12223456789 (leaving the last uint32: empty will use the last stored waiting time)
 
-
dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.SS /com/nokia/csd/ss com.nokia.csd.SS.DivertActivate uint32:'''3''' string:"+12223456789" uint32:
 
-
 
-
Forward '''unanswered calls, when 'no answer' after 25 sec''' to e.g. +12223456789 (if you want to set this value explicitly; valid values: 5, 10, 15, 20, 25, 30)
 
-
dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.SS /com/nokia/csd/ss com.nokia.csd.SS.DivertActivate uint32:'''3''' string:"+12223456789" uint32:'''25'''
 
-
 
-
----
 
-
 
-
Forward '''calls when you are 'out of reach' (no network, shut off, ...)''' to e.g. +12223456789
 
-
dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.SS /com/nokia/csd/ss com.nokia.csd.SS.DivertActivate uint32:'''4''' string:"+12223456789" uint32:
 
-
 
-
----
 
-
 
-
Forward '''calls when 'not available' (busy, no answer, out of reach)''' to e.g. +12223456789
 
-
dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.SS /com/nokia/csd/ss com.nokia.csd.SS.DivertActivate uint32:'''5''' string:"+12223456789" uint32:
 
-
 
-
--[[User:peterleinchen|peterleinchen]] 23:00, 15 December 2011 (UTC)
 
-
 
-
many thanks to the pre-contributor (I have searched for a long time to have the possibility to switch forwarding script based)
 
-
 
-
====Cancel call forwarding====
 
-
dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.SS
 
-
/com/nokia/csd/ss com.nokia.csd.SS.DivertCancel uint32:'''x''' string: uint32:
 
-
Valid values for "x", pls see also above.
 
-
0 unconditional
 
-
 
-
1 unconditional
 
-
 
-
2 busy
 
-
 
-
3 no answer (after xx sec)
 
-
 
-
4 out of reach
 
-
 
-
5 not available (busy, no answer, out of reach)
 
-
 
-
--[[User:peterleinchen|peterleinchen]] 23:00, 15 December 2011 (UTC)
 
-
 
====Get [[:wikipedia:International_Mobile_Equipment_Identity|IMEI]]====
====Get [[:wikipedia:International_Mobile_Equipment_Identity|IMEI]]====
-
  dbus-send --system --type=method_call --print-reply --dest=com.nokia.phone.SIM /com/nokia/phone/SIM/security Phone.Sim.Security.get_imei|awk -F "\"" '/g/ {print $2}'
+
  dbus-send --system --type=method_call --print-reply --dest=com.nokia.phone.SIM /com/nokia/phone/SIM/security Phone.Sim.Security.get_imei
====Get [[:wikipedia:International_Mobile_Subscriber_Identity|IMSI]]====
====Get [[:wikipedia:International_Mobile_Subscriber_Identity|IMSI]]====
-
  dbus-send --system --type=method_call --print-reply --dest=com.nokia.phone.SIM /com/nokia/phone/SIM Phone.Sim.get_imsi|awk -F "\"" '/g/ {print $2}'
+
  dbus-send --system --type=method_call --print-reply --dest=com.nokia.phone.SIM /com/nokia/phone/SIM Phone.Sim.get_imsi
-
 
+
-
====Get [[:wikipedia:Subscriber_identity_module#ICCID|ICCID]]====
+
-
 
+
-
dbus-send --system --type=method_call --print-reply --dest=com.nokia.phone.SSC /com/nokia/phone/SSC com.nokia.phone.SSC.get_iccid|awk -F "\"" '/g/ {print $2}'
+
====Get SIM status====
====Get SIM status====
Line 148: Line 76:
====Turn loudspeaker on (N900)====
====Turn loudspeaker on (N900)====
-
  dbus-send --type=method_call --dest=org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestPrivacyOverride boolean:true
+
  dbus-send --type=method_call --dest=org.maemo.Playback.Manager \
 +
/org/maemo/Playback/Manager \
 +
org.maemo.Playback.Manager.RequestPrivacyOverride boolean:True
====Turn loudspeaker off (N900)====
====Turn loudspeaker off (N900)====
-
  dbus-send --type=method_call --dest=org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestPrivacyOverride boolean:false
+
  dbus-send --type=method_call --dest=org.maemo.Playback.Manager \
 +
/org/maemo/Playback/Manager \
 +
org.maemo.Playback.Manager.RequestPrivacyOverride boolean:False
-
====Turn mute on (N900)====
+
====Start vibrating====
-
 
+
-
dbus-send --type=method_call --dest=org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestMute boolean:true
+
-
 
+
-
====Turn mute off (N900)====
+
-
dbus-send --type=method_call --dest=org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestMute boolean:false
+
-
 
+
-
====Turn bluetooth override on (N900)====
+
-
 
+
-
dbus-send --type=method_call --dest=org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestBluetoothOverride boolean:true
+
-
 
+
-
====Turn bluetooth override off (N900)====
+
-
dbus-send --type=method_call --dest=org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestBluetoothOverride boolean:false
+
-
 
+
-
====Start Vibrating Incoming Call====
+
  dbus-send --system --print-reply --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_vibrator_pattern_activate string:PatternIncomingCall
  dbus-send --system --print-reply --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_vibrator_pattern_activate string:PatternIncomingCall
-
PatternXXX according to definition in /etc/mce/mce.ini
+
====Stop vibrating====
-
 
+
-
====Stop Vibrating Incoming Call====
+
  dbus-send --system --print-reply --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_vibrator_pattern_deactivate string:PatternIncomingCall
  dbus-send --system --print-reply --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_vibrator_pattern_deactivate string:PatternIncomingCall
-
 
-
====Vibration Single Shot====
 
-
dbus-send --system --print-reply --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_start_manual_vibration int32:255 int32:1000
 
-
 
-
First int is power, second is duration in milliseconds
 
===Profiles===
===Profiles===
Line 191: Line 102:
  dbus-send --type=method_call --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.set_profile string:"silent"
  dbus-send --type=method_call --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.set_profile string:"silent"
-
 
-
 
====Query current profile====
====Query current profile====
Line 200: Line 109:
====List all profiles====
====List all profiles====
-
  dbus-send --type=method_call --print-reply --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.get_profiles|awk -F "\"" '/g/ {print $2}'
+
  dbus-send --type=method_call --print-reply --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.get_profiles
-
 
+
-
====Get all profile Values====
+
-
 
+
-
You can modify any profile value, eg. clock alarm enabled, im alert volume, keypad sound level, touchscreen sound level, ... To find out which keys exist, to what value they are set and what values can be given you can use the following command. (For the profile "silent" just put "silent" at the end instead of "general".)
+
-
 
+
-
dbus-send --type=method_call --print-reply --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.get_values string:"general"
+
-
 
+
-
The returned value is an array of struct. Each struct has 3 strings: key, value, type. Type can be eg. "INTEGER 0-2" saying that the values 0, 1 and 2 are correct values for this key.
+
-
 
+
-
====Set a profile value====
+
-
 
+
-
To modify the above mentioned profile values you need this method. The method takes three parameters, all strings: profile, key and value. Profile can be "general" or "silent", key is one of the keys from the above (get all profile values), value can be set to anything allowed by "type" from the above method.
+
-
 
+
-
To enable vibrating alert for the profile "general" your script would look like this:
+
-
 
+
-
dbus-send --type=method_call --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.set_value string:"general" string:"vibrating.alert.enabled" string:"On"
+
===LED===
===LED===
Line 227: Line 120:
  dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_pattern_deactivate string:"PatternCommunicationIM"
  dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_pattern_deactivate string:"PatternCommunicationIM"
-
 
-
====Set brightness of backlight LEDs====
 
-
 
-
dbus-send --print-reply --system --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer_backlight org.freedesktop.Hal.Device.LaptopPanel.SetBrightness int32:$brightness
 
-
 
-
(where $brightness is 0...255)
 
===Messaging===
===Messaging===
Line 305: Line 192:
  dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:"NOTIFICATION"
  dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:"NOTIFICATION"
-
====Send notification (orange multiple line popup)====
+
====Send dialog notification (orange multi line popup requiring user interaction)====
-
 
+
-
dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:"NOTE line 1
+
-
line 2
+
-
. . .
+
-
line n"
+
-
--[[User:peterleinchen|peterleinchen]] 00:22, 4 January 2012 (UTC)
+
-
 
+
-
====Send dialog notification (orange multi line popup, requiring user interaction)====
+
  dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog string:"QUESTION?" uint32:0 string:"OK"
  dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog string:"QUESTION?" uint32:0 string:"OK"
Not sure what string "OK" does, but it is needed and can be anything.
Not sure what string "OK" does, but it is needed and can be anything.
-
 
-
It does nothing here and is not explicitly needed, pls. see below command and also section.
 
-
dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog string:"QUESTION?" uint32: string:
 
-
 
-
====Send dialog notification (black/white with floating bar and confirmation button, requiring user action)====
 
-
 
-
dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog string:"QUESTION?" uint32:'''4''' string:"OK"
 
-
 
-
String "OK" is the text for the button.
 
-
--[[User:peterleinchen|peterleinchen]] 21:29, 3 January 2012 (UTC)
 
-
 
-
====Send email/SMS style notification====
 
-
see http://wiki.maemo.org/Phone_control#Make_an_.22Email_Style.22_notification_dialog
 
===Securing===
===Securing===
-
====Security Device Lock (with lockcode)====
+
====Lock====
  dbus-send --system --type=method_call --dest=com.nokia.system_ui /com/nokia/system_ui/request com.nokia.system_ui.request.devlock_open string:"com.nokia.mce" string:"/com/nokia/mce/request" string:"com.nokia.mce.request" string:"devlock_callback" uint32:'3'
  dbus-send --system --type=method_call --dest=com.nokia.system_ui /com/nokia/system_ui/request com.nokia.system_ui.request.devlock_open string:"com.nokia.mce" string:"/com/nokia/mce/request" string:"com.nokia.mce.request" string:"devlock_callback" uint32:'3'
-
The next method is a 2nd - surprisingly shorter - way to enter device lock mode. Its benefit is that it even disables the device power button menu:
+
====Unlock====
-
 
+
-
dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.devlock_callback int32:0
+
-
 
+
-
====Unlock (pop up lockcode requester?)====
+
  dbus-send --system --type=method_call --dest=com.nokia.system_ui /com/nokia/system_ui/request com.nokia.system_ui.request.devlock_close string:"com.nokia.mce" string:"/com/nokia/mce/request" string:"com.nokia.mce.request" string:"devlock_callback" uint32:'0'
  dbus-send --system --type=method_call --dest=com.nokia.system_ui /com/nokia/system_ui/request com.nokia.system_ui.request.devlock_close string:"com.nokia.mce" string:"/com/nokia/mce/request" string:"com.nokia.mce.request" string:"devlock_callback" uint32:'0'
-
Next method is a 2nd, more direct way to stop device lock mode.
+
====Lock screen and keys====
-
 
+
-
dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.devlock_callback int32:2
+
-
 
+
-
====Query Devlock State====
+
-
 
+
-
  dbus-send --system --type=method_call --dest="com.nokia.mce" --print-reply "/com/nokia/mce/request" com.nokia.mce.request.get_devicelock_mode |awk -F "\"" '/g/ {print $2}'
+
-
 
+
-
 
+
-
====Lock screen and keys (slider lockswitch)====
+
  dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"locked"
  dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"locked"
Line 361: Line 214:
====Unlock screen and keys====
====Unlock screen and keys====
-
This command will unlock and illuminate the screen (useful when accessing the phone externally through [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTY])
 
  dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"unlocked"
  dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"unlocked"
-
 
-
====Query lock state of screen and keys====
 
-
 
-
Will return ''locked'' or ''unlocked'' depending on lock state
 
-
dbus-send --system --type=method_call --dest="com.nokia.mce" --print-reply "/com/nokia/mce/request" com.nokia.mce.request.get_tklock_mode|awk -F "\"" '/g/ {print $2}'
 
===Networking===
===Networking===
Line 430: Line 277:
  dbus-send --system --type=method_call --dest=com.nokia.phone.SSC /com/nokia/phone/SSC com.nokia.phone.SSC.set_radio boolean:false
  dbus-send --system --type=method_call --dest=com.nokia.phone.SSC /com/nokia/phone/SSC com.nokia.phone.SSC.set_radio boolean:false
-
 
-
====Change device mode====
 
-
 
-
String possibility "offline","flight","normal"
 
-
 
-
dbus-send --system --dest=com.nokia.mce --type=method_call /com/nokia/mce/request com.nokia.mce.request.req_device_mode_change string:offline
 
-
 
-
====Query device mode====
 
-
 
-
dbus-send --system --dest=com.nokia.mce --type=method_call --print-reply /com/nokia/mce/request com.nokia.mce.request.get_device_mode | awk -F "\"" '/g/ {print $2}'
 
===Radio mode===
===Radio mode===
Line 466: Line 303:
  dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.ListAdapters | awk -F'"' '/at/ {print $2}'
  dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.ListAdapters | awk -F'"' '/at/ {print $2}'
-
or
 
-
dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.DefaultAdapter | awk -F'"' '/at/ {print $2}'
 
-
 
-
====Identify Properties====
 
-
 
-
dbus-send --system --print-reply --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.DefaultAdapter | awk -F'"' '/at/ {print $2}') org.bluez.Adapter.GetProperties
 
====Enable====
====Enable====
-
Using the adapter path value returned with first command, for example ''/org/bluez/906/hci0''.
+
Using the adapter path value returned with previous command, for example ''/org/bluez/906/hci0''.
  dbus-send --system --type=method_call --dest=org.bluez /org/bluez/906/hci0 org.bluez.Adapter.SetProperty string:Powered variant:boolean:true
  dbus-send --system --type=method_call --dest=org.bluez /org/bluez/906/hci0 org.bluez.Adapter.SetProperty string:Powered variant:boolean:true
Line 481: Line 312:
This one automatically inserts adapter path:
This one automatically inserts adapter path:
-
  dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.DefaultAdapter | awk -F'"' '/at/ {print $2}') org.bluez.Adapter.SetProperty string:Powered variant:boolean:true
+
  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
====Disable====
====Disable====
Line 489: Line 320:
With auto-discovery of adapter path:
With auto-discovery of adapter path:
-
  dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.DefaultAdapter | awk -F'"' '/at/ {print $2}') org.bluez.Adapter.SetProperty string:Powered variant:boolean:false
+
  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
====Connect to specific device====
====Connect to specific device====
Line 496: Line 327:
  service=AudioSink
  service=AudioSink
   
   
-
  adapter=$(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.DefaultAdapter | awk -F'"' '/at/ {print $2}')
+
  adapter=$(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.ListAdapters | awk -F'"' '/at/ {print $2}')
-
  device=$(dbus-send --system --print-reply --dest=org.bluez ${adapter} org.bluez.Adapter.FindDevice string:${devmac} | awk -F'"' '/at/ {print $2}')
+
  device=$(dbus-send --system --print-reply --dest=org.bluez ${adapter} org.bluez.Adapter.FindDevice string:${devmac} | sed -ne 's/^.*object path //p' -e 's/"//g')
  dbus-send --system --type=method_call --print-reply --dest=org.bluez ${device} org.bluez.${service}.Connect
  dbus-send --system --type=method_call --print-reply --dest=org.bluez ${device} org.bluez.${service}.Connect
-
Change the AudioSink to any service and the devmac to the MAC of bluetooth device.
+
Change the AudoSink to any service and the devmac to the MAC of bluetooth device.
===Check for updates===
===Check for updates===
Line 514: Line 345:
  dbus-send --print-reply --dest=com.nokia.osso_pdfviewer /com/nokia/osso_pdfviewer com.nokia.osso_pdfviewer.mime_open string:/home/user/MyDocs/.documents/file_name.pdf
  dbus-send --print-reply --dest=com.nokia.osso_pdfviewer /com/nokia/osso_pdfviewer com.nokia.osso_pdfviewer.mime_open string:/home/user/MyDocs/.documents/file_name.pdf
-
===Open a file with the default notes application===
+
===Open folder===
-
  dbus-send --print-reply --dest=com.nokia.osso_notes /com/nokia/osso_notes com.nokia.osso_notes.mime_open string:/home/user/MyDocs/.documents/file_name
+
  dbus-send --print-reply --dest=com.nokia.osso_filemanager /com/nokia/osso_filemanager com.nokia.osso_filemanager.open_folder string:/home/user/MyDocs/
-
===Open the default notes application===
 
-
 
-
dbus-send --print-reply --dest=com.nokia.osso_notes /com/nokia/osso_notes com.nokia.osso_notes.top_application
 
-
 
-
=== Open folder ===
 
-
 
-
dbus-send --print-reply --dest=com.nokia.osso_filemanager /com/nokia/osso_filemanager com.nokia.osso_filemanager.open_folder string:/home/user/MyDocs/
 
===Set volume===
===Set volume===
Line 531: Line 355:
The value can be between 0 and 100.
The value can be between 0 and 100.
-
 
-
===Get volume===
 
-
 
-
dbus-send --print-reply --type=method_call --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.extension.get_extension_property string:volume|awk '/nt/ {print $3}'
 
===Reboot===
===Reboot===
Line 540: Line 360:
  dbus-send --system --type=method_call --print-reply --dest=com.nokia.mce "/com/nokia/mce/request" com.nokia.mce.request.req_reboot
  dbus-send --system --type=method_call --print-reply --dest=com.nokia.mce "/com/nokia/mce/request" com.nokia.mce.request.req_reboot
This is same as rebooting from power key menu (needs uncommenting in certain XML file to appear) and has been identified as insecure way to reboot the device (no filesystem synchronization, etc.). Better command is to simply enter "reboot" in root terminal.
This is same as rebooting from power key menu (needs uncommenting in certain XML file to appear) and has been identified as insecure way to reboot the device (no filesystem synchronization, etc.). Better command is to simply enter "reboot" in root terminal.
-
 
-
Yet another method: dsmetool -b
 
===Shutdown===
===Shutdown===
Line 990: Line 808:
Credits: MohammadAG (on irc).
Credits: MohammadAG (on irc).
-
 
-
Additional note by Linkandzelda (on irc):
 
-
The type "control_bluetooth_paired" is the name of the icon used, picked from this folder
 
-
 
-
<source lang="bash">
 
-
/usr/share/icons/hicolor/48x48/hildon
 
-
</source>
 
[[Category:Power users]]
[[Category:Power users]]
[[Category:Development]]
[[Category:Development]]

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: