Chrome: Difference between revisions

From 太極
Jump to navigation Jump to search
No edit summary
 
(314 intermediate revisions by the same user not shown)
Line 1: Line 1:
Chrome Extension
= Install on Ubuntu =
= Launch an extension by keyboard shortcut =
* https://askubuntu.com/questions/510056/how-to-install-google-chrome
* https://www.ubuntuupdates.org/ppa/google_chrome?dist=stable
 
<syntaxhighlight lang='bash'>
# Add Key:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
 
# Set repository:
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
 
# Install package:
sudo apt-get update
sudo apt-get install google-chrome-stable
</syntaxhighlight>
It works on Ubuntu 18.04.
 
== Update ==
[https://itsfoss.com/update-google-chrome-ubuntu/ How to Update Google Chrome on Ubuntu Linux]
 
= Headless Chrome =
* [https://linux.cn/article-8850-1.html 中文] and [https://developers.google.com/web/updates/2017/04/headless-chrome English]
 
= Launch =
== Launch an extension by keyboard shortcut ==
See [http://lifehacker.com/add-custom-keyboard-shortcuts-to-chrome-extensions-for-1595322121 this post]. It works. Now I can use Ctrl+e to launch the Evernote clip extension.
See [http://lifehacker.com/add-custom-keyboard-shortcuts-to-chrome-extensions-for-1595322121 this post]. It works. Now I can use Ctrl+e to launch the Evernote clip extension.


Just head to '''chrome://extensions/''' in your browser's address bar to open up the extensions page. Scroll down to the bottom and you'll see a Keyboard Shortcuts option. Click it, and you can set up custom shortcuts for some of you extensions.
Just head to '''chrome://extensions/''' in your browser's address bar to open up the extensions page. Scroll down to the bottom and you'll see a Keyboard Shortcuts option. Click it, and you can set up custom shortcuts for some of you extensions.
== List of all purchased ==
https://chrome.google.com/webstore/user/purchases
== Extension: manifest V3 ==
[https://www.makeuseof.com/google-is-killing-off-your-favorite-browser-extensions-heres-what-you-can-do/ Google Is Killing Off Your Favorite Browser Extensions: Here's What You Can Do] 2024/8/8
== Apps vs Extensions ==
https://stackoverflow.com/questions/5341206/difference-between-chrome-apps-and-extensions
Chrome apps are basically just glorified bookmarks. [https://www.makeuseof.com/tag/chrome-apps-shutdown-delayed/ You Can Use Chrome Apps for a Little While Longer]
== Bookmarklet ==
[https://www.reviewgeek.com/53825/quick-tip-bookmarklets-offer-bite-size-functionality-in-any-browser/ Quick Tip: Bookmarklets Offer Bite-Size Functionality in Any Browser]
== Window size ==
On my Ubuntu 20.04, Chrome cann't start with last session's window size?
* how to make chrome to start with last window size
* Why doesn't chrome start with the last user window size?
* Chrome doesn't save the size of its window between sessions


= Most popular extensions and posts =
= Most popular extensions and posts =
== 2014 ==
== 2014 ==
http://lifehacker.com/most-popular-chrome-extensions-and-posts-of-2014-1674273297
http://lifehacker.com/most-popular-chrome-extensions-and-posts-of-2014-1674273297
== 2023 ==
[https://www.lifewire.com/best-plugins-chrome-4177412 The 16 Best Plugins (Extensions) for Chrome in 2023]
* Blocking Ads: uBlock Origin
* Cookie Management: Click&Clean
* Stop Online Tracking: Privacy Badger
* Privacy Obsessives: Edit This Cookie
* Saving Tabs: OneTab
* Saving Money: The Camelizer
* Google Search: View Image
* for YouTube: Enhancer for YouTube
* for Gmail: Checker Plus for Gmail
* for Userstyles: Stylus
* for Reading Mode: Postlight Reader
* for Saving Memory: The Great Suspender
* for Multitasking: Recent Tabs
* for Keyboard Shortcut Junkies: Vimium
* for Writers: Find & Replace
* Earth View From Google Earth
= Useful =
== Ubuntu problems ==
* After I reboot the computer, it show 'Restore Pages? Chrome did not shut down correctly'. The [https://askubuntu.com/a/720855 solution] is to go to menu Settings > Shown advanced settings > System. Uncheck Continue running background apps when Chrome is closed.
* [https://support.google.com/chrome/forum/AAAAP1KN0B0QbkD0SzpSBQ/ Account was logged out when I close the browser]. See [https://www.howtogeek.com/137681/how-to-automatically-clear-private-data-when-you-close-your-browser/ How to Automatically Clear Private Data When You Close Your Browser]. Go to Settings > Privacy > Site Settings > Cookies. Uncheck the option 'Keep local data only until you quit browser'.
== Create a desktop shortcut to a website/How to Turn Any Website into an App ==
* [https://www.maketecheasier.com/turn-website-to-app-linux/ How to Turn Any Website into an App]. In the end, click on 'Show Applications' and search the new app (shortcut) you just created. The app icon was kept too.
* Go to the website
* Click three dots -> More tools -> Create shortcut.... Enter your name for this shortcut. This will create a new file on Ubuntu desktop. But the filename looks "chrome-XXXXXXXXXX.desktop".
* Rename the filename "chrome-XXXXXXXXXX.desktop" to "YOURNAME.desktop"
* Right click "YOURNAME.desktop" and select "Allow launching"
You will see the website favicon becomes the shortcut's icon on Ubuntu's desktop and we can launch the website by clicking this shortcut.
It's interesting to see the URL does not show in the .desktop file. Instead it show an '''app-id'''. We can also manage the list of '''apps''' by going to '''chrome://apps/'''.
== Uninstall zoom app ==
[https://askubuntu.com/a/1285405 Uninstall extra Zoom Meeting application?]
== Close Find bar ==
Use the Escape key.
== Chrome’s Auto-Generated Passwords ==
http://www.makeuseof.com/tag/improve-web-security-using-chromes-auto-generated-passwords/
== Autofill Passwords ==
[https://lifehacker.com/how-to-delete-your-autofill-passwords-in-chrome-and-mo-1848897217 How to Delete Your Autofill Passwords in Chrome (and Move to Something More Secure)]
== Password manager ==
[https://www.makeuseof.com/tag/view-chromes-saved-passwords-anywhere-stop/ How to View Google Chrome's Saved Passwords (And Prevent Others From Peeking)]
== Autofill payment/credit cards details ==
[https://www.makeuseof.com/stop-chrome-remembering-payment-details/ How to Stop Chrome Remembering Your Payment Details]
== Extension safety ==
[https://lifehacker.com/how-to-know-if-a-google-chrome-extension-is-safe-to-use-1848824700 How to Know If a Google Chrome Extension Is Safe to Use]
== Speed up ==
[https://www.makeuseof.com/easy-way-speed-up-google-chrome/ It's Easy to Speed Up Chrome With These 6 Methods]
== 15 Chrome Extensions by Google You Didn’t Know You Needed ==
http://www.makeuseof.com/tag/chrome-extensions-by-google/
Google mail checker, Google similar pages, Earth view from google earth, Google art project, Mindful break.
== Enable and Disable Chrome Extensions in Incognito Mode ==
Go to chrome://extensions. Click "Details" in an extension and check the option "Allow in incognito". See [https://www.maketecheasier.com/enable-chrome-extensions-incognito-mode/ a screenshot].
== [https://chrome.google.com/webstore/detail/distill-web-monitor/inlikjemeeknofckkjolnjbpehgadgge?hl=en&xcust=2-2-631993-1-0-0&sref=https://www.pcworld.com/article/631993/631993.html distill.io]: track website change ==
[https://www.pcworld.com/article/631993/631993.html 5 Chrome browser extensions I can’t live without] Apr 2022
== ChatGPT ==
[https://lifehacker.com/upgrade-your-browser-with-a-chatgpt-sidebar-1850385569 Upgrade Your Browser With a ChatGPT Sidebar]
== HTML5 Outliner ==
https://chrome.google.com/webstore/detail/html5-outliner/afoibpobokebhgfnknfndkgemglggomo/related
== Break Timer ==
Another choice is [[Linux#Take_a_break|Stretchly]] (open source, cross-platform).
== Stopwatch/Timer ==
https://stopwatchtimers.com/timer/?t=00:10:00
== Pop-up ==
[https://www.howtogeek.com/411439/how-to-allow-or-block-popups-in-chrome/ How to Allow or Block Pop-ups in Chrome]
== Chrome 66: auto mute ==
* [https://www.makeuseof.com/tag/google-chrome-mutes-autoplaying-videos/ Chrome 66 Now Mutes Autoplaying Videos By Default]
* [https://lifehacker.com/how-to-stop-google-chromes-new-update-from-autoplaying-1825741782 How to Stop Google Chrome's New Update From Autoplaying Videos]
== Instant video caption ==
[https://www.techbang.com/posts/86052-how-do-i-enable-instant-captioning-for-google-chrome 如何啟用Google Chrome的即時字幕功能?]
== Learn English ==
[https://chrome.google.com/webstore/detail/ejoy-english-learn-with-m/amfojhdiedpdnlijjbhjnhokbnohfdfb eJOY English - Learn with Movies]
== Look up words/dictionary ==
[https://www.makeuseof.com/tag/7-chrome-extensions-lookup-words-meanings-browse/ 7 Chrome Extensions That Help You Look Up Words While Browsing]
== Disable Autoplay Videos ==
* https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
* [https://github.com/Eloston/disable-html5-autoplay/ Disable HTML5 Autoplay] (no more maintained).
** It will disable pronunciation from bing.com, merriam-webster.com and dictionary.cambridge.org.
** It does not have this problem on for example dictionary.com.
* [http://www.makeuseof.com/tag/mute-sites-autoplaying-videos/ How to Mute Sites With Autoplaying Videos]
* [https://lifehacker.com/now-google-chrome-can-automatically-silence-annoying-au-1821369846 Now Google Chrome Can Automatically Silence Annoying Autoplay Videos] in Chrome 64
* Open '''chrome://flags/#autoplay-policy''' and change the Autoplay policy flag to “Document user activation is required” instead of "Default". See [https://www.ghacks.net/2018/02/06/how-to-control-audio-and-video-autoplay-in-google-chrome/ How to control audio and video autoplay in Google Chrome] Feb 2018.
** Note that this won't block autoplaying media completely, as media starts to play as soon as you interact with the page. It helps with opening pages in the background that play audio or video content automatically though.
** My testing shows it can disable sound (by default) but it still plays videos.
Tested on [https://www.cnet.com/news/these-are-the-best-columbus-day-deals/ this site] from cnet.com
* Chrome 69.0: auto play video with sound
* Chrome incognito: auto play video without sound
* Firefox 52.9 & 62.0: auto play video with sound
* Firefox private window 52.9:  Won't auto play video
* FIrefox Focus (iOS): Won't auto play video
== Chrome URL Autocomplete suggestions not working ==
[https://www.maketecheasier.com/turn-off-chrome-url-autocomplete/ How to Turn Off Chrome URL Autocomplete]
The function does not work on my Chrome OS 74.03729.159.
== Delete Chrome Remembered URLs from Address Bar ==
[https://osxdaily.com/2021/10/22/how-delete-chrome-url-links-address-bar/ How to Delete Chrome Remembered URLs from Address Bar]
== strip off URL tracking codes ==
* [https://chrome.google.com/webstore/detail/clearurls/lckanjgmijmafbedllaakclkaicjfmnk ClearURLs], [https://addons.mozilla.org/en-US/firefox/addon/clearurls/ Firefox] (Recommended & it works)
** As some people comments it can break Google Oauth. So I only test it in FF where I don't use Google account.
* [https://www.ghacks.net/2019/07/30/clearurls-extension-firefox-chrome/ ClearURLs is an extension for Firefox and Chrome that deletes tracking information from URLs]
* [https://www.makeuseof.com/how-to-strip-urls-tracking-info-firefox/ How to Strip URLs of Tracking Info Using Firefox], [https://www.engadget.com/firefox-can-now-automatically-remove-tracking-from-ur-ls-115228742.html Firefox can now automatically remove tracking from URLs]. Note it does not work in Firefox 104 when I try to click a link to 'The Kitchen' in Feedly or from Pocket.
== Share videos ==
[https://www.useloom.com/ Loom]
== Picture in picture (PIP) ==
* [https://www.howtogeek.com/438468/how-to-use-chromes-picture-in-picture-mode-to-play-local-videos/ How to Use Chrome’s Picture-in-Picture Mode to Play Local Videos] 2019-09
* [https://www.addictivetips.com/web/chrome-picture-in-picture-mode/ How to use Chrome picture in picture mode]
== Minimizing Tabs ==
Right click the tab and select "Pin Tab" option. This will anchor the tabs on the left of your toolbar. The "X" disappears after pinning them.
== bypass paywalls ==
https://github.com/iamadamdev/bypass-paywalls-chrome
== Reduce memory/manage tabs ==
* [https://osxdaily.com/2023/01/09/how-to-enable-memory-saver-in-google-chrome-to-reduce-ram-cpu-usage/ How to Enable Memory Saver in Google Chrome to Reduce RAM/CPU Usage]
* [https://chrome.google.com/webstore/detail/onetab/chphlpgkkbolifaimnlloiipkdnihall OneTab]
== block ad trackers ==
* [https://www.pcworld.com/article/2429437/four-ad-blockers-that-still-work-with-chrome.html 4 ad blockers that still work with Chrome] 2024/8/19. Adguard is useful for Youtube.
* [https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en uBlock Origin]
* [https://www.reviewgeek.com/51019/here-are-our-15-essential-chrome-extensions-in-2020/ 15 Chrome Extensions Everyone Should Install] and [https://chrome.google.com/webstore/detail/adguard-adblocker/bgnkhhnnamicmpeenaelnjfhikgbkllg?hl=en AdGuard AdBlocker]
* [https://www.theregister.co.uk/2019/09/19/google_ad_blockers/ Google Chrome kills uBlock, Adblock ad filters – grab the pitchfo- no wait, it's OK: They were evil fraud clones]
* AdBlock (by https://getadblock.com/) + uBlock Plus Adblocker. Installing both. Works on slickdeals. It seems uBlock Plus Adblocker is more popular than Ghostery.
* https://www.ghostery.com/. Tested on [http://www.fox5dc.com/news/local-news/skyfox-drone-makes-fox-5-aerial-debut this example] where [https://adblockplus.org/ Adblock Plus] or [https://getadblock.com/ AdBlock] does not work. Ghostery shows 25 were blocked and [https://itunes.apple.com/app/id1055677337 Firefox Focus] shows 16 were blocked (result is the same). Be sure to uncheck sharing your information.
[[File:Ghostery.png|200px]]
* [https://www.eff.org/privacybadger Privacy Badger]
* [https://lifehacker.com/the-best-browser-extensions-that-protect-your-privacy-479408034 The Best Browser Extensions that Protect Your Privacy]
== How To Turn Off Your Adblocker for a Website ==
https://www.foodnetwork.com/site/how-to-turn-off-adblock
== Dark theme ==
* [https://www.howtogeek.com/fyi/add-a-dark-mode-to-every-website-with-this-browser-extension/ dark reader] Chrome/Firefox, source on github.
* [https://chrome.google.com/webstore/detail/care-your-eyes/fidmpnedniahpnkeomejhnepmbdamlhl Care your eyes]. After it is installed, every website will have a black theme. Since I only want to enable the black them on specific websites, I click on the icon and change it to 'Whitelist mode'. For a website I like to have a dark them, I click the icon again and check 'Enable at this site'.
== Custom zoom level ==
https://www.makeuseof.com/tag/manage-custom-zoom-chrome/
chrome://settings/content/zoomLevels
== System monitor ==
* https://www.howtogeek.com/308212/how-to-monitor-your-chromebooks-system-resources/
* [https://www.makeuseof.com/tag/check-specs-chromebook/ How to Check Chromebook Specs and System Info: 7 Methods]
== User-Agent Switcher ==
* [https://osxdaily.com/2023/05/11/how-to-change-the-user-agent-in-google-chrome/ How to Change the User Agent in Google Chrome] 5/11/2023
* https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg
== Silent Site Sound Blocker ==
Automatically mutes tabs that aren't your focus tab.
== WikiWand (popular) ==
== Magic Actions for youtube (extreme popular) ==
== Adblock for Youtube ==
[https://chrome.google.com/webstore/detail/adblock-for-youtube/cmedhionkhpnakcndndgjdbohmhepckk/related Adblock for Youtube]
== Video Chapters for YouTube ==
[https://chrome.google.com/webstore/detail/video-chapters-for-youtub/pfneegfmgamaabfmcokmjkllioiconnp Video Chapters for YouTube]
== PageZipper, Page One and Re-Pagination (Firefox) ==
Painlessly merge a series of web pages into one
== Behind the Overlay ==
Close any overlay on any website with a single click !
== Open Excel files without downloading them ==
* [https://www.repairmsexcel.com/blog/open-excel-files-without-excel 10 Alternative Options To Open Excel Files Without Excel]
* [https://chrome.google.com/webstore/detail/office-editing-for-docs-s/gbkeegbaiigmenfmjfclcdgdpimamgkj/related Office Editing for Docs, Sheets & Slides] by google.com. It works when I clicked xlsx files from some journal websites.
== Online notepad ==
* https://www.editpad.org/
* https://anotepad.com/
* https://shrib.com/
== Imagus ==
Enlarge thumbnails, and show images/videos from links with a mouse hover.
== Launch without address bar or bookmark bar (not kiosk) ==
<pre>
$ google-chrome --app=https://www.cbsnews.com/live/
</pre>
Note: window frame is still there.
Another option is luakit. But it causes buffering and the caption 'cc' button is disabled in this case.
== Video downloader ==
* Chrome gave a message "Flash Video Downloader" extension contains malware. Now it's not on the Chrome store. 4/21/2022
* [https://lifehacker.com/chrome-firefox-extension-of-the-week-flash-video-downl-1825010162 Flash video downloader]
* [https://www.makeuseof.com/tag/capture-streaming-video-website-5-tools/ The 5 Best Tools to Download Streaming Video From Any Website]
* [https://chrome.google.com/webstore/detail/video-downloadhelper/lmjnegcaeklhafolokijcfjliaokphfk Video DownloadHelper] Open-source
== Download all images ==
[https://chrome.google.com/webstore/detail/download-all-images/nnffbdeachhbpfapjklmpnmjcgamcdmm/related Download All Images] by MeryDev. I can filter by jpg file type. Tested on [https://www.rd.com/list/breathtaking-rock-formations-america/ this site].
[https://www.wikihow.com/Download-All-Images-on-a-Web-Page-at-Once How to Download All Images on a Web Page at Once]
== Control audio devices ==
[https://www.howtogeek.com/404197/how-to-play-chrome-audio-through-seperate-devices/ How to Play Chrome Audio Through Separate Devices]
== Live Caption/transcribe ==
* https://podnews.net/article/live-podcast-captions. '''This works only on audio coming from Chrome'''. For example, we can listen to online radio [http://radio.garden/listen/wamu-fm-88-5/ltYuPbtW radio.garden] and get the captions.
* If you close the caption box, you’ll need to refresh the page to bring it back. [https://www.howtogeek.com/719328/how-to-get-live-captions-for-any-video-or-audio-in-chrome/ How to Get Live Captions For Any Video or Audio in Chrome]
* [https://www.howtogeek.com/google-chromebook-plus-live-translate/ Google Is Bringing Live Translate to Chromebook Plus Laptops]
== JSON ==
[https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa Json Formatter]
For example, the weather API from [https://darksky.net/dev/docs#forecast-request darksky.net] returns in a json format.
=== How to Parse JSON Files ===
[https://www.howtogeek.com/529219/how-to-parse-json-files-on-the-linux-command-line-with-jq/ How to Parse JSON Files on the Linux Command Line with jq]
=== Visualize a json file ===
https://jsoncrack.com/
== Cache ==
* [https://classroom.synonym.com/chrome-keep-its-cache-ubuntu-20729.html Where Does Chrome Keep Its Cache in Ubuntu?] '''/home/$USER/.cache/google-chrome/Default/'''. NB: copying the folder to another machine won't automatically signing in your Google account on the new machine.
* [https://webtrickz.com/export-chrome-datasettings-from-windows-to-ubuntu/ Export Chrome Data/Profile/Settings (History, Bookmarks, Passwords, Cookies, Cache) from Windows to Ubuntu] '''C:\Users\$USER\AppData\Local\Google\Chrome\User Data\Default'''
* [https://forensicswiki.xyz/page/Google_Chrome Mac & chromium-based browsers] '''/Users/$USER/Library/Caches/Google/Chrome/$PROFILE/Cache'''
* [https://www.howtogeek.com/137681/how-to-automatically-clear-private-data-when-you-close-your-browser/ How to Automatically Clear Private Data When You Close Your Browser]
== Force refresh ==
[https://osxdaily.com/2018/11/10/force-refresh-webpage-without-cache-chrome/ How to Force Reload Webpage Without Cache in Google Chrome for Mac]
* Control + Shift + F5 (Windows)
* Command + Shift + R (Mac)
== Security/privacy settings ==
* [https://lifehacker.com/9-default-chrome-settings-you-should-change-if-you-care-1848561036 9 Default Chrome Settings You Should Change If You Care About Your Privacy]. Note that this will sign you off websites you have signed in currently.
* Chrome 100 chrome://whats-new/
** Safety check: Settings -> '''Privacy and Security''' -> '''Under Safety check''' click '''Check now'''.
** Enhanced Safe Browsing: Settings -> '''Privacy and Security''' -> '''Security > Enhanced protection'''.
** your location and device: In the address bar, click '''Lock'''. Change individual permissions or click '''Reset permissions'''. Go to '''Site settings''' for even more control over site permissions.
* [https://www.makeuseof.com/ways-to-secure-online-identity/ The 10 Best Ways to Secure Your Online Identity]. Enable Only Vital Browser Cookies.
* Enhanced ad privacy in Chrome
** [https://blog.incogni.com/enhanced-ad-privacy-chrome/ Enhanced ad privacy in Chrome – what is it, and should you turn it on?]
** [https://techcrunch.com/2023/09/08/google-flips-the-switch-on-interest-based-ads-with-privacy-sandbox-rollout/ Google flips the switch on interest-based ads with ‘Privacy Sandbox’ rollout]
** [https://www.androidauthority.com/chrome-ad-topics-rollout-3362364/ Chrome's invasive new tracking makes this the perfect time for a new browser]
== Tab group ==
[https://www.techbang.com/posts/82045-how-do-i-use-chrome-85-p-paged-folding 如何使用 Chrome 85 分頁收合摺疊功能?]
== Track price ==
[https://www.howtogeek.com/732326/how-to-track-prices-in-google-chrome-on-android/ How to Track Prices in Google Chrome on Android]
= Developer Tools =
* https://developers.google.com/web/tools/chrome-devtools/
* [https://www.makeuseof.com/how-to-use-chrome-devtools/ How to Use Chrome DevTools to Troubleshoot Website Issues]
* [https://www.howtogeek.com/442634/how-to-edit-any-web-page-right-in-chrome-or-any-browser/ How to Edit Any Web Page in Chrome (or Any Browser)]
** Click the “Console” tab at the top of the Developer Tools panel. Type the following into the console and press Enter: '''document.designMode = 'on' '''
* [https://stackoverflow.com/a/46843147 How do you save an entire folder from Google Chrome's Developer Tools' Sources tab?]
** [https://chrome.google.com/webstore/detail/save-all-resources/abpdnfjocnmdomablahdcfnoggeeiedb/related?hl=en-US Save All Resources] Chrome extension
= Google Drive =
== Google sheets ==
[https://www.howtogeek.com/406495/the-best-google-sheets-add-ons/ The Best Google Sheets Add-Ons]
== Search Google Drive Directly from Chrome’s Address Bar ==
https://www.howtogeek.com/howto/32459/how-to-search-google-docs-from-the-chrome-location-bar/
== How to Use Google Docs Offline ==
https://www.howtogeek.com/404811/how-to-use-google-docs-offline/
= Privacy badger =
https://chrome.google.com/webstore/detail/privacy-badger/pkehgijcmpdhfbdbbnkijodmdjhbjlgp
= Hardware Acceleration In Chromium and Chrome =
* [https://www.linuxuprising.com/2018/08/how-to-enable-hardware-accelerated.html How To Enable Hardware Acceleration In Chromium On Ubuntu Or Linux Mint (VA-API Patched PPA Builds)]
* [https://www.howtogeek.com/412738/how-to-turn-hardware-acceleration-on-and-off-in-chrome/ How to Turn Hardware Acceleration On and Off in Chrome]
* [https://www.linuxuprising.com/2021/01/how-to-enable-hardware-accelerated.html How To Enable Hardware Accelerated Video Decode In Google Chrome, Brave, Vivaldi And Opera Browsers On Debian, Ubuntu Or Linux Mint]
* Mac
** [https://support.apple.com/en-us/HT202053 Find out which graphics processor is in use on your MacBook Pro]
** [https://support.apple.com/guide/activity-monitor/view-gpu-activity-actm9329b315/mac View GPU activity in Activity Monitor on Mac], [https://www.alphr.com/view-gpu-usage-mac/ How To View GPU Usage In MacOS Via Activity Monitor]
= Appss Built From Chromium =
* [https://www.howtogeek.com/436841/that-native-app-is-probably-just-an-old-web-browser/ That Native App Is Probably Just an Old Web Browser]
* [https://github.com/rstudio/rstudio/blob/master/dependencies/common/install-cef RStudio IDE]
= DNS =
== Change DNS setting ==
https://www.howtogeek.com/204672/how-to-change-the-dns-server-on-a-chromebook/
There is no way to change the DNS setting for a particular browser in an OS (eg Windows/Linux/macOS).
== DOH ==
[https://www.zdnet.com/article/how-to-enable-dns-over-https-doh-in-google-chrome/ How to enable DNS-over-HTTPS (DoH) in Google Chrome]
= How to View SSL Certificate Details in Chrome 56 =
Open Developer Tools -> Select the 'Security' Tab ->Select View Certificate.
= [http://www.colorzilla.com/chrome/features.html ColorZilla] =
* Eyedropper
* Color picker
* Gradient generator
Online tool: [https://www.imgcolorpicker.com/ Image color picker].
= Common color names =
* http://www.w3schools.com/colors/colors_names.asp
* http://www.colourlovers.com/blog/2007/07/24/32-common-color-names-for-easy-reference
= Change the default apps =
https://www.howtogeek.com/310576/how-to-change-the-default-apps-on-your-chromebook/
= Night shift =
https://chromeunboxed.com/chromebook-how-to-enabling-night-mode/
# chrome://flags
# search “night light”
# enable
Now you should see the Night Light icon in the system tray in the bottom right corner of your screen between the help and lock icons. Click on the icon to enable it.
Customize it.
# chrome://settings
# search "night"
# change
= Reading/reader mode =
* [https://www.howtogeek.com/423643/how-to-use-google-chromes-hidden-reader-mode/ How to Use Google Chrome’s Hidden Reader Mode] 2019/6/5
* [https://beebom.com/how-to-enable-reader-mode-chrome-android/ Android version works too] tested Oct 2019
* [https://chrome.google.com/webstore/detail/just-read/dgmanlpmmkibanfdgjocnabmcaclkmod?hl=en Just Read]
* [https://chrome.google.com/webstore/detail/mercury-reader/oknpjjbmpnndlpmnhmekjpocelpnlfdi?hl=en Mercury Reader]


= Change color for better reading =
= Change color for better reading =
== [https://chrome.google.com/webstore/detail/night-reading-mode/mhbfhbljmehldmmoeoeelnlafloiifmf Night reading mode] ==
== [https://chrome.google.com/webstore/detail/night-reading-mode/mhbfhbljmehldmmoeoeelnlafloiifmf Night reading mode] ==
The good thing about it is we can choose the default to be ON or OFF. Some other extensions like 'Care your eyes' does not have this option.
The good thing about it is we can choose the default to be ON or OFF. Some other extensions like 'Care your eyes' does not have this option.
The 'auto' mode changes depending on the time of a day (by default the night mode is enabled when it is 7pm-7am). There is no way to choose the night mode by websites.


== [https://chrome.google.com/webstore/detail/change-colors/jbmkekhehjedonbhoikhhkmlapalklgn Change Colors] ==
== [https://chrome.google.com/webstore/detail/change-colors/jbmkekhehjedonbhoikhhkmlapalklgn Change Colors] ==
Similar to above
Similar to above but we can select to apply based on a webpage or a domain. Seems to be more useful!


== [https://chrome.google.com/webstore/detail/deluminate/iebboopaeangfpceklajfohhbpkkfiaa?hl=en-US Deluminate] ==
== [https://chrome.google.com/webstore/detail/deluminate/iebboopaeangfpceklajfohhbpkkfiaa?hl=en-US Deluminate] ==
Similar to above.
Similar to above.
= Google chrome search shortcut =
[https://www.r-bloggers.com/2024/06/supercharge-your-rstats-web-searching-in-google-chrome-with-site-search-shortcuts/ Supercharge your #rstats web searching in Google Chrome with Site Search Shortcuts]
= Keyboard shortcuts =
[https://www.cnet.com/how-to/21-chrome-shortcuts-you-need-to-know/ 21 Chrome shortcuts you need to know]
== Scroll to top or bottom ==
* Depends on OS,
** On Mac, to jump to the bottom of a page, hit '''Command-down''' arrow. You can then return to the top of the page with '''Command-up''' arrow.
** On Windows, hit the '''Home''' and '''End''' keys to go to the top and bottom of a page, respectively.
** Chromebook: Ctrl + alt + up/down (Home/End function)
* [https://chrome.google.com/webstore/detail/scroll-to-top-button/chinfkfmaefdlchhempbfgbdagheknoj?utm_source=chrome-app-launcher-info-dialog Scroll To Top Button] extension by PoziWorld
== Switch tabs ==
* Option + CMD + arrow keys on Mac
* Ctrl + Page Up/down on Linux
= How to Stop Websites From Asking For Your Location =
https://www.howtogeek.com/howto/16404/how-to-disable-the-new-geolocation-feature-in-google-chrome/
= Dashboard =
== [https://chrome.google.com/webstore/detail/momentum/laookkfknpbbblfpciffpaejjkokdgca?utm_source=chrome-app-launcher-info-dialog Momentum] ==
http://momentumdash.com/
= Access other cloud drives =
http://www.howtogeek.com/264221/how-to-access-dropbox-and-other-cloud-storage-directly-from-chrome-os-file-manager/
= Google Cloud shell =
* https://cloud.google.com/shell/
* [https://medium.com/google-cloud/no-localhost-no-problem-using-google-cloud-shell-as-my-full-time-development-environment No localhost? No problem! Using Google Cloud Shell as my full time development environment]
* [https://medium.com/google-cloud/google-cloud-shell-the-free-playground-b5ab4793224 Google Cloud Shell, the free playground]
Google Cloud Shell is a f1-micro instance running Debian preinstalled with developer tools and has a home directory that persists across sessions.
The home directory is 5GB of persistent disk storage. That means you can bring over your .zshrc, install your tools in $HOME, put the binaries in $HOME/bin and you’re safe.
= [https://chrome.google.com/webstore/detail/chrome-remote-desktop/gbchcmhmhahfdphkhkmpfmihenigjmpp?hl=en Chrome Remote Desktop] =
* [https://www.bnext.com.tw/article/63025/chrome-remote-desktop-data 在家工作無法抓公司檔案?Chrome遠端桌面,7步驟輕鬆存取辦公室電腦資料]
* Note that the standard Windows 8 version (non-Pro) cannot act as a Remote Desktop host. So a 3rd party solution like Chrome Remote Desktop or [http://www.teamviewer.com/en/index.aspx TeamViewer] becomes more necessary.


= Switch account =
= Switch account =
== You Need These 5 Custom Chrome Browser Profiles ==
http://www.makeuseof.com/tag/custom-chrome-browser-profiles/
== [https://chrome.google.com/webstore/detail/profile-swapper-by-qbm5/hfinhgmafkcjmnjffomapijndpeimlif Profile Swapper] ==
== [https://chrome.google.com/webstore/detail/profile-swapper-by-qbm5/hfinhgmafkcjmnjffomapijndpeimlif Profile Swapper] ==
http://www.ghacks.net/2014/12/07/profile-swapper-makes-working-with-multiple-same-site-accounts-a-breeze/
http://www.ghacks.net/2014/12/07/profile-swapper-makes-working-with-multiple-same-site-accounts-a-breeze/
= Chrome browser and webview =
[https://www.makeuseof.com/disable-chrome-android/ What Would Happen if You Disabled Chrome on Android?] Android System [https://play.google.com/store/apps/details?id=com.google.android.webview&gl=US WebView] works like a mini browser built into your apps. WebView allows that webpage to display in-app, rather than opening your browser separately.


= Read for us =
= Read for us =
[https://www.makeuseof.com/best-chrome-text-to-speech-extensions/ The 7 Best Text-to-Speech Chrome Extensions]
== Pocket ==
== Omnivore: pocket alternative ==
[https://news.itsfoss.com/omnivore/ Omnivore: An Open-Source Read-it-Later App Like Pocket]
== Instapaper ==
https://www.instapaper.com/
== [https://chrome.google.com/webstore/detail/speakit/pgeolalilifpodheeocdmbhehgnkkbak?hl=en-US SpeakIt!] ==
== [https://chrome.google.com/webstore/detail/speakit/pgeolalilifpodheeocdmbhehgnkkbak?hl=en-US SpeakIt!] ==


= Chrome OS + crouton =
== Text to speech ==
* [https://lifehacker.com/tech/how-to-enable-chrome-text-to-speech-on-android How to Enable Chrome's New Text-to-Speech Mode for Android] June 17, 2024
* [https://chrome.google.com/webstore/detail/read-aloud-a-text-to-spee/hdhinadidafjejdhmfkjgnolgimiaplp?hl=en Read Aloud: A Text to Speech Voice Reader]
 
== Speechify Text to Speech Voice Reader ==
* [https://chrome.google.com/webstore/detail/speechify-text-to-speech/ljflmlehinmoeknoonhibbjpldiijjmm Speechify Text to Speech Voice Reader]
* https://speechify.com/pricing/ Free vs premium
 
== Built-in text-to-speech functionality ==
[https://www.epubor.com/best-8-text-to-speech-apps-for-android.html Best 8 Text to Speech Apps for Android 2020]
 
= Google Earth =
== [https://chrome.google.com/webstore/detail/earth-view-from-google-ma/bhloflhklmhfpedakmangadcdofhnnoh?utm_source=chrome-app-launcher-info-dialog Earth View from Google Maps] ==
http://earthview.withgoogle.com/
 
[https://www.makeuseof.com/tag/google-earth-geography-quiz/ Explore the World’s Natural Wonders With Google Earth’s Geography Quiz]
 
== Google Earth on a browser ==
https://earth.google.com/web/
 
== Game on Google earth ==
[https://www.makeuseof.com/tag/free-google-games-play-learn-kids-adults/ 5 Free Google Games to Play and Learn, for Both Kids and Adults]
 
== Google Earth View ==
[https://www.makeuseof.com/tag/google-earth-view-wallpapers/ Google Adds 1,000 Wallpapers to Earth View]
 
= Split screen =
* [https://chrome.google.com/webstore/detail/tab-resize-split-screen-l/bkpenclhmiealbebdopglffmfdiilejc Tab Resize - split screen layouts] and a [https://www.maketecheasier.com/split-screens-in-chrome-with-tab-resize/ review].
* [https://chrome.google.com/webstore/detail/dualless/bgdpkilkheacbboffppjgceiplijhfpd?hl=en-GB Dualless]
 
= Take a screenshot =
* [https://chrome.google.com/webstore/detail/take-webpage-screenshots/mcbpblocgmgfnpjjppndjkmgjaogfceg?hl=en Fireshot] Use mouse to select an area to take a screenshot. It can be saved to a different format (png, pdf with links, ...) and print/copy to clipboard.
** It only saves the 1st page when I tested it on a statistics page created by awstats.
** The best I can use is '''Print > 'Save as PDF' '''. The web page is split into left and right '''frames'''. By default it only saves one page/screen. If I use mouse to click on the right frame and click 'select all' (CMD + a), I can save the full page on the right frame as a PDF file. Similarly if I choose the left frame and select all, I can save the full page on the left frame as a PDF file.
** See also [https://superuser.com/questions/510001/how-do-i-print-unprintable-web-pages Browsers have a problem to print web pages which contain multiple frames]
* [http://www.howtogeek.com/223580/how-to-take-a-screenshot-on-your-chromebook/ Chrome OS]
** Ctrl + F5 for the whole desktop
** Ctrl + Shift + F5 for a selected area
* To take a screenshot of a youtube video without any extra marks. [https://www.freedidi.com/10361.html 高效使用 Chrome、Edge 浏览器!你可能不知道的8个实用技巧] 零度解说. Right click and right click again. Select "Copy video frame (New)". We can paste it into any apps like MS-Word or social apps.
* To make a screenshot of a long web page. Right click - Inspect. Then use the keyboard shortcut Ctrl+Shift+p. Type "screenshot". Select "capture full size screenshot".
 
== Recording a screen ==
[https://www.howtogeek.com/695967/how-to-screen-record-on-your-chromebook/ How to Screen Record on Your Chromebook]
 
= Javascript =
== Unblock copying ==
To unblock the restriction of some websites to [https://www.youtube.com/watch?v=2G-Emzf29BU&t=125s print a whole page 複制網頁内容]. Right click - Inspect. Settings icon on RHS. Check "Disable javascript" on RHS. Refresh the website.
 
= Edit photos =
* http://www.howtogeek.com/214990/how-to-edit-photos-on-a-chromebook/
 
= Edit a web page =
[https://www.howtogeek.com/442634/how-to-edit-any-web-page-right-in-chrome-or-any-browser/ How to Edit Any Web Page in Chrome (or Any Browser)]
 
= Crosh shell and Bash shell =
* [http://www.howtogeek.com/170648/10-commands-included-in-chrome-oss-hidden-crosh-shell/ 10+ Commands Included In Chrome OS’s Hidden Crosh Shell]
* Use Ctrl+Alt+t to open the crosh (Chrome OS developer shell). Thene type 'shell' to enter the regular shell. The Downloads folder is located under '''/home/chronos/user/Downloads/''',
: <syntaxhighlight lang='bash'>
crosh> shell
chronos@localhost / $
chronos@localhost / $ pwd
/
chronos@localhost / $ ls
bin  debugd  dev  etc  home  lib  lib64  lost+found  media  mnt  opt  postinst  proc  root  run  sbin  sys  tmp  usr  var
chronos@localhost / $ ls /home
chronos  root  user
chronos@localhost / $ cd /home/chronos/user/Downloads/
chronos@localhost / $ cd
chronos@localhost ~ $ pwd
/home/chronos/user
chronos@localhost / $ cat /etc/os-release
BUILD_ID=11895.95.0
NAME=Chrome OS
ID_LIKE=chromiumos
GOOGLE_CRASH_ID=ChromeOS
VERSION_ID=74
BUG_REPORT_URL=https://crbug.com/new
VERSION=74
HOME_URL=https://www.chromium.org/chromium-os
ID=chromeos
</syntaxhighlight>
 
* [http://www.howtogeek.com/170648/10-commands-included-in-chrome-oss-hidden-crosh-shell/ 10+ Commands Included In Chrome OS’s Hidden Crosh Shell]
* [https://www.chromium.org/chromium-os/poking-around-your-chrome-os-device Poking around your Chrome OS Device]
* After we hit Ctrl+Alt+t, we will enter a crosh shell. Type '''shell''' to enter a bash shell.
: <syntaxhighlight lang='bash'>
Welcome to crosh, the Chrome OS developer shell.
 
If you got here by mistake, don't panic!  Just close this tab and carry on.
 
Type 'help' for a list of commands.
 
crosh> shell
chronos@localhost / $ ls
bin    dev  home  lib64      media  opt      proc  run  sys  usr
debugd  etc  lib  lost+found  mnt    postinst  root  sbin  tmp  var
chronos@localhost / $ pwd
/
chronos@localhost / $ ls /home
chronos  root  user
chronos@localhost / $
</syntaxhighlight>
* Create an alias <syntaxhighlight lang='bash'>
$ echo 'alias sshnocheck="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" ' >> ~/.bashrc
</syntaxhighlight>
 
= Chrome OS =
* [https://support.google.com/chromebook/answer/3113576?hl=en Customize your desktop] such as adding an app to the task bar.
* [https://www.makeuseof.com/tag/fix-chromebook-annoyances/ 6 Chromebook Annoyances You Should Fix Right Now]
 
== Alternatives ==
=== Chrome OS Flex (Previously CloudReady) ===
* [https://www.reviewgeek.com/110099/chrome-os-flex-promises-to-revive-your-slow-and-old-laptop/ Chrome OS Flex Promises to Revive Your Slow and Old Laptop]
* [https://youtu.be/AFAg1FkGgMM Chrome OS Flex: Google’s New PC OS] 2022-06
 
=== Fyde OS ===
https://fydeos.io/. It is easy to install playstore in Fyde OS.
 
=== Ubuntu Web OS ===
https://ubuntu-web.org/. It includes Anbox to run Android apps.
 
== Firmware update, Powerwash ==
[https://www.techrepublic.com/article/how-to-update-chrome-os-firmware-to-improve-security/ How to update Chrome OS firmware to improve security]
 
== Support of software updates ==
[https://liliputing.com/2019/09/google-gives-some-chromebooks-another-3-years-of-support.html Google gives some Chromebooks another 3 years of support]
 
== How to Enable USB Booting on Chromebook, remove chromeOS ==
* https://www.wikihow.com/Enable-USB-Booting-on-Chromebook
* [https://dbtechreviews.com/2018/09/how-to-install-ubuntu-on-chromebook-and-remove-chromeos/ How To: Install Ubuntu on Chromebook and REMOVE ChromeOS]
 
== Chromebook recovery utility ==
https://chrome.google.com/webstore/detail/chromebook-recovery-utili/jndclpdbaamdhonoechobihbbiimdgai  I have tested it on a Windows computer. Note: Linux is not supported.
 
To boot from a usb drive, hold ESC+F3 (refresh) and then press down the Power button together.
 
To erase the usb drive, use the same utility (settings icon) to do it.
 
== Function keys ==
* F3: refresh
* F8: mute
* F9: decrease volume
* F10: increase volume
 
== Chromebook keyboard shortcuts ==
* https://support.google.com/chromebook/answer/183101
* [https://www.makeuseof.com/tag/chrome-os-cheat-sheet/ The Chrome OS Cheat Sheet: Every Chromebook Keyboard Shortcut]
* [https://www.dell.com/support/article/us/en/19/sln293875/dell-chromebook-keyboard-guide?lang=en Dell Chromebook Keyboard Guide]
* [https://appuals.com/10-awesome-chrome-os-keyboard-shortcuts-need-know/ 10 Awesome Chrome OS Keyboard shortcuts that you need to know about]
 
=== Search key ===
Chromebook has a dedicated Search key. It is located on the Caps Lock key on a regular Windows keyboard.
 
If you are using a regular keyboard, the Windows key in between Ctrl and Alt will work as the search key.
 
=== Change search key to cap key ===
[https://www.orduh.com/how-to-change-search-key-function-on-chromebook/ How To Change Search Key Function On Chromebook]. Just go to Settings > Keyboard and you can remap the key.
 
=== Home and End keys ===
* Home: Search key (Caps Lock key ) + left arrow. Or '''Ctrl + Alt + Up'''.
* End: Search + right arrow. Or '''Ctrl + Alt + Down'''.
 
=== Page up/down ===
* To replicate “page up” key functionality, simply press alt + ↑
* To replicate “end” key functionality, simply press alt + ↓
 
=== Page backward ===
* Alt + Left arrow
* Go to the next page in your browsing history Alt + Right arrow
 
=== Dock a window to the left/right side of your screen ===
* Alt + [: left side
* Alt + ]: right side
 
== Check available space ==
* Open Downloads (Ctrl + j) tab and go over to the upper right corner of the window and click on the menu button (three dots in a row) and pick 'Open downloads folder'
* On the new window click again the menu button. It will show how much space is left.
 
== Network share files (SAMBA) for file transfer ==
* [https://www.groovypost.com/howto/access-network-share-files-chromebook/  How to Access Network Share Files from a Chromebook] (no need to use an extension now Chrome OS 71)
* [https://arstechnica.com/gadgets/2018/09/native-support-for-windows-file-sharing-coming-to-chrome-os/ Native support for Windows file sharing coming to Chrome OS]
* [https://www.aboutchromebooks.com/news/support-for-native-smb-network-shares-in-chrome-os-is-moving-along-quickly-now/ Support for '''native''' SMB network shares in Chrome OS]
** chrome://flags/#native-smb
 
== Surprise Me wallpaper ==
https://productforums.google.com/forum/#!msg/chromebook-central/Imhld5eSqAA/sgcFjnOhBgAJ
 
== Text editor ==
[https://chrome.google.com/webstore/detail/caret/fljalecfjciodhpcledpamjachpmelml Caret]
 
== Install Firefox ==
https://www.howtogeek.com/357693/how-to-install-firefox-in-chrome-os/
 
== How to Instantly Improve Your Chromebook’s Bluetooth Performance ==
https://www.howtogeek.com/fyi/how-to-instantly-improve-your-chromebooks-bluetooth-performance/#comments
 
== Printer support ==
https://support.google.com/chromebook/answer/7225252?hl=en&ref_topic=3399712
 
After I have changed my (low) toner, my printer (brother MFC-L2710DW) works in my chromebook.
 
== Android apps ==
We can install KeePassDroid.
 
== Multiple desks ==
[https://support.google.com/chromebook/answer/9594869?hl=en Set up & manage multiple desktops with Virtual Desks]
 
== Touchpad ==
[https://support.google.com/chromebook/answer/1047367 Use your Chromebook touchpad], [https://www.maketecheasier.com/use-virtual-desk-chrome-os/ How to Use Virtual Desk in Chrome OS]
 
* Swipe using three fingers to switch between tabs.
* Tap with three fingers to close a tab (or Ctrl + w).
* Tap a link with three fingers to open a new tab.
* Swipe up or down to see all windows (like the '''Overview''' key/F5 right next to Full screen).
 
== Install Windows ==
[https://www.makeuseof.com/install-windows-on-chromebook/ You Can Install Windows on Chromebook: Here's How]
 
= [https://galliumos.org/ Gallium OS]: Dual boot Chrome OS and Ubuntu =
* Gallium OS = Xubuntu + Chrome hardware
* [https://wiki.galliumos.org/Welcome_to_the_GalliumOS_Wiki Wiki]
* [https://reddit.com/r/GalliumOS Support] in reddit
* [https://www.reddit.com/r/GalliumOS/comments/63tp4h/how_to_disable_powersave_suspend/ How to disable power-save Suspend]
 
Username: chrx, Password: chrx
 
== Installation ==
* https://mrchromebox.tech/
* https://mrchromebox.tech/#kodi
 
It seems the Kodi EZ script can be run in any shell environment (not just the shell opened via Ctrl+Alt+F2 in Developer mode). See [http://dareneiri.github.io/Asus-Chromebox-With-Windows-10/ Asus Chromebox With Windows 10]. If I run the script from a standalone GalliumOS terminal, the first 5 options (Dual Boot) will be greyed out; only options 6 & 7 (Standalone) are available.
 
After installing GalliumOS as a standalone (including running an upgrade), the available disk space becomes 11G (= 15G - 3.1G). The partition table is clean rather than very complicated when the machine is dual boot.
 
== Disable Firmware Write Protect & Set Boot Options ==
http://kodi.wiki/view/chromebox#Disable_Firmware_Write_Protect
 
This step is required to change the default boot target and the time out. See the [https://mrchromebox.tech/#kodi Set Boot Options] in Kodi E-Z Setup Script.
 
= [https://github.com/dnschneid/crouton Crouton] in Chrome OS =
Like virtualization, '''chroots''' provide the guest OS with their own, segregated file system to run in, allowing applications to run in a different binary environment from the host OS. Unlike virtualization, you are not booting a second OS; instead, the guest OS is running using the Chromium OS system. The benefit to this is that there is zero speed penalty since everything is run natively, and you aren't wasting RAM to boot two OSes at the same time. The downside is that you must be running the correct '''chroot''' for your hardware, the software must be compatible with Chromium OS's kernel, and machine resources are inextricably tied between the host Chromium OS and the guest OS. What this means is that while the '''chroot''' cannot directly access files outside of its view, it can access all of your hardware devices, including the entire contents of memory.  
Like virtualization, '''chroots''' provide the guest OS with their own, segregated file system to run in, allowing applications to run in a different binary environment from the host OS. Unlike virtualization, you are not booting a second OS; instead, the guest OS is running using the Chromium OS system. The benefit to this is that there is zero speed penalty since everything is run natively, and you aren't wasting RAM to boot two OSes at the same time. The downside is that you must be running the correct '''chroot''' for your hardware, the software must be compatible with Chromium OS's kernel, and machine resources are inextricably tied between the host Chromium OS and the guest OS. What this means is that while the '''chroot''' cannot directly access files outside of its view, it can access all of your hardware devices, including the entire contents of memory.  
To launch ubuntu next time, Ctrl + Alt+t to open a new tab, type 'shell' to enter a shell. Then type '''sudo startgnome'''. To exit ubuntu, pick 'log out' from the upper-right corner.


* https://github.com/dnschneid/crouton/blob/master/README.md
* https://github.com/dnschneid/crouton/blob/master/README.md
* http://www.howtogeek.com/162120/how-to-install-ubuntu-linux-on-your-chromebook-with-crouton/
* http://www.linux.com/learn/tutorials/795730-how-to-easily-install-ubuntu-on-chromebook-with-crouton
* http://www.linux.com/learn/tutorials/795730-how-to-easily-install-ubuntu-on-chromebook-with-crouton
* [http://liliputing.com/2014/12/crouton-chromebooks-run-ubuntu-browser-tab.html Run Ubuntu in a Chrome browser tab]
* [http://liliputing.com/2014/12/crouton-chromebooks-run-ubuntu-browser-tab.html Run Ubuntu in a Chrome browser tab]
* http://pcworld.com/article/3187441/computers/how-to-install-linux-on-a-chromebook.html (5/1/2017)
* [https://www.makeuseof.com/tag/install-linux-chromebook/ How to Install Linux on a Chromebook] 2020
== Compare to Linux Beta ==
[https://youtu.be/2pR3DQXR1A8 Easily add a Linux desktop interface to your chromebook - KDE plasma]
[https://www.howtogeek.com/363331/how-to-set-up-and-use-linux-apps-on-chrome-os/ How to Set Up and Use Linux Apps on Chromebooks]
* Linux beta and crouton can coexist
* Linux beta is not quite stable. When I try 'htop', it does not show enough RAM. And it also cannot refresh. (Mar 2019)
* ssh to a remote server will be disconnected after a while for some reason by using Linux App's Terminal app.
== Developer mode ==
[https://www.howtogeek.com/210817/how-to-enable-developer-mode-on-your-chromebook/ How to Enable Developer Mode on Your Chromebook]
To enter a recovery mode, press ESC + F3(refresh) + Power. It will reboot.
Press Ctrl + D (the shortcut is not listed on the screen) at the recovery screen. You’ll see a screen saying “To turn OS Verification OFF, press ENTER.” Press Enter to enable developer mode.
From now on, every time you boot the computer, it will show "OS verification is OFF". Again, press Ctrl + D to continue.
It is interesting when I wipe the computer and reset ChromeOS to the Developer Mode, it will remembers the settings I have last time (shelf/docker/launcher/taskbar on the left hand side).
== Cheat sheet ==
* [https://github.com/dnschneid/crouton/wiki/Crouton-Command-Cheat-Sheet Crouton Command Cheat Sheet]
== Quick start ==
After we downloaded crouton, use ctrl+alt+t to open a new tab, type '''shell''' and Enter.
<syntaxhighlight lang='rsplus>
sh ~/Downloads/crouton
sh ~/Downloads/crouton -t help  # show available targets
sh ~/Downloads/crouton -r list  # show available linux distributions
sudo sh ~/Downloads/crouton -n trusty -u -t xorg
    # trusty is the name of the chroot, xorg is a target; multiple targets separated by common is OK
    # The "-u" option is to update crouton, "-t xorg" is optional.
sudo startunity
</syntaxhighlight>
For reference purpose,
<syntaxhighlight lang='rsplus>
chronos@localhost / $ sh ~/Downloads/crouton
crouton [options] -t targets
crouton [options] -f backup_tarball
crouton [options] -d -f bootstrap_tarball
Constructs a chroot for running a more standard userspace alongside Chromium OS.
If run with -f, where the tarball is a backup previously made using edit-chroot,
the chroot is restored and relevant scripts installed.
If run with -d, a bootstrap tarball is created to speed up chroot creation in
the future. You can use bootstrap tarballs generated this way by passing them
to -f the next time you create a chroot with the same architecture and release.
crouton must be run as root unless -d is specified AND fakeroot is
installed AND /tmp is mounted exec and dev.
It is highly recommended to run this from a crosh shell (Ctrl+Alt+T), not VT2.
Options:
    -a ARCH    The architecture to prepare a new chroot or bootstrap for.
                Default: autodetected for the current chroot or system.
    -b          Restore crouton scripts in PREFIX/bin, as required by the
                chroots currently installed in PREFIX/chroots.
    -d          Downloads the bootstrap tarball but does not prepare the chroot.
    -e          Encrypt the chroot with ecryptfs using a passphrase.
                If specified twice, prompt to change the encryption passphrase.
    -f TARBALL  The bootstrap or backup tarball to use, or to download to (-d).
                When using an existing tarball, -a and -r are ignored.
    -k KEYFILE  File or directory to store the (encrypted) encryption keys in.
                If unspecified, the keys will be stored in the chroot if doing a
                first encryption, or auto-detected on existing chroots.
    -m MIRROR  Mirror to use for bootstrapping and package installation.
                Default depends on the release chosen.
                Can only be specified during chroot creation and forced updates
                (-u -u). After installation, the mirror can be modified using
                the distribution's recommended way.
    -M MIRROR2  A secondary mirror, often used for security updates.
                Can only be specified alongside -m.
    -n NAME    Name of the chroot. Default is the release name.
                Cannot contain any slash (/).
    -p PREFIX  The root directory in which to install the bin and chroot
                subdirectories and data.
                Default: /usr/local, with /usr/local/chroots linked to
                /mnt/stateful_partition/crouton/chroots.
    -P PROXY    Set an HTTP proxy for the chroot; effectively sets http_proxy.
                Specify an empty string to remove a proxy when updating.
    -r RELEASE  Name of the distribution release. Default: precise,
                or auto-detected if upgrading a chroot and -n is specified.
                Specify 'help' or 'list' to print out recognized releases.
    -t TARGETS  Comma-separated list of environment targets to install.
                Specify 'help' or 'list' to print out potential targets.
    -T TARGETFILE  Path to a custom target definition file that gets applied to
                the chroot as if it were a target in the crouton bundle.
    -u          If the chroot exists, runs the preparation step again.
                You can use this to install new targets or update old ones.
                Passing this parameter twice will force an update even if the
                specified release does not match the one already installed.
    -V          Prints the version of the installer to stdout.
Be aware that dev mode is inherently insecure, even if you have a strong
password in your chroot! Anyone can simply switch VTs and gain root access
unless you've permanently assigned a Chromium OS root password. Encrypted
chroots require you to set a Chromium OS root password, but are still only as
secure as the passphrases you assign to them.
</syntaxhighlight>
== How to Manage the Crouton Linux System ==
https://www.howtogeek.com/210047/how-to-manage-the-crouton-linux-system-on-your-chromebook/
* Target (Unity, KDE, GNOME, LXDE, Enlightenment):
<pre>
sh ~/Downloads/crouton -t help
</pre>
* Linux distribution and release
<pre>
sh ~/Downloads/crouton -r list
</pre>
* Update a Crouton Chroot
<pre>
sudo sh ~/Downloads/crouton -u -n trusty
</pre>
* Encrypt the chroot
<pre>
sudo sh ~/Downloads/crouton -u -e -n trusty
</pre>
* Create Multiple Chroots
<pre>
sudo sh ~/Downloads/crouton -r trusty -t lxde,xiwi -n testchroot
</pre>
* Back Up a Chroot
<pre>
sudo edit-chroot -b trusty
</pre>
* Delete a Chroot
<pre>
sudo delete-chroot trusty
</pre>
== How to Run a Full Linux Desktop in a Browser Tab on Your Chromebook ==
References:
* https://www.howtogeek.com/208368/how-to-run-a-full-linux-desktop-in-a-browser-tab-on-your-chromebook/ (2015)
* [https://github.com/dnschneid/crouton/wiki/crouton-in-a-Chromium-OS-window-(xiwi) xiwi] (X11 in a Window) page.
# Go to [[#Developer_mode|Developer Mode]]. Hint ESC + F3(refresh) + Power.
# Install [https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom Crouton integration] extension for Chrome (not optional).
# Download crouton https://goo.gl/fd3zc
# Open a terminal (Ctrl+Alt+t). Type '''shell'''. Then run
: <syntaxhighlight lang='bash'>
# sudo sh ~/Downloads/crouton -r trusty -t xfce,xiwi
sudo sh ~/Downloads/crouton -t xfce,xiwi # It will ask a new username/password
sudo startxfce4
</syntaxhighlight>
The crouton integration extension allows to put the new Linux desktop as a new Window (i.e. a new icon will be shown in the taskbar) in Chrome OS. Perfect!! So you can copy and paste text from Chrome browser to Terminal in Linux. Note that clicking the browser icon in Linux won't open its browser (NetSurf). It will just opens a new tab in Chrome OS.
Click the "X" icon on top to exit the full screen mode in Xubuntu. You can also use Alt+Tab to switch between ChromeOS and Xubuntu.
After I played with Xubuntu, I found several commands are not available. Do the following:
<syntaxhighlight lang='bash'>
# ssh command not found
sudo apt install openssh-client
# add-apt-repository not found
sudo apt-get install software-properties-common python-software-properties
</syntaxhighlight>
== How to Run Linux Apps on a Chromebook Without Opening a Full Linux Window ==
https://www.howtogeek.com/343222/how-to-run-linux-apps-on-a-chromebook-without-opening-a-full-linux-window/ (2018)
https://www.linuxuprising.com/2018/12/crouton-how-to-run-linux-applications.html
== [https://www.amazon.com/CHROMEBOX-M075U-Wireless-Keyboard-Discontinued-Manufacturer/dp/B00JY4Q52U Asus chromebox M075U] ==
* Intel i3-4010U, 4K playback support, M2 SSD 2240
* F3 - refresh a web page
* Ctrl + D to enter a developer mode when we boot the chromebox
** https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/asus-chromebox
** http://www.howtogeek.com/210817/how-to-enable-developer-mode-on-your-chromebook/
* Ctrl+Alt+t: open a shell in chrome browser.
** Type '''shell''' to open a shell.
** Type '''sudo startunity''' to open Ubuntu Desktop
** Ctrl+Alt+Shift+F1: Toggle Chrome OS and Ubuntu Desktop
== Chinese character in gnome shell ==
It is related to locale. By default, it is
<pre>
(trusty)brb@localhost:~$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
</pre>
* http://tieba.baidu.com/p/2919742459?pn=2 Pay attention to the section 'Switch languages in crouton'.
== Disk space ==
Test on my HP Chromebox CB1-014 Desktop (Intel Celeron 2955U Processor 1.4 GHz, 2GB DDR3, 16GB storage)
* The disk space returned from 'df -h' in Chrome OS (First).
* The disk space returned from 'df -h' in Ubuntu (Second)
* The system status returned from 'htop' in Ubuntu (Third)
[[File:Chrome shell.png|200px]]
[[File:Crouton ubuntu.png|200px]]
[[File:Crouton ubuntu2.png|200px]]
== Sharing files/directories ==
https://github.com/dnschneid/crouton/wiki/Sharing-files-and-folders
The ChromeOS's Downloads folder is accessible in Ubuntu's ~/Downloads/ directory.
== ifconfig ==
Located in /sbin directory.
<syntaxhighlight lang='bash'>
$ whereis ifconfig
ifconfig: /sbin/ifconfig /usr/share/man/man8/ifconfig.8.gz
# CROUTON (missing /usr/local/sbin, /usr/sbin, /sbin)
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
# Regular Ubuntu
$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
</syntaxhighlight>
== Running servers in crouton ==
https://github.com/dnschneid/crouton/wiki/Running-servers-in-crouton
== Check battery health ==
https://www.howtogeek.com/309971/how-to-check-your-chromebooks-battery-health/
To check the battery cycle count, use '''battery_firmware info''' command in a crosh terminal.
= Crotini =
* [https://www.reddit.com/r/chromeos/comments/aazx85/crostini_vs_crouton/ecwgpn1 Crostini vs Crouton]. Crouton requires you to put your Chromebook into developer mode. With crouton, you can also run individual apps in the ChromeOS environment (check out xiwi), or you can have a full Linux desktop of your choice. Crouton requires you to put your Chromebook into developer mode.
* [https://chromeunboxed.com/news/chromebook-containers-virtual-machine-crostini-google-io CHROMEBOOKS AND CROSTINI: CONTAINERS FOR CHROME OS BY GOOGLE I/O]
* [https://liliputing.com/2019/02/chrome-os-74-will-enable-audio-for-linux-apps.html Chrome OS 74 will enable audio for Linux apps]
* [https://www.makeuseof.com/backup-linux-installation-chromebook/ How to Back Up a Crostini Linux Installation on Your Chromebook]
= Chrultrabook =
* https://docs.chrultrabook.com/
* [https://slickdeals.net/f/17430162-asus-14-touchscreen-full-hd-intel-evo-platform-chromebook-11th-gen-intel-core-i5-1135g7-16gb-ddr4-512gb-ssd-star-black-cx9400cea-ds562t-ebay-certified-refurbishe-329-00 ASUS 14" Touchscreen Full HD Intel Evo Platform Chromebook - 11th Gen Intel Core i5- 1135G7 16GB DDR4 512GB SSD] - Star Black CX9400CEA-DS562T (eBay Certified - Refurbishe) $329.00
= Manage Google Account =
* https://myaccount.google.com/?pli=1
= Use Google drive offline =
* http://www.howtogeek.com/227032/how-to-use-google-drive-offline-on-a-deskop-or-mobile-device/
= [https://www.chromeexperiments.com/ Chrome Experiments] =
* https://www.chrome.com/racer
= Twitter =
* Keyboard shortcuts
** "?" for help,
** "j" for next tweet
** "ENTER" to view the whole message
** "g" & "h" to go HOME
* [http://blogoneanother.com/twitter-symbols/ Twitter Symbols: What Do @, d, RT, # Mean?] and  [http://yourbusiness.azcentral.com/symbols-mean-using-twitter-4299.html What Do Symbols Mean if Using Twitter?]
** @: Talk publicly to another person
** d: Talk privately to another person
** #: Tag a message with a label. People use the hashtag to attach a theme or "tag" to their tweets, usually in connection with a trending or popular topic.
* [http://www.makeuseof.com/tag/twitter-tools-manage-feed/ Use These Great Twitter Tools to Manage Your Feed]
* [https://www.reviewgeek.com/52119/the-best-twitter-apps-for-every-platform/ The Best Twitter Apps for Every Platform]
* https://tweetdeck.twitter.com/,
** [https://profiletree.com/tweetdeck-user-guide/ TweeterDeck] user guide
** [https://shortcuts.fm/tweetdeck/ Keyboard shortcuts]
* [https://www.howtogeek.com/747766/how-to-dm-on-twitter/ How to DM on Twitter]
* [https://www.pcworld.com/article/632753/3-reasons-for-normal-people-to-use-twitter.html 3 practical reasons to use Twitter]
* How do I know who I'm following? https://twitter.com/following. See [https://help.twitter.com/en/using-twitter/following-faqs Following FAQs].
= [https://takeout.google.com/settings/takeout?pli=1 Google Takeout] =
* https://en.wikipedia.org/wiki/Google_Takeout

Latest revision as of 21:40, 9 November 2024

Install on Ubuntu

# Add Key: 
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

# Set repository:
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list

# Install package:
sudo apt-get update 
sudo apt-get install google-chrome-stable

It works on Ubuntu 18.04.

Update

How to Update Google Chrome on Ubuntu Linux

Headless Chrome

Launch

Launch an extension by keyboard shortcut

See this post. It works. Now I can use Ctrl+e to launch the Evernote clip extension.

Just head to chrome://extensions/ in your browser's address bar to open up the extensions page. Scroll down to the bottom and you'll see a Keyboard Shortcuts option. Click it, and you can set up custom shortcuts for some of you extensions.

List of all purchased

https://chrome.google.com/webstore/user/purchases

Extension: manifest V3

Google Is Killing Off Your Favorite Browser Extensions: Here's What You Can Do 2024/8/8

Apps vs Extensions

https://stackoverflow.com/questions/5341206/difference-between-chrome-apps-and-extensions

Chrome apps are basically just glorified bookmarks. You Can Use Chrome Apps for a Little While Longer

Bookmarklet

Quick Tip: Bookmarklets Offer Bite-Size Functionality in Any Browser

Window size

On my Ubuntu 20.04, Chrome cann't start with last session's window size?

  • how to make chrome to start with last window size
  • Why doesn't chrome start with the last user window size?
  • Chrome doesn't save the size of its window between sessions

Most popular extensions and posts

2014

http://lifehacker.com/most-popular-chrome-extensions-and-posts-of-2014-1674273297

2023

The 16 Best Plugins (Extensions) for Chrome in 2023

  • Blocking Ads: uBlock Origin
  • Cookie Management: Click&Clean
  • Stop Online Tracking: Privacy Badger
  • Privacy Obsessives: Edit This Cookie
  • Saving Tabs: OneTab
  • Saving Money: The Camelizer
  • Google Search: View Image
  • for YouTube: Enhancer for YouTube
  • for Gmail: Checker Plus for Gmail
  • for Userstyles: Stylus
  • for Reading Mode: Postlight Reader
  • for Saving Memory: The Great Suspender
  • for Multitasking: Recent Tabs
  • for Keyboard Shortcut Junkies: Vimium
  • for Writers: Find & Replace
  • Earth View From Google Earth

Useful

Ubuntu problems

Create a desktop shortcut to a website/How to Turn Any Website into an App

  • How to Turn Any Website into an App. In the end, click on 'Show Applications' and search the new app (shortcut) you just created. The app icon was kept too.
  • Go to the website
  • Click three dots -> More tools -> Create shortcut.... Enter your name for this shortcut. This will create a new file on Ubuntu desktop. But the filename looks "chrome-XXXXXXXXXX.desktop".
  • Rename the filename "chrome-XXXXXXXXXX.desktop" to "YOURNAME.desktop"
  • Right click "YOURNAME.desktop" and select "Allow launching"

You will see the website favicon becomes the shortcut's icon on Ubuntu's desktop and we can launch the website by clicking this shortcut.

It's interesting to see the URL does not show in the .desktop file. Instead it show an app-id. We can also manage the list of apps by going to chrome://apps/.

Uninstall zoom app

Uninstall extra Zoom Meeting application?

Close Find bar

Use the Escape key.

Chrome’s Auto-Generated Passwords

http://www.makeuseof.com/tag/improve-web-security-using-chromes-auto-generated-passwords/

Autofill Passwords

How to Delete Your Autofill Passwords in Chrome (and Move to Something More Secure)

Password manager

How to View Google Chrome's Saved Passwords (And Prevent Others From Peeking)

Autofill payment/credit cards details

How to Stop Chrome Remembering Your Payment Details

Extension safety

How to Know If a Google Chrome Extension Is Safe to Use

Speed up

It's Easy to Speed Up Chrome With These 6 Methods

15 Chrome Extensions by Google You Didn’t Know You Needed

http://www.makeuseof.com/tag/chrome-extensions-by-google/

Google mail checker, Google similar pages, Earth view from google earth, Google art project, Mindful break.

Enable and Disable Chrome Extensions in Incognito Mode

Go to chrome://extensions. Click "Details" in an extension and check the option "Allow in incognito". See a screenshot.

distill.io: track website change

5 Chrome browser extensions I can’t live without Apr 2022

ChatGPT

Upgrade Your Browser With a ChatGPT Sidebar

HTML5 Outliner

https://chrome.google.com/webstore/detail/html5-outliner/afoibpobokebhgfnknfndkgemglggomo/related

Break Timer

Another choice is Stretchly (open source, cross-platform).

Stopwatch/Timer

https://stopwatchtimers.com/timer/?t=00:10:00

Pop-up

How to Allow or Block Pop-ups in Chrome

Chrome 66: auto mute

Instant video caption

如何啟用Google Chrome的即時字幕功能?

Learn English

eJOY English - Learn with Movies

Look up words/dictionary

7 Chrome Extensions That Help You Look Up Words While Browsing

Disable Autoplay Videos

Tested on this site from cnet.com

  • Chrome 69.0: auto play video with sound
  • Chrome incognito: auto play video without sound
  • Firefox 52.9 & 62.0: auto play video with sound
  • Firefox private window 52.9: Won't auto play video
  • FIrefox Focus (iOS): Won't auto play video

Chrome URL Autocomplete suggestions not working

How to Turn Off Chrome URL Autocomplete

The function does not work on my Chrome OS 74.03729.159.

Delete Chrome Remembered URLs from Address Bar

How to Delete Chrome Remembered URLs from Address Bar

strip off URL tracking codes

Share videos

Loom

Picture in picture (PIP)

Minimizing Tabs

Right click the tab and select "Pin Tab" option. This will anchor the tabs on the left of your toolbar. The "X" disappears after pinning them.

bypass paywalls

https://github.com/iamadamdev/bypass-paywalls-chrome

Reduce memory/manage tabs

block ad trackers

Ghostery.png

How To Turn Off Your Adblocker for a Website

https://www.foodnetwork.com/site/how-to-turn-off-adblock

Dark theme

  • dark reader Chrome/Firefox, source on github.
  • Care your eyes. After it is installed, every website will have a black theme. Since I only want to enable the black them on specific websites, I click on the icon and change it to 'Whitelist mode'. For a website I like to have a dark them, I click the icon again and check 'Enable at this site'.

Custom zoom level

https://www.makeuseof.com/tag/manage-custom-zoom-chrome/

chrome://settings/content/zoomLevels

System monitor

User-Agent Switcher

Silent Site Sound Blocker

Automatically mutes tabs that aren't your focus tab.

WikiWand (popular)

Magic Actions for youtube (extreme popular)

Adblock for Youtube

Adblock for Youtube

Video Chapters for YouTube

Video Chapters for YouTube

PageZipper, Page One and Re-Pagination (Firefox)

Painlessly merge a series of web pages into one

Behind the Overlay

Close any overlay on any website with a single click !

Open Excel files without downloading them

Online notepad

Imagus

Enlarge thumbnails, and show images/videos from links with a mouse hover.

Launch without address bar or bookmark bar (not kiosk)

$ google-chrome --app=https://www.cbsnews.com/live/ 

Note: window frame is still there.

Another option is luakit. But it causes buffering and the caption 'cc' button is disabled in this case.

Video downloader

Download all images

Download All Images by MeryDev. I can filter by jpg file type. Tested on this site.

How to Download All Images on a Web Page at Once

Control audio devices

How to Play Chrome Audio Through Separate Devices

Live Caption/transcribe

JSON

Json Formatter

For example, the weather API from darksky.net returns in a json format.

How to Parse JSON Files

How to Parse JSON Files on the Linux Command Line with jq

Visualize a json file

https://jsoncrack.com/

Cache

Force refresh

How to Force Reload Webpage Without Cache in Google Chrome for Mac

  • Control + Shift + F5 (Windows)
  • Command + Shift + R (Mac)

Security/privacy settings

Tab group

如何使用 Chrome 85 分頁收合摺疊功能?

Track price

How to Track Prices in Google Chrome on Android

Developer Tools

Google Drive

Google sheets

The Best Google Sheets Add-Ons

Search Google Drive Directly from Chrome’s Address Bar

https://www.howtogeek.com/howto/32459/how-to-search-google-docs-from-the-chrome-location-bar/

How to Use Google Docs Offline

https://www.howtogeek.com/404811/how-to-use-google-docs-offline/

Privacy badger

https://chrome.google.com/webstore/detail/privacy-badger/pkehgijcmpdhfbdbbnkijodmdjhbjlgp

Hardware Acceleration In Chromium and Chrome

Appss Built From Chromium

DNS

Change DNS setting

https://www.howtogeek.com/204672/how-to-change-the-dns-server-on-a-chromebook/

There is no way to change the DNS setting for a particular browser in an OS (eg Windows/Linux/macOS).

DOH

How to enable DNS-over-HTTPS (DoH) in Google Chrome

How to View SSL Certificate Details in Chrome 56

Open Developer Tools -> Select the 'Security' Tab ->Select View Certificate.

ColorZilla

  • Eyedropper
  • Color picker
  • Gradient generator

Online tool: Image color picker.

Common color names

Change the default apps

https://www.howtogeek.com/310576/how-to-change-the-default-apps-on-your-chromebook/

Night shift

https://chromeunboxed.com/chromebook-how-to-enabling-night-mode/

  1. chrome://flags
  2. search “night light”
  3. enable

Now you should see the Night Light icon in the system tray in the bottom right corner of your screen between the help and lock icons. Click on the icon to enable it.

Customize it.

  1. chrome://settings
  2. search "night"
  3. change

Reading/reader mode

Change color for better reading

Night reading mode

The good thing about it is we can choose the default to be ON or OFF. Some other extensions like 'Care your eyes' does not have this option.

The 'auto' mode changes depending on the time of a day (by default the night mode is enabled when it is 7pm-7am). There is no way to choose the night mode by websites.

Change Colors

Similar to above but we can select to apply based on a webpage or a domain. Seems to be more useful!

Deluminate

Similar to above.

Google chrome search shortcut

Supercharge your #rstats web searching in Google Chrome with Site Search Shortcuts

Keyboard shortcuts

21 Chrome shortcuts you need to know

Scroll to top or bottom

  • Depends on OS,
    • On Mac, to jump to the bottom of a page, hit Command-down arrow. You can then return to the top of the page with Command-up arrow.
    • On Windows, hit the Home and End keys to go to the top and bottom of a page, respectively.
    • Chromebook: Ctrl + alt + up/down (Home/End function)
  • Scroll To Top Button extension by PoziWorld

Switch tabs

  • Option + CMD + arrow keys on Mac
  • Ctrl + Page Up/down on Linux

How to Stop Websites From Asking For Your Location

https://www.howtogeek.com/howto/16404/how-to-disable-the-new-geolocation-feature-in-google-chrome/

Dashboard

Momentum

http://momentumdash.com/

Access other cloud drives

http://www.howtogeek.com/264221/how-to-access-dropbox-and-other-cloud-storage-directly-from-chrome-os-file-manager/

Google Cloud shell

Google Cloud Shell is a f1-micro instance running Debian preinstalled with developer tools and has a home directory that persists across sessions.

The home directory is 5GB of persistent disk storage. That means you can bring over your .zshrc, install your tools in $HOME, put the binaries in $HOME/bin and you’re safe.

Chrome Remote Desktop

Switch account

You Need These 5 Custom Chrome Browser Profiles

http://www.makeuseof.com/tag/custom-chrome-browser-profiles/

Profile Swapper

http://www.ghacks.net/2014/12/07/profile-swapper-makes-working-with-multiple-same-site-accounts-a-breeze/

Chrome browser and webview

What Would Happen if You Disabled Chrome on Android? Android System WebView works like a mini browser built into your apps. WebView allows that webpage to display in-app, rather than opening your browser separately.

Read for us

The 7 Best Text-to-Speech Chrome Extensions

Pocket

Omnivore: pocket alternative

Omnivore: An Open-Source Read-it-Later App Like Pocket

Instapaper

https://www.instapaper.com/

SpeakIt!

Text to speech

Speechify Text to Speech Voice Reader

Built-in text-to-speech functionality

Best 8 Text to Speech Apps for Android 2020

Google Earth

Earth View from Google Maps

http://earthview.withgoogle.com/

Explore the World’s Natural Wonders With Google Earth’s Geography Quiz

Google Earth on a browser

https://earth.google.com/web/

Game on Google earth

5 Free Google Games to Play and Learn, for Both Kids and Adults

Google Earth View

Google Adds 1,000 Wallpapers to Earth View

Split screen

Take a screenshot

  • Fireshot Use mouse to select an area to take a screenshot. It can be saved to a different format (png, pdf with links, ...) and print/copy to clipboard.
    • It only saves the 1st page when I tested it on a statistics page created by awstats.
    • The best I can use is Print > 'Save as PDF' . The web page is split into left and right frames. By default it only saves one page/screen. If I use mouse to click on the right frame and click 'select all' (CMD + a), I can save the full page on the right frame as a PDF file. Similarly if I choose the left frame and select all, I can save the full page on the left frame as a PDF file.
    • See also Browsers have a problem to print web pages which contain multiple frames
  • Chrome OS
    • Ctrl + F5 for the whole desktop
    • Ctrl + Shift + F5 for a selected area
  • To take a screenshot of a youtube video without any extra marks. 高效使用 Chrome、Edge 浏览器!你可能不知道的8个实用技巧 零度解说. Right click and right click again. Select "Copy video frame (New)". We can paste it into any apps like MS-Word or social apps.
  • To make a screenshot of a long web page. Right click - Inspect. Then use the keyboard shortcut Ctrl+Shift+p. Type "screenshot". Select "capture full size screenshot".

Recording a screen

How to Screen Record on Your Chromebook

Javascript

Unblock copying

To unblock the restriction of some websites to print a whole page 複制網頁内容. Right click - Inspect. Settings icon on RHS. Check "Disable javascript" on RHS. Refresh the website.

Edit photos

Edit a web page

How to Edit Any Web Page in Chrome (or Any Browser)

Crosh shell and Bash shell

crosh> shell
chronos@localhost / $
chronos@localhost / $ pwd
/
chronos@localhost / $ ls
bin  debugd  dev  etc  home  lib  lib64  lost+found  media  mnt  opt  postinst  proc  root  run  sbin  sys  tmp  usr  var
chronos@localhost / $ ls /home
chronos  root  user
chronos@localhost / $ cd /home/chronos/user/Downloads/
chronos@localhost / $ cd
chronos@localhost ~ $ pwd
/home/chronos/user
chronos@localhost / $ cat /etc/os-release
BUILD_ID=11895.95.0
NAME=Chrome OS
ID_LIKE=chromiumos
GOOGLE_CRASH_ID=ChromeOS
VERSION_ID=74
BUG_REPORT_URL=https://crbug.com/new
VERSION=74
HOME_URL=https://www.chromium.org/chromium-os
ID=chromeos
Welcome to crosh, the Chrome OS developer shell.

If you got here by mistake, don't panic!  Just close this tab and carry on.

Type 'help' for a list of commands.

crosh> shell
chronos@localhost / $ ls
bin     dev  home  lib64       media  opt       proc  run   sys  usr
debugd  etc  lib   lost+found  mnt    postinst  root  sbin  tmp  var
chronos@localhost / $ pwd
/
chronos@localhost / $ ls /home
chronos  root  user
chronos@localhost / $
  • Create an alias
    $ echo 'alias sshnocheck="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" ' >> ~/.bashrc

Chrome OS

Alternatives

Chrome OS Flex (Previously CloudReady)

Fyde OS

https://fydeos.io/. It is easy to install playstore in Fyde OS.

Ubuntu Web OS

https://ubuntu-web.org/. It includes Anbox to run Android apps.

Firmware update, Powerwash

How to update Chrome OS firmware to improve security

Support of software updates

Google gives some Chromebooks another 3 years of support

How to Enable USB Booting on Chromebook, remove chromeOS

Chromebook recovery utility

https://chrome.google.com/webstore/detail/chromebook-recovery-utili/jndclpdbaamdhonoechobihbbiimdgai I have tested it on a Windows computer. Note: Linux is not supported.

To boot from a usb drive, hold ESC+F3 (refresh) and then press down the Power button together.

To erase the usb drive, use the same utility (settings icon) to do it.

Function keys

  • F3: refresh
  • F8: mute
  • F9: decrease volume
  • F10: increase volume

Chromebook keyboard shortcuts

Search key

Chromebook has a dedicated Search key. It is located on the Caps Lock key on a regular Windows keyboard.

If you are using a regular keyboard, the Windows key in between Ctrl and Alt will work as the search key.

Change search key to cap key

How To Change Search Key Function On Chromebook. Just go to Settings > Keyboard and you can remap the key.

Home and End keys

  • Home: Search key (Caps Lock key ) + left arrow. Or Ctrl + Alt + Up.
  • End: Search + right arrow. Or Ctrl + Alt + Down.

Page up/down

  • To replicate “page up” key functionality, simply press alt + ↑
  • To replicate “end” key functionality, simply press alt + ↓

Page backward

  • Alt + Left arrow
  • Go to the next page in your browsing history Alt + Right arrow

Dock a window to the left/right side of your screen

  • Alt + [: left side
  • Alt + ]: right side

Check available space

  • Open Downloads (Ctrl + j) tab and go over to the upper right corner of the window and click on the menu button (three dots in a row) and pick 'Open downloads folder'
  • On the new window click again the menu button. It will show how much space is left.

Network share files (SAMBA) for file transfer

Surprise Me wallpaper

https://productforums.google.com/forum/#!msg/chromebook-central/Imhld5eSqAA/sgcFjnOhBgAJ

Text editor

Caret

Install Firefox

https://www.howtogeek.com/357693/how-to-install-firefox-in-chrome-os/

How to Instantly Improve Your Chromebook’s Bluetooth Performance

https://www.howtogeek.com/fyi/how-to-instantly-improve-your-chromebooks-bluetooth-performance/#comments

Printer support

https://support.google.com/chromebook/answer/7225252?hl=en&ref_topic=3399712

After I have changed my (low) toner, my printer (brother MFC-L2710DW) works in my chromebook.

Android apps

We can install KeePassDroid.

Multiple desks

Set up & manage multiple desktops with Virtual Desks

Touchpad

Use your Chromebook touchpad, How to Use Virtual Desk in Chrome OS

  • Swipe using three fingers to switch between tabs.
  • Tap with three fingers to close a tab (or Ctrl + w).
  • Tap a link with three fingers to open a new tab.
  • Swipe up or down to see all windows (like the Overview key/F5 right next to Full screen).

Install Windows

You Can Install Windows on Chromebook: Here's How

Gallium OS: Dual boot Chrome OS and Ubuntu

Username: chrx, Password: chrx

Installation

It seems the Kodi EZ script can be run in any shell environment (not just the shell opened via Ctrl+Alt+F2 in Developer mode). See Asus Chromebox With Windows 10. If I run the script from a standalone GalliumOS terminal, the first 5 options (Dual Boot) will be greyed out; only options 6 & 7 (Standalone) are available.

After installing GalliumOS as a standalone (including running an upgrade), the available disk space becomes 11G (= 15G - 3.1G). The partition table is clean rather than very complicated when the machine is dual boot.

Disable Firmware Write Protect & Set Boot Options

http://kodi.wiki/view/chromebox#Disable_Firmware_Write_Protect

This step is required to change the default boot target and the time out. See the Set Boot Options in Kodi E-Z Setup Script.

Crouton in Chrome OS

Like virtualization, chroots provide the guest OS with their own, segregated file system to run in, allowing applications to run in a different binary environment from the host OS. Unlike virtualization, you are not booting a second OS; instead, the guest OS is running using the Chromium OS system. The benefit to this is that there is zero speed penalty since everything is run natively, and you aren't wasting RAM to boot two OSes at the same time. The downside is that you must be running the correct chroot for your hardware, the software must be compatible with Chromium OS's kernel, and machine resources are inextricably tied between the host Chromium OS and the guest OS. What this means is that while the chroot cannot directly access files outside of its view, it can access all of your hardware devices, including the entire contents of memory.

To launch ubuntu next time, Ctrl + Alt+t to open a new tab, type 'shell' to enter a shell. Then type sudo startgnome. To exit ubuntu, pick 'log out' from the upper-right corner.

Compare to Linux Beta

Easily add a Linux desktop interface to your chromebook - KDE plasma

How to Set Up and Use Linux Apps on Chromebooks

  • Linux beta and crouton can coexist
  • Linux beta is not quite stable. When I try 'htop', it does not show enough RAM. And it also cannot refresh. (Mar 2019)
  • ssh to a remote server will be disconnected after a while for some reason by using Linux App's Terminal app.

Developer mode

How to Enable Developer Mode on Your Chromebook

To enter a recovery mode, press ESC + F3(refresh) + Power. It will reboot.

Press Ctrl + D (the shortcut is not listed on the screen) at the recovery screen. You’ll see a screen saying “To turn OS Verification OFF, press ENTER.” Press Enter to enable developer mode.

From now on, every time you boot the computer, it will show "OS verification is OFF". Again, press Ctrl + D to continue.

It is interesting when I wipe the computer and reset ChromeOS to the Developer Mode, it will remembers the settings I have last time (shelf/docker/launcher/taskbar on the left hand side).

Cheat sheet

Quick start

After we downloaded crouton, use ctrl+alt+t to open a new tab, type shell and Enter.

sh ~/Downloads/crouton
sh ~/Downloads/crouton -t help   # show available targets
sh ~/Downloads/crouton -r list   # show available linux distributions
sudo sh ~/Downloads/crouton -n trusty -u -t xorg 
    # trusty is the name of the chroot, xorg is a target; multiple targets separated by common is OK
    # The "-u" option is to update crouton, "-t xorg" is optional.
sudo startunity

For reference purpose,

chronos@localhost / $ sh ~/Downloads/crouton 
crouton [options] -t targets
crouton [options] -f backup_tarball
crouton [options] -d -f bootstrap_tarball

Constructs a chroot for running a more standard userspace alongside Chromium OS.

If run with -f, where the tarball is a backup previously made using edit-chroot,
the chroot is restored and relevant scripts installed.

If run with -d, a bootstrap tarball is created to speed up chroot creation in
the future. You can use bootstrap tarballs generated this way by passing them
to -f the next time you create a chroot with the same architecture and release.

crouton must be run as root unless -d is specified AND fakeroot is
installed AND /tmp is mounted exec and dev.

It is highly recommended to run this from a crosh shell (Ctrl+Alt+T), not VT2.

Options:
    -a ARCH     The architecture to prepare a new chroot or bootstrap for.
                Default: autodetected for the current chroot or system.
    -b          Restore crouton scripts in PREFIX/bin, as required by the
                chroots currently installed in PREFIX/chroots.
    -d          Downloads the bootstrap tarball but does not prepare the chroot.
    -e          Encrypt the chroot with ecryptfs using a passphrase.
                If specified twice, prompt to change the encryption passphrase.
    -f TARBALL  The bootstrap or backup tarball to use, or to download to (-d).
                When using an existing tarball, -a and -r are ignored.
    -k KEYFILE  File or directory to store the (encrypted) encryption keys in.
                If unspecified, the keys will be stored in the chroot if doing a
                first encryption, or auto-detected on existing chroots.
    -m MIRROR   Mirror to use for bootstrapping and package installation.
                Default depends on the release chosen.
                Can only be specified during chroot creation and forced updates
                (-u -u). After installation, the mirror can be modified using
                the distribution's recommended way.
    -M MIRROR2  A secondary mirror, often used for security updates.
                Can only be specified alongside -m.
    -n NAME     Name of the chroot. Default is the release name.
                Cannot contain any slash (/).
    -p PREFIX   The root directory in which to install the bin and chroot
                subdirectories and data.
                Default: /usr/local, with /usr/local/chroots linked to
                /mnt/stateful_partition/crouton/chroots.
    -P PROXY    Set an HTTP proxy for the chroot; effectively sets http_proxy.
                Specify an empty string to remove a proxy when updating.
    -r RELEASE  Name of the distribution release. Default: precise,
                or auto-detected if upgrading a chroot and -n is specified.
                Specify 'help' or 'list' to print out recognized releases.
    -t TARGETS  Comma-separated list of environment targets to install.
                Specify 'help' or 'list' to print out potential targets.
    -T TARGETFILE  Path to a custom target definition file that gets applied to
                the chroot as if it were a target in the crouton bundle.
    -u          If the chroot exists, runs the preparation step again.
                You can use this to install new targets or update old ones.
                Passing this parameter twice will force an update even if the
                specified release does not match the one already installed.
    -V          Prints the version of the installer to stdout.

Be aware that dev mode is inherently insecure, even if you have a strong
password in your chroot! Anyone can simply switch VTs and gain root access
unless you've permanently assigned a Chromium OS root password. Encrypted
chroots require you to set a Chromium OS root password, but are still only as
secure as the passphrases you assign to them.

How to Manage the Crouton Linux System

https://www.howtogeek.com/210047/how-to-manage-the-crouton-linux-system-on-your-chromebook/

  • Target (Unity, KDE, GNOME, LXDE, Enlightenment):
sh ~/Downloads/crouton -t help
  • Linux distribution and release
sh ~/Downloads/crouton -r list
  • Update a Crouton Chroot
sudo sh ~/Downloads/crouton -u -n trusty
  • Encrypt the chroot
sudo sh ~/Downloads/crouton -u -e -n trusty
  • Create Multiple Chroots
sudo sh ~/Downloads/crouton -r trusty -t lxde,xiwi -n testchroot
  • Back Up a Chroot
sudo edit-chroot -b trusty
  • Delete a Chroot
sudo delete-chroot trusty

How to Run a Full Linux Desktop in a Browser Tab on Your Chromebook

References:

  1. Go to Developer Mode. Hint ESC + F3(refresh) + Power.
  2. Install Crouton integration extension for Chrome (not optional).
  3. Download crouton https://goo.gl/fd3zc
  4. Open a terminal (Ctrl+Alt+t). Type shell. Then run
# sudo sh ~/Downloads/crouton -r trusty -t xfce,xiwi
sudo sh ~/Downloads/crouton -t xfce,xiwi # It will ask a new username/password
sudo startxfce4

The crouton integration extension allows to put the new Linux desktop as a new Window (i.e. a new icon will be shown in the taskbar) in Chrome OS. Perfect!! So you can copy and paste text from Chrome browser to Terminal in Linux. Note that clicking the browser icon in Linux won't open its browser (NetSurf). It will just opens a new tab in Chrome OS.

Click the "X" icon on top to exit the full screen mode in Xubuntu. You can also use Alt+Tab to switch between ChromeOS and Xubuntu.

After I played with Xubuntu, I found several commands are not available. Do the following:

# ssh command not found
sudo apt install openssh-client

# add-apt-repository not found
sudo apt-get install software-properties-common python-software-properties

How to Run Linux Apps on a Chromebook Without Opening a Full Linux Window

https://www.howtogeek.com/343222/how-to-run-linux-apps-on-a-chromebook-without-opening-a-full-linux-window/ (2018)

https://www.linuxuprising.com/2018/12/crouton-how-to-run-linux-applications.html

Asus chromebox M075U

Chinese character in gnome shell

It is related to locale. By default, it is

(trusty)brb@localhost:~$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

Disk space

Test on my HP Chromebox CB1-014 Desktop (Intel Celeron 2955U Processor 1.4 GHz, 2GB DDR3, 16GB storage)

  • The disk space returned from 'df -h' in Chrome OS (First).
  • The disk space returned from 'df -h' in Ubuntu (Second)
  • The system status returned from 'htop' in Ubuntu (Third)

Chrome shell.png Crouton ubuntu.png Crouton ubuntu2.png

Sharing files/directories

https://github.com/dnschneid/crouton/wiki/Sharing-files-and-folders

The ChromeOS's Downloads folder is accessible in Ubuntu's ~/Downloads/ directory.

ifconfig

Located in /sbin directory.

$ whereis ifconfig
ifconfig: /sbin/ifconfig /usr/share/man/man8/ifconfig.8.gz

# CROUTON (missing /usr/local/sbin, /usr/sbin, /sbin)
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

# Regular Ubuntu
$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

Running servers in crouton

https://github.com/dnschneid/crouton/wiki/Running-servers-in-crouton

Check battery health

https://www.howtogeek.com/309971/how-to-check-your-chromebooks-battery-health/

To check the battery cycle count, use battery_firmware info command in a crosh terminal.

Crotini

Chrultrabook

Manage Google Account

Use Google drive offline

Chrome Experiments

Twitter

Google Takeout