<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Expo handbook - Chromebooks</title>
<link rel="stylesheet" type="text/css" href="/css/main2.css" />
</head>
<body>
<h2 id="tophead">CUCC Expedition Handbook</h2>

<h1>Chromebooks</h1>
<p>This is the situation in November 2024. If you are reading this at a much later date, please edit and correct this page.

<h3>Basic Use</h3>
You do not need to install any software to use a Chromebook (even a very old one) to do the <a href="basiclaptop.html">basic laptop</a> stuff:
<ul>
<li>interact with the website, 
<li>upload photos, GPS tracks, 
<li>upload scanned drawings or scanned raw survey notes. 
<li>You can create and online-edit survey wallet data. 
  <li>Edit pages in the handbook like this one.
<li>You can create new records for <a href="../survey/cavedescription.html">entirely new caves</a>,
<li>manage QMs in new discoveries and 
<li>type in <a href="../survey/cavedescription.html">cave descriptions</a> directly into the website.
</ul>
<p>But that's it pretty much. While the rest of this page gives some hints for doing some other stuff, with great difficulty, it's not really worth it. A Chromebook fundamentally <em>is</em> a an expo  <a href="basiclaptop.html">basic laptop</a>.
</p>
<h3>Survey Laptop Use - not really</h3>

<p>Basically: No.

<p>Chromebooks do not have any way of locally running Tunnel, Survex or Therion. So you can't create a centre-line plot or trave over a centre-line plot to create a cave survey.

<p>To a very, very limited extent you can get around this for survex by running Survex/Cavern <a href="/survexfile/caves-1623/264/watertorture.svx">on the expo server</a>, where you can type in and edit survex files. This will serve to check for syntax errors. But it won't give you a .3d file you can visually spin around in 3D and you can't print out a centre-line plot.
<p>If you really want to run tunnel or therion you need to enable Linux (see below).
<p>If you are a programmer, you can try an Android app (recent Chromebooks only) to run Java and then run Tunnel in that. 
Good luck. Let us know how you get on...</p>   

<h3>Bulk-update Laptop Use - tricky</h3>
<p>This is when you need to handle large numbers of files. This is where you would need to get the 
<a href="keyexchange.html">key-exchange thing</a> sorted out so you can use ssh.

<p>OK, so you can't do any of the cave survey jobs with tunnel or therion, but there are some cave data management jobs you <em>might</em> want to do, such as 
<ul>
<li>restart the server or 
<li>rename a whole load of files when a cave gets a kataster number, e.g. when Balkonh&ouml;hle got renamed from 2002-05 to 1623-264. Or, 
<li>with ssh, you would even be able to log in to the server and reset all the data imports to troggle (nerds only).
</ul>

<p>This is where what you can do critically depends on precisely <em>how old</em> your Chromebook is. 
  <p>The oldest Chromebooks can't run Android apps or Chrome Browser Extensions. They can't install or run the FTP capability in the Chromebook Files App either. Anything after 2019 should run Crostini (see below) and the most recent can run <a href="https://www.techrepublic.com/article/pro-tip-how-to-use-secure-shell-from-your-chromebook/">ssh Chromebook Apps</a>. 

<h4>Enabling ssh and scp - access Linux apps</h4>
<p>You may not need to install any software to get <var>scp</var> or <var>ssh</var> running either: these are pre-installed on every Chromebook as part of ChromeOs, but getting to them is not so easy. 
<p>Read <a href="https://support.google.com/chromebook/answer/9145439?hl=en">Linux on your Chromebook</a>.
<p>Either enable <a href="https://chromeos.dev/en/linux">Crostini</a> or, on a pre-2019 Chromebook, do this:
<ul>
   <li>Boot into <a href="https://www.businessinsider.com/guides/tech/chrome-os-developer-mode?r=US&IR=T">Developer Mode</a> (which deletes all user data, so do this when you buy the thing, not later).
   <li>Visit the special <a href="https://chromium.googlesource.com/chromiumos/docs/+/HEAD/developer_mode.md">[crosh] </a> web page in the Chrome browser by pressing Ctrl-Alt-T
   <li>type <var>shell</var> which then puts you into a bash session 
   <li> Now you can access ssh, ssh-keygen, sftp and scp (but not rsync) from the command line. 
   <li>NB The default user is 'chronos' and they keys will be generated in <var>/home/chronos/user/.ssh/</var> so generate them using the command <var>ssh-keygen -C myrealname@mychromebook</var> and get the public key copied ot the expo server as it instructs in <a href="https://expo.survex.com/handbook/computing/keyexchange.html">Key Pair setup</a>.
   <li>You will need to remember to boot into Developer Mode <em>every time you login</em>, so this is extremely (probably unuseably) clunky.
</ul>

<p>Alternatively you can run the Chrome extension <a href="https://mosh.org/">'mosh'</a>, which achieves the same thing as ssh, but this will stop working at the end of 2022 unless someone re-writes it. 

<p>Or you could get rid of the Chromebook software entirely install a full Ubuntu system 
<a href="https://uk.pcmag.com/linux/135719/how-to-install-linux-on-your-chromebook">instead</a> (realistically only for Intel Chromebooks - old ARM Chromebooks are paperweights, sadly).
<hr />
Return to <a href="basiclaptop.html">Setting up a basic laptop</a><br>
Return to <a href="surveylaptop.html">Setting up a survey laptop</a><br />
Go on to: <a href="bulkupdatelaptop.html">Bulk Update laptop</a>
<hr /></body>
</html>