Posted on Leave a comment

Delete Site Cache from Chrome

Chrome, why are you such crap at simple things? I need to delete the cache/cookies from a single website. It appears impossible these days. There is an odd work around, as follows:

> Three Dots 
    > Advanced 
        > Content Settings 
            > Cookies 
                > See All Cookie and Site Data 
                     > {Search for site} 
                          > Remove All Shown

For good measure, also go do:

> Three Dots 
    > Advanced 
        > Clear Browsing Data 
            > Cached Images and Files (only)

Yeah, what a joke. I sure wish there was an extension/plugin that would allow for a single click, but not that I can find.

Posted on

Kindle on ChromeOS

Dealing with a Kindle (and ebook collection) on ChromeOS requires a different set of tactics than the more straightforeward use of Calibre (unless using it in Crostini is a choice).

Functionality Required for Kindle on ChromeOS

The basic functionality required includes:

  • Uploading to Kindle device;
  • Downloading from Kindle device;
  • Converting files from epub to mobi (to get epubs into the Kindel) and azw to epub, plus some cracking software, to get azw to epub (ebooks bought off the Amazon Kindle store)

Calibre on Debian (ChromeOS with Linux Container Crostini)

Below includes various work-around options, but the functionality and ease of operation (the kludgy interface notwithstanding) of Calbre makes that the go-to option.

Note that the instructions for installing Calibre on Linux on the Calibre website are garbage. Just used the standard Debian install command and agree to install dependences.

sudo apt-get install calibre

Note that as of 25-aug-2019, the usb interface is still not yet available to the Linux Container VMs in Crostini. However it appears there was work being done on it, according to the Chromium bugtracker, but that issue was closed when the usb worked on crossvm for Android (only) and not the Linux vm.

Uploading to the Kindle Device from ChromeOS

Uploading from ChromeOS to a Kindle device is done in one of two ways:

  • Plug in Kindle over USB and copy a *.mobi file in it to the Kindle /documents/ directory using the ChromeOS File Manager
  • Install the Kindle Android app and an Android File Manager app. Once this is done, right-clicking on a *.mobi file will include the option of sharing/sending, and then select the Send to Kindle option.

Downloading from a Kindle device with ChromeOS

  • The simplest approach is to do so with a file manager (ChromeOS or Android) over USB. This is generally a good approach, just copy the new books into the /content directory.
  • Unfortunately sometimes there are several files rather than a single one, in which case downloading from the Amazon store Manage my Content and Devices section. Clicking on the three dots next to any given ebook (not including samples) includes the option Download and Transfer via USB.
Posted on

Crostini – Linux on ChromeOS

Once configuring Linux apps, a default debian 9 (stretch) container is created. The default login is username@penguin. From there: - sudo apt update - sudo apt upgrade


Things to do: modify boot drive (resize), mount new drive on external media and use for app installation, update fonts in that environment to improve Inkscape, GIMP, etc.

Posted on

ChromeOS Keyboard Shortcuts

Hardware Key Differences

  • No Windows key, no Command key
    • However external keyboards can have these mapped to other keys
  • Capslock Key replaced by Search Key
    • Shft+Search = Capslock

Remap Keys

> Settings > Device > Keyboard - Remap Capslock to Search key on external keyboards - Remap External Meta (aka Win/CMD) to Control Key - this will preserve the keys pressed for basics such as select all, copy, paste, undo, find, etc.

Function Keys

Function keys can generally be accessed by a Function Key and a Function Number Key. In ChromeOS, the top row functionality can be accessed on external keyboards via Fn+Fn#. Here are the top row functional keys in ChromeOS: Key | Function in ChromeOS ------|--------------------- Esc | Esc Fn-1 | Previous/Last Fn-2 | Forward/Next Fn-3 | Reload page (also Ctrl+R) Fn-4 | Fullscreen Toggle Fn-5 | Overview (akin to Alt+Tab, Alt+Shift+Tab) Fn-6 | Dim Fn-7 | Brighten Fn-8 | Mute Fn-9 | Volume Down Fn-10 | Volume Up Lock | Lock There is a setting in > Settings > Keyboard to change the top row to Function keys (for app-specific needs), and also they can be accessed by using Search+1-12. Note that these keys and settings effect the internal keyboard as well as external keyboards

Help Keyboard Shortcuts

Key Function in ChromeOS
Ctrl+Shift+/ Help
Ctrl+Alt+/ Keyboard shortcuts

Chrome Browser Keyboard Shortcuts

Key Function in ChromeOS
Ctrl+Alt+T Terminal (Crosh)
Ctrl+R Reload tab
Ctrl+Tab, Ctrl+Shift+Tab next and previous tabs
Ctrl+T, Ctrl+N new tab, new window

ChromeOS Keyboard Shortcuts

Key Function in ChromeOS
Ctrl+Space Switch Languages
Shift+Search+L Sleep (Suspend)
Ctrl+Shift+F5 (Overview) Partial screenshot
Ctrl+F5 (Overview) Screenshot
Alt+1 (to 8) Launch one of the first 8 apps on the shelf
Ctrl+. Display hidden files in Files app

Keyboard Settings

> Settings > Languages and Input > Show input options in the shelf

Other Notes

See also the following (the above is incomplete and can be supplemented) ...

Posted on

OSX to ChromeOS

Executive Summary

