Comments (3)
Same here:
text = clipboard.get_selection()
kommando = "firefox 'http://www.google.de/search?q=%s'" % text
x = system.exec_command(kommando)
This freezes AutoKey. After closing Firefox, AutoKey will work again.
(Ubuntu 9.10, AutoKey 0.61.0)
Original comment by [email protected]
on 28 Nov 2009 at 5:05
from autokey.
The reason is because system.exec_command waits for the process to exit before
it
returns, hence blocking the thread in autokey that handles all the expansions.
Try adding an ampersand to the end of your command (&).
Original comment by cdekter
on 24 Mar 2010 at 11:22
- Changed state: Accepted
from autokey.
OK no that won't help...
Added additional optional argument for system.exec_command in v0.61.6 - set
getOutput
to False if you don't care about the output of the command. This way autokey
won't
block if the command does not return to the shell immediately (e.g. like gedit
does)
Original comment by cdekter
on 25 Mar 2010 at 1:18
- Changed state: Fixed
from autokey.
Related Issues (20)
- autokey entry causes kontact to crash HOT 3
- big trouble in ubuntu 14.04 HOT 7
- Debian/Ubuntu users would probably not need the PPA anymore, update the project's main page?
- Missing Letters HOT 5
- GTK crash after loop HOT 1
- Rebinding keyboard using only 1 file/script?
- Conflict with Ibus?
- cannot create any abbreviation
- Cannot send ™-Character (Ascii Dez 153)
- autokey-gtk 0.90.4 hung on any error in script
- Drag and Drop HOT 1
- Plus ('+') character not escaped properly in phrase
- PATCHES: Trigger popup menu item by initial
- [autokey 0.90.4, kubuntu 14.04] phrase replacement of abbreviation appears as mixed up content; afterwards disordered unusable keyboad input in java app HOT 5
- output not correct
- feature request: text expander compatibility
- Cannot set key
- Enhancement - numpad numbers in mappings for special keys
- abbrevation is not reliable at all HOT 1
- Tutorial Unclear about Title Case Capitalization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autokey.