44 lines
2.9 KiB
HTML
44 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>This is your Life Raft</title>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css">
|
|
</head>
|
|
<body>
|
|
|
|
<main class="container">
|
|
<header>
|
|
<h1>🛟 This is your Life Raft</h1>
|
|
</header>
|
|
<ol>
|
|
<li>
|
|
<button onclick="copyCode()">click here to copy this code</button>
|
|
<code id="codeBlock">curl -O https://liferaft.altweb.me/rustdesk.sh && chmod +x rustdesk.sh && ./rustdesk.sh</code>
|
|
</li>
|
|
<li>
|
|
Open the start menu either by holding the <pre>CTRL</pre> key and clicking <pre>ESC</pre>
|
|
or by clicking the button in the lower left hand corner of the screen.
|
|
</li>
|
|
<li>Open the terminal thusly:
|
|
<img decoding="async" width="812" height="237" alt="How to Open the Linux Terminal on Chromebook image 2" src="https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook.png" data-lazy-type="image" data-lazy-src="https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook.png" class="lazy wp-image-54440 lazy-loaded" data-lazy-srcset="https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook.png 812w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-300x88.png 300w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-768x224.png 768w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-610x178.png 610w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-80x23.png 80w" data-lazy-sizes="(max-width: 812px) 100vw, 812px" srcset="https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook.png 812w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-300x88.png 300w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-768x224.png 768w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-610x178.png 610w, https://helpdeskgeek.com/wp-content/pictures/2021/10/02-open-linux-terminal-chromebook-80x23.png 80w" sizes="(max-width: 812px) 100vw, 812px">
|
|
</li>
|
|
<li>
|
|
Paste into the terminal by clicking <pre>CTRL-SHIFT-V</pre>.
|
|
</li>
|
|
</ol>
|
|
</main>
|
|
<script>
|
|
function copyCode() {
|
|
const codeBlock = document.getElementById('codeBlock').innerText;
|
|
navigator.clipboard.writeText(codeBlock).then(() => {
|
|
alert('Code copied to clipboard!');
|
|
}, (err) => {
|
|
console.error('Error in copying text: ', err);
|
|
});
|
|
}
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|