Chromebook Custom Crosh Terminal Colors When Starting (developer ...

Skip to content Search Gists Search Gists All gists Back to GitHub Sign in Sign up Sign in Sign up Dismiss alert {{ message }}

Instantly share code, notes, and snippets.

@coderofsalvation coderofsalvation/howto.md Last active September 19, 2025 17:22 Show Gist options
  • Star (3) You must be signed in to star a gist
  • Fork (0) You must be signed in to fork a gist
  • Embed Select an option
    • Embed Embed this gist in your website.
    • Share Copy sharable link for this gist.
    • Clone via HTTPS Clone using the web URL.

    No results found

    Learn more about clone URLs Clone this repository at <script src="https://gist.github.com/coderofsalvation/72c0b0b7d3288ab3748cf96629d08e81.js"></script>
  • Save coderofsalvation/72c0b0b7d3288ab3748cf96629d08e81 to your computer and use it in GitHub Desktop.
Code Revisions 5 Stars 3 Embed Select an option
  • Embed Embed this gist in your website.
  • Share Copy sharable link for this gist.
  • Clone via HTTPS Clone using the web URL.

No results found

Learn more about clone URLs Clone this repository at <script src="https://gist.github.com/coderofsalvation/72c0b0b7d3288ab3748cf96629d08e81.js"></script> Save coderofsalvation/72c0b0b7d3288ab3748cf96629d08e81 to your computer and use it in GitHub Desktop. Download ZIP chromebook custom crosh terminal colors when starting (developer mode) Raw howto.md
  • Download this extension

https://chrome.google.com/webstore/detail/css-and-javascript-inject/ckddknfdmcemedlmmebildepcmneakaa?utm_source=chrome-app-launcher-info-dialog

  • allow it to run it on your crosh tabs by enabling this: chrome://flags/#extensions-on-chrome-urls
  • launch a terminal (ctrl-alt-t)
  • click the extention's icon and insert the javascript below

voila! now your terminal will always start with these colors

Raw javascript This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters
// Disable bold
term_.prefs_.set('enable-bold', false)
// Use this for Solarized Dark
term_.prefs_.set('background-color', "#002b36");
term_.prefs_.set('foreground-color', "#839496");
// Solarized Colors
term_.prefs_.set('color-palette-overrides', [
'#073642',
'#dc322f',
'#859900',
'#b58900',
'#268bd2',
'#d33682',
'#2aa198',
'#eee8d5',
'#002b36',
'#cb4b16',
'#586e75',
'#657b83',
'#839496',
'#6c71c4',
'#93a1a1',
'#fdf6e3'
]);
// set font
var fonts=term_.prefs_.get('font-family');
term_.prefs_.set('font-family', '"Droid Sans Mono", '.concat(fonts));
term_.prefs_.set('background-image', 'url(https://4.bp.blogspot.com/-XrXVg9OJeNo/Vy6mw_pfsJI/AAAAAAAABIQ/nvbsquMq2k431d7M5ekZ0UGL06Kl_41YACLcB/s1600/ecommerce-dark-background.jpg')
term_.prefs_.set('environment', {TERM: 'xterm-256color'});
term_.prefs_.set('cursor-blink', true);
@biscuitlad Copy link

biscuitlad commented Oct 25, 2018

Doesn't have any effect for me? Javascript stays associated with crosh tab, but no change in appearance.

Uh oh!

There was an error while loading. Please reload this page.

@LewisGates2001 Copy link

LewisGates2001 commented Sep 19, 2025

smae here

Uh oh!

There was an error while loading. Please reload this page.

@coderofsalvation Copy link Author

coderofsalvation commented Sep 19, 2025 edited Loading

Uh oh!

There was an error while loading. Please reload this page.

This was 2017, so I guess various chromeos updates broke this fix..which is sad :/ I've installed galliumOs afterwards (basically ubuntu for chromebooks), and have never looked back **shrug**

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment You can’t perform that action at this time.

Tag » How To Change Crosh Color