Livewallpaper

Line 7: Line 7:
See example below:
See example below:
-
Example for external theme Abstractile
+
Example for external theme Abstractile:
  <theme>
  <theme>
-
<name>Abstractile</name>
+
  <name>Abstractile</name>
-
<exec_path>/usr/lib/xscreensaver/abstractile</exec_path>
+
  <exec_path>/usr/lib/xscreensaver/abstractile</exec_path>
-
<window_id>-window-id</window_id>
+
  <window_id>-window-id</window_id>
-
<view>-view</view>
+
  <view>-view</view>
-
<category>xscreensaver</category>
+
  <category>xscreensaver</category>
  </theme>
  </theme>
-
                                                                                                                                                 
+
                                                                                  Where
 +
name - name of Theme
 +
exec_path - path for execute binary file for this theme
 +
window_id - name of parameter for  X11 Window ID. This ID have to receive livewallpaper
 +
view - name of parameter for number of view on desktop (where your application start). This number have to receive livewallpaper
 +
category - name of category for theme
 +
 
 +
 
          
          
[[Category:Software]]
[[Category:Software]]

Revision as of 13:08, 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 for execute binary file for this theme window_id - name of parameter for X11 Window ID. This ID have to receive livewallpaper view - name of parameter for number of view on desktop (where your application start). This number have to receive livewallpaper category - name of category for theme