3

So to go further into detail I have a screenshot of my desktop right

what I need help with is removing the whole bar on the top including the battery the wifi the tabs the little activities bar completely.

Thanks :)

PRATAP
  • 21,989
  • 8
  • 59
  • 121

1 Answers1

5
gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval string:'Main.panel.hide();'

above command hides the bar so that if you need to call back, you can do so with below command

gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval string:'Main.panel.show();'

You can destroy the panel such that you cant call back,

gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval string:'Main.panel.destroy();'

All the above commands will revert back once you relogin. To make any of the command to be persistent, need to add the command you required in startup command list.

PRATAP
  • 21,989
  • 8
  • 59
  • 121
  • This helped a lot do you know how to delete the wifi or time or activities icons/bars? –  Aug 05 '21 at 04:37
  • you mean individually? – PRATAP Aug 05 '21 at 04:38
  • Yes so how i could remove the time individual or completely wipe the bar so its just the black bar going across. –  Aug 05 '21 at 04:39
  • Oh, thats clear. I will workout now. Be online for few minutes. – PRATAP Aug 05 '21 at 04:40
  • `gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval string:'Main.panel.remove_all_children();'` – PRATAP Aug 05 '21 at 04:41
  • thanks you so much and I know i'm asking for a lot but is there a way to do this through a GUI –  Aug 05 '21 at 04:43
  • that is not provided by GNOME, I mean the GUI way. But It can be managed through extensions. I mean need to write one for your need case. – PRATAP Aug 05 '21 at 04:44
  • Thanks a lot man :) –  Aug 05 '21 at 04:46
  • You try gnome extension "just perfection" in that you will have toggle buttons for your need case.. – PRATAP Aug 05 '21 at 05:23