Hide Specific Running Applications from Dock (Side Bar) on Ubuntu 18.04
I want to make secret recordings and I would like to hide only one application, for example, Cheese, which makes video recording. Does anyone know how to do this?
Do:
xprop | grep "CLASS"
and click on the window you want to remove from taskbar.
This will return something like
WM_CLASS(STRING) = "name", "name"
Install wmctrl
sudo apt install wmctrl
Make a program startup script or run once, depending on your preference:
wmctrl -x -r name.name -b add,skip_taskbar
Sources:
- https://askubuntu.com/a/798408/1520512
- https://forum.xfce.org/viewtopic.php?id=6755
- https://bbs.archlinux.org/viewtopic.php?id=133254