Registry / utility / ruby-wmctrl

ruby-wmctrl

JSON →
library0.0.8rbrubygemsunverified

Ruby bindings to control windows in EWMH/NetWM compatible X Window managers.

gem install ruby-wmctrl
INSTALL
IMPORT
SIG · RUBY-WMCTRL
R
ruby-wmctrl
utilityrubyv0.0.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WMCtrl
require 'wmctrl'

List all open windows.

require 'wmctrl' wm = WMCtrl.new wm.list_windows.each { |w| puts w[:title] }
Debug
Known issues
gotchaOnly works on X11 systems with EWMH/NetWM support.
fix
Ensure you are running an X11 environment (not Wayland) and have wmctrl installed.
affects: >= 0.0.0
Upgrade
Version history
0.0.8latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Resources
ruby-wmctrl — gem install ruby-wmctrl · libregistry