Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howto:panel_plugin_debug [2009/09/04 08:33] 155.35.248.133howto:panel_plugin_debug [2012/07/04 10:44] – [Temporarily capturing messages to stdout and stderr] belnac
Line 21: Line 21:
   #!/bin/sh   #!/bin/sh
   valgrind --log-file=$HOME/clipman-valgrind.log \   valgrind --log-file=$HOME/clipman-valgrind.log \
-  /usr/local/libexec/xfce4/panel-plugins/clipman $@+  /usr/local/libexec/xfce4/panel-plugins/clipman "$@"
  
   * Now you can add the plugin "Clipman (valgrind)" to the panel as usual   * Now you can add the plugin "Clipman (valgrind)" to the panel as usual
Line 68: Line 68:
   * Exit the panel:   * Exit the panel:
  
-  $ xfce4-panel -x+  $ xfce4-panel -q
  
   * Start panel capturing stdout and stderr to file. Note that this will capture all messages from the panel, including all plugins, to 'file':   * Start panel capturing stdout and stderr to file. Note that this will capture all messages from the panel, including all plugins, to 'file':
Line 76: Line 76:
   * When done capturing, exit the panel and start it again:   * When done capturing, exit the panel and start it again:
  
-  $ xfce4-panel -x+  $ xfce4-panel -q
   $ xfce4-panel & disown   $ xfce4-panel & disown