Livewallpaper
Line 8: | Line 8: | ||
Example for external theme Abstractile: | Example for external theme Abstractile: | ||
- | |||
<theme> | <theme> | ||
<name>Abstractile</name> | <name>Abstractile</name> | ||
Line 16: | Line 15: | ||
<category>xscreensaver</category> | <category>xscreensaver</category> | ||
</theme> | </theme> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
+ | 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 app should take this option. | ||
+ | * view - option name for the view number on which your application will be started). Your app should take this option. | ||
+ | *category - category name for theme. | ||
+ | |||
+ | 2. | ||
[[Category:Software]] | [[Category:Software]] |
Revision as of 13:28, 16 August 2010
LiveWallpaper
API for external theme:
1. You need to create xml file with description your external theme. See example below:
Example for external theme Abstractile:
<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>
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 app should take this option.
- view - option name for the view number on which your application will be started). Your app should take this option.
- category - category name for theme.
2.