Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can I tell Gedit to automatically run a command like slimrb -p foo.slim foo.html whenever I save a file ending in .slim?

share|improve this question
Dunno if you can. A less elegant solution may be to bind a key command in gedit to execute such a command (via external tools). The key command may be something close to Ctrl+S so that it's easy to do after each save. – N.N. Jul 31 '11 at 13:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.