shownotes icon indicating copy to clipboard operation
shownotes copied to clipboard

any_term_dropdown.sh: lsw return X Error of failed request: BadWindow (invalid Window parameter)

Open pabloab opened this issue 3 years ago • 3 comments

lsw -r # or with any parameter
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  15 (X_QueryTree)
  Resource id in failed request:  0x0
  Serial number of failed request:  8
  Current serial number in output stream:  8

suckless-tools v44-1. Using nvidia driver over x11 on Ubuntu 20.04.

Searching for a workaround to avoid lsw and wmutils altogether.

pabloab avatar Jan 21 '22 05:01 pabloab

not sure what other package has the same features as wmutils

gotbletu avatar Jan 21 '22 19:01 gotbletu

Not sure what they use in this extension but on tdrop they use x11-utils (xprop, xwininfo).

Or maybe wmctrl:

The wmctrl program is a UNIX/Linux command line tool to interact with an EWMH/NetWM compatible X Window Manager.

The tool provides command line access to almost all the features defined in the EWMH specification. It can be used, for example, to obtain information about the window manager, to get a detailed list of desktops and managed windows, to switch and resize desktops, to make windows full-screen, always-above or sticky, and to activate, close, move, resize, maximize and minimize them.

pabloab avatar Jan 21 '22 20:01 pabloab

wmctrl doesnt have all the require features to do a dropdown, i believe thats why i never used that, its been a while so i cant remember but pretty sure that was the reason

tdrop is cool alternative, havent use tdrop recently, so not sure how its changed over the years https://www.youtube.com/watch?v=3yhX_y1VdWE

gotbletu avatar Feb 01 '22 05:02 gotbletu