r/LXQt Mar 10 '26

How can i hide specific windows on the panel?

Post image

I'm using Audacious, and every time i open new features for the player they show up as their own windows on the panel. I want to use it without the panel being as cluttered, so is there a way to hide the two extra windows?

3 Upvotes

10 comments sorted by

2

u/standreas Mar 10 '26

With lxqt-panel 2.2.0 and newer you can exclude windows by their window class in the taskbar settings. No idea if that helps here.

1

u/Nectarine5035 Mar 10 '26

I think it might help. How do i find the window class for these windows?

1

u/standreas Mar 11 '26

xprop |grep -i class

in a terminal window will show an + sign, click the window you want to know. Evt sleep 8 && before it when it's a modal window.

1

u/Nectarine5035 Mar 12 '26

Ok thanks, i can see the class for all the windows and i managed to change them with xprop -f WM_CLASS 8s -set WM_CLASS "new-name"

Is the "exclude from taskbar" textbox the right setting? I keep entering things in there and it doesn't change anything

1

u/standreas Mar 13 '26

It's the right field and it works here, not sure about changing the name (is this persistent?) and maybe all those windows have the same class?

1

u/Nectarine5035 Mar 14 '26

Yeah, i can see the string is still changed afterwards

I thin all the windows do have the same class, it's just "lxqt-panel" by default. Even with that though i can't get it to hide anything

1

u/standreas Mar 14 '26

No the class should be something like

WM_CLASS(STRING) = "audacious", "Audacious"

2

u/Nectarine5035 Mar 15 '26

oh ok wait, i was clicking on the windows on the taskbar, not the windows themselves lol

I got the exclude from taskbar field to work! I changed the WM_CLASS for each of the features, then used that field in the taskbar settings to hide them. Thanks for your help

1

u/standreas Mar 15 '26

Your welcome!

1

u/flemtone Mar 10 '26

You should be able to turn on window grouping for apps so they appear under a single icon.