Giter VIP home page Giter VIP logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024
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

from autokey.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024
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 [email protected] on 13 Apr 2010 at 1:32

from autokey.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024
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

  • Changed state: Done

from autokey.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024
Ctrl+\ can be used for that.

Original comment by [email protected] on 28 Mar 2013 at 7:40

from autokey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.