Ubuntu – terminal command to open new chromium tab

chromiumcommand linegoogle-chrome

I would like to open the page chrome://newtab (a.k.a. the "New Tab" page) in an existing chromium window using the command-line.

this opens a new window with an empty tab:

chromium-browser chrome://newtab

this opens a new tab with the entered URL:

chromium-browser www.google.com

It seems that the first terminal command doesn't recognize newtab as a URL like it does in the second one. Can the call be modified somehow to open a new tab?

Best Answer

Open a New Tab and look at the Developer Tools - Sources tab. URL for New Tab is:

chrome-search://local-ntp/local-ntp.html

This will open a new tab in existing Chromium instance:

chromium chrome-search://local-ntp/local-ntp.html