You are not logged in.
Right now, in order to do this, I'm simply starting a program in the shell followed by the command.
xdotool search --onlyvisible --class <process-window-name> windowunmap %@To be specific, the program is lxqt-panel. Now, lxqt-panel doesn't go into the background after starting the shell, so I have to run the xdotool command on a different shell. Also, I have to run xdotool only after lxqt-panel has reached a certain state and not before, otherwise these is going to be no effect. So I put a one second delay after which I run xdotool.
Instead, I want to tell xorg (or the window manager, I use bspwm, lxqt-panel is the only lxqt program I use) to start the window unmapped so that the panel doesn't have to show up for a second before getting unmapped. If xorg has the capability to do this (I'm pretty sure it does, it must need the window/class name or something like that), you can do the same to any window.
I couldn't find a xorg forum on the internet (I didn't search hard enough though). Can you help me on how to do this?
Last edited by desperado (2020-11-28 12:03:51)
Offline
Is the window managed?
(Check "xwininfo")
If yes, your window manager might provide a rule system to handle maprequests of windows.
If not, I'd try whether lxqt-panel responds to a "--geometry" switch (and move it off desktop)
xev -root -event substrutureallows you to listen for map notifications and use the as trigger in a bash script to invoke xdotool, but that's oc. rather a kludge.
Offline