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?
Asked
Active
Viewed 2,572 times
1
-
My version is Ubuntu 18.04 LTS. I used Unity only as a keyword. – Denis da Mata Jun 14 '19 at 00:29
-
And that was a wrong thing to do, it made the question confusing and unclear. Ubuntu 18.04 comes with GNOME *instead of* Unity by default. – pomsky Jun 14 '19 at 00:34
-
I can change the icon, but I can not hide it. With the command below `sudo gedit file:///usr/share/applications/org.gnome.Cheese.desktop` I put after `Icon=` the address of an image I want. Source: _https://www.youtube.com/watch?v=BP3G92phH64_ – Denis da Mata Jun 14 '19 at 01:43
2 Answers
2
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:
Arnaud
- 21
- 3
0
It is not a definitive solution but it works. I used the dconf-editor program to hide running applications, as shown in the image. Those that are running but I do not want to hide, as is the case of Google Chrome that appears in the image, I fixed it on the dock.
pomsky
- 67,112
- 21
- 233
- 243
Denis da Mata
- 151
- 2
- 8

