Closed GoogleCodeExporter closed 8 years ago
I don't think there's any way around this... there is already code in there to
catch
KeyboardInterrupt and exit the main loop. It doens't actually work, so all that
could
be done would be to remove this code and then at least the normal quit method
would
still work after Ctrl+C
Original comment by cdekter
on 24 Mar 2010 at 11:19
AutoKey does quit when I do this, though I do get a traceback:
DEBUG - iomediator - <ctrl> pressed
INFO - root - Shutting down
INFO - service - Service shutting down
INFO - config-manager - Persisting configuration
INFO - config-manager - Backing up existing config file
INFO - config-manager - Finished persisting configuration - no errors
Traceback (most recent call last):
File "/usr/bin/autokey-gtk", line 11, in <module>
a.shutdown()
File "/usr/lib/python2.5/site-packages/autokey/gtkapp.py", line 191, in shutdown
gtk.main_quit()
RuntimeError: called outside of a mainloop
I don't know when or whether this changed. This is with v0.70.1 on Ubuntu
Hardy. I
know 0.61.3 quit with Ctrl+C too.
Original comment by dv8box-...@yahoo.com
on 13 Apr 2010 at 1:32
The problem here stems from trying to exit the program from outside the main
thread. This is invalid so I will remove it for now. Making it work properly is
fairly complex and not really worthwhile, so I'm closing this.
Original comment by cdekter
on 3 Oct 2010 at 1:11
Ctrl+\ can be used for that.
Original comment by 8721e04a...@gmail.com
on 28 Mar 2013 at 7:40
Original issue reported on code.google.com by
Luke.Faraone
on 26 Aug 2009 at 3:31