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

I want to compile and run my c code via key binding

    gnome-terminal -e make ~/Graphics && /home/johnr/Graphics/se

so i add that to command one and get the global key <Alt>r as the shortcut. se is the output of compiling. I have a working Makefile and if i regularly type in the terminal the command inside an actual terminal it work, but when i run it via key binding it pops up a terminal and disappears.

I am setting up my key-binding with gconfig-editor

Any suggestions?

share|improve this question

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.