gotbletu / shownotes

notes for videos from my youtube channel
https://www.youtube.com/user/gotbletu
GNU General Public License v3.0
919 stars 171 forks source link

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

Open pabloab opened 2 years ago

pabloab commented 2 years ago
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.

gotbletu commented 2 years ago

not sure what other package has the same features as wmutils

pabloab commented 2 years ago

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.

gotbletu commented 2 years ago

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