10

When I install visual studio code on ubuntu18.10 it's menu bar is not visible. what may be the problem and how can I make it visible?

3 Answers3

11

in settings.json add this:

"window.titleBarStyle": "custom",

cheers

abu_bua
  • 10,783
  • You can also do it in the UI with: Ctrl-, and select settings, search for titlebar and you can select custom there as well. – RufusVS Mar 10 '21 at 21:47
  • where is settings.json – WestHamster Jun 06 '21 at 19:49
  • @WestHamster File-> Preferences -> Settings then search for "titlebar" and set it to custom. If you want to edit the file directly on linux the file is located at: Linux $HOME/.config/Code/User/settings.json – sbeskur Oct 14 '21 at 14:41
2

To restore the menu bar press F1 in VSCode and trigger the View: Toggle Menu Bar command in the command palette. (Simple start typing toggle menu .. after pressing F1 then press Enter when you will see View: Toggle Menu Bar.)

VS Code

Then you will see Windows 10 top menu like:

File top menu VSCode like Win 10

slava
  • 3,887
2

My menus were still there, but can not be seen since the text and background colors were the same. alt + f for instance shows the File menu fine.

To make these menus visible again I had to install gnome tweaks and under Apprearance > Themes > Applications choose Yaru-dark.