Skip to content

Instantly share code, notes, and snippets.

@mig
Last active May 31, 2017
Embed
What would you like to do?
crosh prefs
// from http://git.chromium.org/gitweb/?p=chromiumos/platform/assets.git;a=blob;f=chromeapps/hterm/doc/faq.txt
// and http://git.chromium.org/gitweb/?p=chromiumos/platform/assets.git;a=blob;f=chromeapps/hterm/js/hterm_preference_manager.js
term_.prefs_.set('audible-bell-sound', '');
term_.prefs_.set('font-size', 17);
term_.prefs_.set('font-smoothing', 'subpixel-antialias');
var fonts=term_.prefs_.get('font-family');
term_.prefs_.set('font-family', '"Droid Sans Mono", '.concat(fonts));
term_.prefs_.set('cursor-blink', true);
term_.prefs_.set('environment', {TERM: 'xterm-256color'});
term_.prefs_.set('background-color', "rgb(35, 35, 35)");
term_.prefs_.set('foreground-color', "rgb(200, 200, 200)");
term_.prefs_.set('pass-alt-number', true);
term_.prefs_.set('pass-ctrl-number', true);
term_.prefs_.set('pass-meta-number', true);
term_.prefs_.set('alt-sends-what', 'browser-key');
sudo iptables -I INPUT -p udp --dport 27031 -j ACCEPT
sudo iptables -I INPUT -p udp --dport 27036 -j ACCEPT
sudo iptables -I INPUT -p tcp --dport 27036 -j ACCEPT
sudo iptables -I INPUT -p tcp --dport 27037 -j ACCEPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment