Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 found that when I run my application using "quickly run" and press Ctrl+c to kill it, the application does not quit. I am using Quickly 12.04.

For GTK2 applications, I used

def gtk_main_quit(self,widget,data=None):

Is that enough to do it here with GTK3 ?

share|improve this question

Here's the bugreport describing your issue:

share|improve this answer

I've found a way to make Ctrl+C work as excepted and quit the application. Insert this in your launcher script (PROJECT_ROOT/bin/yourapp)

import signal
# ... 
signal.signal(signal.SIGINT, signal.SIG_DFL)
# ... 

I've applied this method on my Python + Gtk3 project and haven't had any issue with it.

share|improve this answer

Your Answer


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