Getting to love the Momentum Chrome extension

Some productivity podcasts and articles mentioned the Momentum Chrome extension

After using it for more than a week I’m satisfied with it.

Currently I’m using it without the links, bookmarks bar, search, focus and todo widgets.

Momentum extension widget settings

So the end result is kinda clean with a beautiful picture and a quote.

Momentum new tab
Momentum new tab

Open new Chrome window from command line via SSH

I switch between computers and sometimes when I’m switching I need to push an URL/prepare a window so found a solution with the following command:

mike@remotehost $ export DISPLAY=:0; nohup chromium --new-window

UPDATE 2017-06-18

DISPLAY=:0 nohup chromium URL_TO_OPEN_ON_REMOTE_BROWSER > /dev/null &

view raw
hosted with ❤ by GitHub

Browser memory usage

I was curious why did Chromium “eat” my system memory and so I checked chrome://chrome-urls/ to see what’s there for memory usage debugging.

Saw chrome://memory-internals/ and checked it out. There’s the proof for browser tab and extension usage.

Chrome memory usage data from chrome://memory-internals

Tried closing and reopening some tabs, but before that I typed free -h to check memory usage.

$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        1.9G        1.3G         53M        682M        1.8G
Swap:          2.8G        276M        2.5G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        1.9G        1.3G         53M        684M        1.9G
Swap:          2.8G        275M        2.5G
$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        2.0G        1.2G         58M        694M        1.7G
Swap:          2.8G        273M        2.5

The numbers were not lying. So if you working with a lot of tabs and extensions more RAM will benefit your system.

Similiar goodies are available also in Firefox. At you can see a list of internal about:* sites of Firefox.

For memory usage visit about:memory and click Measure

Firefox memory usage

Custom Chrome New Tab page/extension

I wanted a custom background image for New Tab without extensions from the Chrome Web Store. Before making one I tried Momentum and Start a better new tab, but required permissions, had external network dependency, etc.

So I decided to make one and found the official tutorial how to build chrome extension.

For me learning from code examples is more suitable so I checked the Samples and found a New Tab example that I modified it to meet my desired output.

To be able to use it you need to enable Developer mode at chrome://extensions/ in the top right corner.

Chrome extensions developer mode
Chrome extensions developer mode

And the end result for me looks like this.
Custom Chrome New Tab