Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

 
discard

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

Browse other questions tagged or ask your own question.