| |||||
home hook-snooper EsperantÒC iPerl make.pl Opera utilities |
When you want to know, which hooks are being called, you can trawl through the
sources. Or you can use this little module, developed for debugging my pager.
You can then watch the standard error channel of sawfish (with tail -f, if it's a file) to see what's happening. Downloadhook-snooper-0.1.tgz (1kB)InstallationUnpack the archive with one of:tar xzf hook-snooper-version.tgz gzip -dc hook-snooper-version.tgz | tar xf -Copy the file hook-snooper.jl to your sawfish lisp path. Activation$ sawfish-client user> (require 'sawfish.wm.util.hook-snooper) user> (snoop-hooks) ; or user> (snoop-hooks "^my-.*-hook$") ; or user> (snoop-hooks '(idle-hook after-gc-hook)) ... user> (unsnoop-hooks) | ||||
(Last modified 2002-12-07)
|