Moving from OSX to ChromeOS can be complex because the ChromeOS ecosystem includes Android and Linux applications, though support for those platforms are not fully implemented as of July, 2018.

Nevertheless there enough advantages to make a comprehensive attempt at such a migration desirable at this point in time. My personal reasons include an upcoming end-of-life for a 2011 Macbook Air and the strong impulse to avoid OSX, as it is becoming less and less stable and the future is not very inspiring or trust-engendering.

At the same time, the incremental progress in ChromeOS, Android, and Linux applications makes a system that can support all of these all the more interesting.

Update June 2019

Update June 2019 - It is best to treat ChromeOS as a full Chrome Browser + Android applications + Linux applications. There are a few ChromeOS apps that are superior (slightly) to ChromeOS Extensions (for example the Chrome Secure Shell app) but in general, go with the Android ecosystem for most functionality.

For actual OSX-like functionality then a Linux desktop of some kind is (still) needed, though for a part-time, mobile (e.g., travel) solution, ChromeOS and its Android and Linux app support is pretty neat.

ChromeOS Apps

  • Calculator
  • Cog (system resources display)
  • Secure Shell

Android Apps

  • Barcode Scanner
  • Google Maps
  • Keepass2Android
  • mpv
  • OpenVPN Connect
  • QuickEdit Pro
  • Syncthing
  • Telegram

Linux Apps

  • Inkscape
  • ImageMagick

There are many more Android Apps that could be installed, if I wanted to use the ChromeOS device as my primary mobile device. Also, If I wanted to edit videon the the ChromeOS device, then Shotcut would be my go-to solution.

Chrome Extensions (mid 2019)

For completeness here are some chrome extensions

  • AdGuard AdBlocker
  • Checker Plus for Gmail
  • Checker Plus for Google Calendar
  • ColorZilla
  • Darkness
  • EditThisCookie
  • Mailto: for Gmail
  • Multiple Twitter Accounts
  • MyIP Cam
  • Personal Blocklist (by Google)
  • Quick Javascript Switcher
  • Secure Shell Extension
  • SomaPlayer
  • Video Adblocker for Youtube
  • Yet another flags

Keyboard Issues

There are several converging issues with keyboards, specificially external hardware keyboards, configuring them, and also learning the new shortcuts for various commands, including:

Command Keystroke
Sleep/suspend Shift + Search + L
Task list Search + Esc
Crosh shell Ctrl + Alt + T
Screenshot Shift + Ctrl + Fn + Fn-5
Keyboard layout Shift + Ctrl + Space (akin to the Win/CMD + Space keystroke)

See the list of ChromeOS keyboard issues and keyboard shortcuts

Migration Issues and Platform Limitations

The biggest issues are around what ChromeOS cannot do, such as limitations on hardware support of certain printers, scanners, the limitations on supported Android apps, and the Linux container used in Crostini for Linux apps. Besides this there are the hardware limitations of certain devices, such as the standard issue of there being enough RAM and local SSD storage.

OSX Applications and Utilities

The applications and utilites in need of a comparable set on ChromeOS are many. In some cases there are identical applications on one platform or another. In other cases a different application needs to be used. Using the same Apps that are available on a mobile (Android) device is a good solution, since the apps are already known. In general, preferred precedent should be as follows:

  • Websites
  • ChromeOS Apps
  • Android Apps
  • Linux Apps

Some examples:

  • Telegram Chrome App vs. Android App (which is not fully functional on ChromeOS).
  • Caret Chrome App vs. Android, Linux App
  • Twitter website vs. Android App
  • YouTube website vs. Android App (more control over ads/adblockers)

In the future there may be a preference for Linux Apps over other Apps. The main idea is that websites are less complex and may be more functional than ChromeOS Apps, and the like. For example, Git Issues is best on the web, as well as Trello and Wunderlist.

Certainly choices that do not represent the order of precendence on a case-by-case basis.

Plain Websites

  • Github

Note: I've not standardized on a set of github apps (besides git and the website).

ChromeOS Apps

  • SomaFM - Internet Radio
  • Checker Plus for Gmail; Checker Plus for Google Calendar

Android Apps that work in ChromeOS/Android Environment

  • Keepass2Android
  • OpenVPN Connect
  • Foscam
  • Google Maps
  • Telegram
  • mpv
  • Syncthing
  • Barcode Scanner
  • QuickEdit Pro

Linux Apps that work in ChromeOS/Linux Environment

  • GIMP
  • Inkscape

Outstanding Issues to Fix

  • Replace Optim with Trimage
  • Resize/Relocate boot or data storage for Crostini (to sdcard)
  • Printing/Scanning with new Cloud-friendly device (Samsugn Xpress SL-M2070?)
  • Enhance syntax highlighting in Caret
  • Get Calibre running with Kindle (sysfs) when available
  • Implement access to GoogleDrive inside penguin crostini lx container
  • Implement new fonts in Crostini but also more importantly in Crostini linux container to run Inkscape, etc.
  • Install Duo when it (finally) becomes available on the Chromebook
Posted on

Chrome Browser on Debian

Install Chrome on Debian

sudo wget
sudo dpkg -i google-chrome-stable_current_amd64.deb

Create a Shortcut on Debian to Chrome

Create a shortcut with the following command line:

/usr/bin/google-chrome-stable --password-store=basic  %U

Update Chrome on Debian

Simply run the first two commands to update Chrome on Debian, every, time.