Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/khalidhoffman/x11-emitter
small daemon for monitoring x11 window changes
https://github.com/khalidhoffman/x11-emitter
x11
Last synced: 3 days ago
JSON representation
small daemon for monitoring x11 window changes
- Host: GitHub
- URL: https://github.com/khalidhoffman/x11-emitter
- Owner: khalidhoffman
- Created: 2017-01-06T05:36:29.000Z (about 8 years ago)
- Default Branch: nodejs
- Last Pushed: 2017-01-06T05:53:36.000Z (about 8 years ago)
- Last Synced: 2024-12-23T09:37:02.097Z (about 1 month ago)
- Topics: x11
- Language: C++
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# x11-activity-monitor
Outputs window focus changes in X11Can be used with node.js to log activity on x11 environments (unix, linux, ubuntu, etc.)
## How to build for V8
### on Linux
1. `apt-get install python make gcc` (may require `sudo` privileges)
2. `npm install`## How to use in node.js
```
const X11Emitter = require('./build/Release/x11-emitter');X11Emitter(function (msg) {
// do something with msg json object
});```