How to remove current opened app icon from the top bar? [duplicate]
I was wondering could I hide running application from the top bar in Ubuntu.
This is the screenshot
The below command can hide it on call;
gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval string:'Main.panel.statusArea.appMenu.hide();'
to show it back, use below command.
gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval string:'Main.panel.statusArea.appMenu.show();'