Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i set chrome to use system titlebars and border in preferences file?

i want chrome to use system titlebar and border as default. how can i do this with preferences file in $HOME/.config/google-chrome/Default/ directory?

like image 883
Alperen Elhan Avatar asked Jul 16 '12 13:07

Alperen Elhan


2 Answers

Open ~/.config/google-chrome/Default/Preferences. It's a JSON file. The preference can be set by editing the following preference (I've only shown the relevant entries):

{ ...
   "browser": {
      ...
      "custom_chrome_frame": true,
      ...
  • true - Hide system Title Bars and borders.
  • false - Show system title bars and borders.

This preference only works on Linux, not on Windows, macOS or Chrome OS.
On macOS, the setting is false, on Windows and Chrome OS, the setting is true ref.

like image 108
Rob W Avatar answered Nov 11 '22 13:11

Rob W


For those living in the Google Chrome Version 41+:

  1. Click the bars on the far right
  2. Click Settings
  3. Click "Use GTK Theme" and Check the "Use System Title and Borders"

Dated, but still relevant Source

like image 44
Cole Busby Avatar answered Nov 11 '22 14:11

Cole Busby