![]() |
2010-04-13
, 11:20
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#2
|
dbus-send --print-reply --type=method_call --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.get_profile
The Following 4 Users Say Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-04-13
, 12:20
|
Posts: 247 |
Thanked: 91 times |
Joined on Jan 2008
@ London/M4 Corridor
|
#3
|
![]() |
2010-04-13
, 12:39
|
Posts: 247 |
Thanked: 91 times |
Joined on Jan 2008
@ London/M4 Corridor
|
#4
|
![]() |
2010-04-13
, 14:13
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#5
|
![]() |
2010-04-13
, 14:18
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#6
|
1. It doesnt work.
To add new profiles I need to create and modify a file
in /etc/profiled from within the control-panel plugin.
This works in scratchbox but not on the device.
In scratchbox this directory is writable by the user,
on the device it is a system file and only wirteable by
the superuser. I dont know exactly what to do.
The Following 2 Users Say Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-04-13
, 14:39
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#7
|
Generally, a "helper program" is made and an exception added to /etc/sudoers.d. Look at pH5's LED Patterns applet (it's in Vala, though).
The Following User Says Thank You to nicolai For This Useful Post: | ||
Is there a dbus command (or other methode) to query the current selected phone profile (standard 'general' or 'silent'). I need this for a Python script...