Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dev:howto:panel_plugins [2008/04/18 23:44] – This is not the {chinese, taiwanese, japanese, korean} translation moe | dev:howto:panel_plugins [2017/04/18 04:27] – Fix panel plugins path andreldm | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Xfce Panel Plugins How To ====== | ====== Xfce Panel Plugins How To ====== | ||
- | {{wiki: | + | <note tip>You can get the sample plugin |
===== Introduction ===== | ===== Introduction ===== | ||
Line 35: | Line 34: | ||
X-XFCE-Module=< | X-XFCE-Module=< | ||
X-XFCE-Module-Path=< | X-XFCE-Module-Path=< | ||
+ | |||
+ | For instance, | ||
+ | |||
+ | X-XFCE-Module=quicklauncher | ||
+ | X-XFCE-Module-Path=/ | ||
If the module should have no more than 1 instance running at the same time, you add this line: | If the module should have no more than 1 instance running at the same time, you add this line: | ||
Line 40: | Line 44: | ||
X-XFCE-Unique=true | X-XFCE-Unique=true | ||
+ | If the plugin is compatible with GTK+ 3, you need to add this line: | ||
+ | |||
+ | X-XFCE-API=2.0 | ||
===== Library ===== | ===== Library ===== | ||
Line 267: | Line 274: | ||
For creating a release you need to run '' | For creating a release you need to run '' | ||
+ | |||
+ | To help development, | ||
+ | |||
+ | * Create a symbolic link from your plugin binary to the panel' | ||
+ | * Copy ''/ | ||
+ | * Edit the latter to point at ' | ||
+ | * If you're porting a plugin to GTK+ 3, make sure to add '' | ||
+ | |||
+ | Now the ' | ||
===== Debugging ===== | ===== Debugging ===== | ||
- | One can use Valgrind to debug external plugins, using the technique described [[:howto/panel_plugin_debug|here]]. | + | One can use GDB and Valgrind to debug external plugins, using the technique described [[https:// |