parsed.org

Tips by tag: invocation

Executing Multiple Commands by cygnus on Oct 03, 2005 10:52 AM

If you want Openbox to invoke multiple commands for a keybinding, you can just add extra action elements inside the keybind element. Sometimes XMMS freezes up on my machine, so I use this in my rc.xml file:

<keybind key="C-A-k">
  <action name="Execute"><execute>killall -9 xmms</execute></action>
  <action name="Execute"><execute>xmms</execute></action>
</keybind>

This has been tested with Openbox 3.2.

configurationinvocationkeybindingskeystrokesopenboxrc.xmlwmx11xmlxmms

Use this elisp snippet (in your ~/.emacs) to instruct your Emacs python-mode to use the proper python executable on a system with multiple pythons installed:

(setq py-python-command "/usr/bin/python2.3")
dotemacselispemacsinterpreterinvocationlanguagesprogrammingpython
RSS