kui / active_window_x Goto Github PK
View Code? Open in Web Editor NEWa rubygem package to observe an active window on X window system
License: MIT License
a rubygem package to observe an active window on X window system
License: MIT License
When I install rbindkeys, occur this error.
after some research, i found this gem compile failed
in my openSUSE 42.1. (with libX11-devel installed)
ruby ./extconf.rb
Not supported ruby version: 2.2.3
*** ./extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include=${opt-dir}/include
--with-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/zw963/.rvm/rubies/ruby-2.2.3/bin/$(RUBY_BASE_NAME)
But this command can work with Ruby 2.1 serious.
Thanks.
Hi, after several year, X window system is keep updating.
I found this gem is not worked in almost all new linux any more.
I tried was:
openSuSE 42.3, > Ubuntu 16.04, > Deepin 15.5
The still working distro, slackware 14.2. But, after update to slackware current,
it not worked.
Following app is a example.
razorsql linux 64bit version.
When open razorsql in slackware 14.2, connections menu -> connect -> select a profile
press connection button, active_window_x is crashed with following logs:
/home/public/Dropbox/linux/utils/linux_key_rebinding/app/lib/active_window_x/window.rb:94:in `x_get_window_property': BadWindow (invalid Window parameter) (ActiveWindowX::Xlib::XErrorEvent)
from /home/public/Dropbox/linux/utils/linux_key_rebinding/app/lib/active_window_x/window.rb:94:in `prop_raw'
from /home/public/Dropbox/linux/utils/linux_key_rebinding/app/lib/active_window_x/window.rb:76:in `prop'
from /home/public/Dropbox/linux/utils/linux_key_rebinding/app/lib/active_window_x/root_window.rb:11:in `active_window'
from /home/public/Dropbox/linux/utils/linux_key_rebinding/app/lib/active_window_x/event_listener.rb:95:in `listen_with_no_select'
from /home/public/Dropbox/linux/utils/linux_key_rebinding/app/lib/rbindkeys/observer.rb:99:in `handle_x_event'
from /home/public/Dropbox/linux/utils/linux_key_rebinding/app/lib/rbindkeys/observer.rb:77:in `block (2 levels) in start'
from /home/public/Dropbox/linux/utils/linux_key_rebinding/app/lib/rbindkeys/observer.rb:75:in `each'
from /home/public/Dropbox/linux/utils/linux_key_rebinding/app/lib/rbindkeys/observer.rb:75:in `block in start'
from /home/public/Dropbox/linux/utils/linux_key_rebinding/app/lib/rbindkeys/observer.rb:62:in `loop'
from /home/public/Dropbox/linux/utils/linux_key_rebinding/app/lib/rbindkeys/observer.rb:62:in `start'
from /home/public/Dropbox/linux/utils/linux_key_rebinding/app/lib/rbindkeys/cli.rb:73:in `observe'
from /home/public/Dropbox/linux/utils/linux_key_rebinding/app/lib/rbindkeys/cli.rb:36:in `call'
from /home/public/Dropbox/linux/utils/linux_key_rebinding/app/lib/rbindkeys/cli.rb:36:in `main'
from /home/public/Dropbox/linux/utils/linux_key_rebinding/bin/..//app/bin/rbindkeys.rb:8:in `<main>'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.