Editing Livewallpaper
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
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: | ||
- | + | LiveWallpaper | |
- | + | ||
- | + | API for external theme: | |
- | You need to create | + | |
+ | 1. You need to create xml file with description your external theme. | ||
+ | See example below: | ||
Example for external theme Abstractile: | Example for external theme Abstractile: | ||
- | + | <theme> | |
- | <theme> | + | <name>Abstractile</name> |
- | + | <exec_path>/usr/lib/xscreensaver/abstractile</exec_path> | |
- | + | <window_id>-window-id</window_id> | |
- | + | <view>-view</view> | |
- | + | <category>xscreensaver</category> | |
- | + | </theme> | |
- | </theme | + | |
- | + | ||
Where | Where | ||
- | * | + | * name - name of theme. |
- | * | + | * exec_path - path to the executable binary file for this theme. |
- | * | + | * window_id - option name for the X11 Window ID. Your application should take this option. |
- | * | + | * view - option name for the view number on which your application will be started). Your application should take this option. |
- | * | + | *category - category name for theme. |
- | + | ||
- | + | 2. Your application must go to sleep on the dbus signal: interface='org.maemo.livewp', member='pause_livebg_on_view%i' | |
- | Your application must go to sleep on the | + | and wake up on the dbus signal: interface='org.maemo.livewp', member='play_livebg_on_view%i', where %i - view number. |
- | + | ||
- | interface='org.maemo.livewp', member='pause_livebg_on_view%i' | + | |
- | + | ||
- | and wake up on the | + | |
- | + | ||
- | interface='org.maemo.livewp', member='play_livebg_on_view%i' | + | |
- | + | ||
- | where %i - view number. | + | |
- | + | ||
- | + | ||
[[Category:Software]] | [[Category:Software]] |
Learn more about Contributing to the wiki.