Comments (10)
from screenkey.
That's what I was afraid of. When my script runner is in keysym mode, it sends key presses to the current window. When I press a key to load the next line, it also gets sent to the same window. Maybe I can have the script runner send keys to a dummy window and then filter as you suggest. Does screenkey have an option to only display keys being sent to a specific window?
from screenkey.
from screenkey.
All right, I'll look into that. Thanks for the help.
from screenkey.
I tried looking into this, but ev.xkey.window
returns 0 regardless of the window used.
from screenkey.
Indeed, it looks like it's always 0 also on my system.
I'm unsure if this is expected with XRecord, or if I made some mistake while decoding.
from screenkey.
If you would like to look into getting the window ID, i'd gladly implement rest of the feature requested above.
from screenkey.
After a cursory look, I don't see any obvious mistake. I fear XRecord might tap into the event before the target window id is calculated. No obvious documentation about this. I'll have to look at where XRecord takes the event.
from screenkey.
Implemented a POC using python-xlib to get the correct window id.
Foxboron@98618e2
from screenkey.
from screenkey.
Related Issues (20)
- Missing support for wayland HOT 5
- several lines of output HOT 5
- turn off screenkey HOT 6
- Feature request: Settings in config file HOT 5
- Font size gets smaller during usage HOT 9
- Feature request : ability to drag the widget HOT 5
- Fix SIGINT handling via GLib.unix_signal_add
- Opacity slider has no functionality HOT 7
- Track window positions when "select window" has been used
- Feature request : mouse actions around cursor HOT 1
- Problems while installing (PyGTK) HOT 3
- Is there a method to install dependencies automatically on CentOs / Redhat?
- Move to GitLab HOT 1
- How to display custom text? HOT 1
- Only show the last action
- Shift key not displayed
- Tray icon missing in Ubuntu 18.04 HOT 5
- shows incorect characters when using the numeric keypad.
- Add custom "modifiers" labels
- Add GIF animation(s) to readme
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 screenkey.