Score:1

How do I hide the VPN key icon from the top bar?

cn flag

I want to hide the VPN key icon from the top bar in ubuntu 20.04

enter image description here

Score:1
br flag

To hide the vpn key Icon from top bar, run the below command.

gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval string:'Main.panel.statusArea.aggregateMenu._network.indicators._vpnIndicator.hide()'

To Show it,

gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval string:'Main.panel.statusArea.aggregateMenu._network.indicators._vpnIndicator.show()'

to make it persistent, add the first command to startup applications.

Please note that in any case, if gnome-shell is restarted like Alt+F2 'r' Enter method, you need to run the first command again.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.