Skip to content

Program for printing and searching for Xorg atoms by name.

License

Notifications You must be signed in to change notification settings

Teklad/xorg-xatoms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XAtoms

XAtoms is a drop-in replacement for xorg-xlsatoms for printing and/or searching for Xorg server atoms. It can match based on partial or full names of Atoms.

Build Requirements

  • libxcb

Compile/Install

In order to compile and install xatoms, simply run the following

make && make install

# If you prefer a different install location besides /usr/local
make && make PREFIX=/usr install

Examples

# To match all atoms containing the keyword NET_WM in the range 300-400
xatoms --range=300-400 --name=NET_WM --partial

# For an exact match
xatoms --name=WM_NAME

# Format it nice and pretty
xatoms --format="%s\t\t%d\n"

Full Working Example

$ xatoms --name NET_WM -p --range=300-550
316	_NET_WM_CM_S0
317	_NET_WM_DESKTOP
318	_NET_WM_ICON
319	_NET_WM_ICON_NAME
320	_NET_WM_NAME
321	_NET_WM_PID
322	_NET_WM_PING
323	_NET_WM_STATE
324	_NET_WM_STATE_ABOVE
325	_NET_WM_STATE_BELOW
326	_NET_WM_STATE_FULLSCREEN
327	_NET_WM_STATE_HIDDEN
328	_NET_WM_STATE_MODAL
329	_NET_WM_STATE_MAXIMIZED_VERT
330	_NET_WM_STATE_MAXIMIZED_HORZ
331	_NET_WM_STATE_SKIP_TASKBAR
332	_NET_WM_STATE_SKIP_PAGER
333	_NET_WM_STATE_STICKY
334	_NET_WM_SYNC_REQUEST
335	_NET_WM_SYNC_REQUEST_COUNTER
336	_NET_WM_WINDOW_TYPE
337	_NET_WM_WINDOW_TYPE_COMBO
338	_NET_WM_WINDOW_TYPE_DIALOG
339	_NET_WM_WINDOW_TYPE_DND
340	_NET_WM_WINDOW_TYPE_DROPDOWN_MENU
341	_NET_WM_WINDOW_TYPE_MENU
342	_NET_WM_WINDOW_TYPE_NORMAL
343	_NET_WM_WINDOW_TYPE_POPUP_MENU
344	_NET_WM_WINDOW_TYPE_TOOLTIP
345	_NET_WM_WINDOW_TYPE_UTILITY
346	_NET_WM_USER_TIME
347	_NET_WM_USER_TIME_WINDOW
350	_NET_WM_STATE_FOCUSED
370	_NET_WM_FULL_PLACEMENT
383	_NET_WM_MOVERESIZE
387	_NET_WM_VISIBLE_NAME
388	_NET_WM_VISIBLE_ICON_NAME
389	_NET_WM_STRUT
390	_NET_WM_STRUT_PARTIAL
391	_NET_WM_ICON_GEOMETRY
392	_NET_WM_ALLOWED_ACTIONS
393	_NET_WM_WINDOW_OPACITY
394	_KDE_NET_WM_FRAME_STRUT
395	_NET_WM_WINDOW_TYPE_DESKTOP
396	_NET_WM_WINDOW_TYPE_DOCK
397	_NET_WM_WINDOW_TYPE_TOOLBAR
398	_NET_WM_WINDOW_TYPE_SPLASH
399	_NET_WM_ACTION_MOVE
400	_NET_WM_ACTION_RESIZE
401	_NET_WM_ACTION_MINIMIZE
402	_NET_WM_ACTION_SHADE
403	_NET_WM_ACTION_MAXIMIZE_HORZ
404	_NET_WM_ACTION_MAXIMIZE_VERT
405	_NET_WM_ACTION_FULLSCREEN
406	_NET_WM_ACTION_CHANGE_DESKTOP
407	_NET_WM_ACTION_CLOSE
408	_NET_WM_ACTION_ABOVE
409	_NET_WM_ACTION_BELOW
410	_NET_WM_STATE_SHADED
411	_NET_WM_STATE_DEMANDS_ATTENTION
413	_KDE_NET_WM_WINDOW_TYPE_OVERRIDE
474	_NET_WM_OPAQUE_REGION
479	_NET_WM_FRAME_DRAWN
480	_NET_WM_FRAME_TIMINGS
493	_NET_WM_CONTEXT_HELP
511	_NET_WM_STATE_STAYS_ON_TOP
512	_NET_WM_WINDOW_TYPE_NOTIFICATION
543	_NET_WM_BYPASS_COMPOSITOR

About

Program for printing and searching for Xorg atoms by name.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published