Skip to content

dudochkin-victor/touch-controlpanel

Repository files navigation

= BUILDING CONTROLPANEL =

Possible build options when creating debian package:

noopt           do not use O2 optimization

nodocs          do not build the doc package
notests         do not build the tests packages
minimal         do not build all the above + engineering translations

debug           build a more verbose controlpanel with lots of debug output

mostused        have a most recently used items category on top of main page

nolauncher      disable booster support (for example for debugging)
software        run duicontrolpanel in software mode by default
                (might be good for testing in scratchbox)

parallel=X      build on X threads

For example to build a version without invoker on 4 threads:
DEB_BUILD_OPTIONS="nolauncher parallel=4" dpkg-buildpackage -rfakeroot -b


= RUNNING CONTROLPANEL =

Start controlpanel through servicefw:

# pop up an applet:
dbus-send --session --print-reply --dest=com.nokia.DuiControlPanel / com.nokia.DuiControlPanelIf.appletPage string:Battery
dbus-send --session --print-reply --dest=com.nokia.DuiControlPanel / com.nokia.DuiControlPanelIf.appletPage "string:Display Language"
dbus-send --session --print-reply --dest=com.nokia.DuiControlPanel / com.nokia.DuiControlPanelIf.appletPage array:string:"Display Language","param1","param2"

# bring dcp to front as it is:
dbus-send --session --print-reply --dest=com.nokia.DuiControlPanel /org/maemo/m com.nokia.MApplicationIf.launch

# pop up mainpage:
dbus-send --session --print-reply --dest=com.nokia.DuiControlPanel / com.nokia.DuiControlPanelIf.mainPage

# pop up a category page:
dbus-send --session --print-reply --dest=com.nokia.DuiControlPanel / com.nokia.DuiControlPanelIf.categoryPage "string:Look & Feel"


= DEBUGGING =

Debugging controlpanel with invoker:
gdb /usr/bin/applauncherd.bin $(pgrep booster-m)

The other option is to build a version without invoker, see "nolauncher" build
option.


= MISC =

Empty the recently used list:
gconftool-2 --recursive-unset /apps/duicontrolpanel/usagecount


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published