id: e6cdb45cb73942bdb0acfda928e4fe15
parent_id: 
item_type: 1
item_id: 853918bc61e8458fb87ff163a5efe2b1
item_updated_time: 1764345570728
title_diff: "[{\"diffs\":[[1,\"dnschneidcrouton\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":16}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>dnschneid/crouton</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"11492\\\"></a>\\\r\\\n<h1>dnschneid/crouton</h1>\\\r\\\n\\\r\\\n<div><span><div style=\\\"-evernote-webclip:true\\\"><br/><div><div><div><div><h1>Crouton Command Cheat Sheet</h1><div><div></div></div></div>\\\n        <div>\\\n          David Schneider edited this page <span>on 20 Oct 2016</span>\\\n          ·\\\n          <a href=\\\"https://github.com/dnschneid/crouton/wiki/Crouton-Command-Cheat-Sheet/_history\\\" target=\\\"_blank\\\">\\\n            19 revisions\\\n          </a>\\\n        </div>\\\n    \\\n  \\\n  \\\n    \\\n\\\n    \\\n\\\n    \\\n        \\\n          <h3>\\\nLearn to talk to Crouton</h3>\\\n<ul>\\\n<li>List <strong>targets</strong> (<code>-t</code>): <code>sh ~/Downloads/crouton -t help</code><br/>\\\nor <code>sh ~/Downloads/crouton -t list</code>\\\n</li>\\\n<li>List supported Linux <strong>releases</strong> (<code>-r</code>): <code>sh ~/Downloads/crouton -r list</code>\\\n</li>\\\n<li>List all installed <strong>chroot names</strong> (<code>-a</code>): <code>sudo edit-chroot -a</code>\\\n</li>\\\n<li>List all installed <strong>chroot names with croutonversion</strong> (<code>-al</code>): <code>sudo edit-chroot -al</code>\\\n</li>\\\n<li>Check the crouton <strong>version</strong> (must run <em>within</em> a chroot): <code>croutonversion -u -c</code> (run <code>croutonversion -h</code> for more info)</li>\\\n<li>\\\n<strong>Update</strong> a chroot: <code>sudo sh ~/Downloads/crouton -u -n chrootname</code>. Note: this will update crouton and all installed targets.</li>\\\n<li>\\\n<strong>Update</strong> a chroot while adding new target(s): <code>sudo sh ~/Downloads/crouton -u -n chrootname -t targets_you_want_to_install_separated_by_commas</code>\\\n</li>\\\n<li>\\\n<strong>Backup</strong> a chroot to an SD Card: <code>sudo edit-chroot -f /media/removable/SD\\\\ Card/ -b chrootname</code> (assumes the name of your SD Card is &quot;SD Card&quot;)</li>\\\n<li>\\\n<strong>Backup</strong> a chroot to a USB drive: <code>sudo edit-chroot -f /media/removable/your_path_on_drive -b chrootname</code>\\\n</li>\\\n<li>\\\n<strong>Restore</strong> from a backup: <code>sudo edit-chroot -f /media/removable/your_path_on_drive -r chrootname</code>\\\n</li>\\\n<li>Learn more about edit-chroot (i.e., man page): <code>edit-chroot</code>\\\n</li>\\\n<li>\\\n<strong>Delete</strong> a chroot: <code>sudo delete-chroot name_of_evilchroot</code>\\\n</li>\\\n<li>\\\n<strong>Rename</strong> a chroot: <code>sudo edit-chroot source -m destination</code>\\\n</li>\\\n<li>\\\n<strong>Switch</strong> between xorg and xiwi if both installed: <code>sudo startxfce4 -X xiwi</code> or <code>sudo startxfce4 -X xorg</code> (replace <code>startxfce4</code> with your interface shortcut from the setup).</li>\\\n<li>\\\n<strong><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">Mount</span></strong><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\"> a chroot and enter the 'shell': </span><code><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">sudo enter-chroot -n chrootname</span></code><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\"> (run </span><code><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">mount-chroot</span></code><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\"> for more info)</span></li><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">\\\n</span><li><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">\\\n</span><strong><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">Unmount</span></strong><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\"> a chroot: </span><code><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">sudo unmount-chroot chrootname</span></code><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\"> (run </span><code><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">unmount-chroot</span></code><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\"> for more info). Using the -f switch can be helpful for freeing up orphaned processes from 'xiwi -T' apps that mounted in the background using the 'enter-chroot -b' background exec.</span></li><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">\\\n</span><li><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">\\\n</span><strong><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">Launch a single app in a Window</span></strong><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\"> in the background</span><sup><a href=\\\"https://github.com/dnschneid/crouton/wiki/Crouton-Command-Cheat-Sheet#myfootnote1\\\" target=\\\"_blank\\\"><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">1</span></a></sup><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">: </span><code><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">sudo startxiwi -b -n chrootname app_name</span></code><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\"> (e.g., </span><code><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">xterm</span></code><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">)</span></li>\\\n<li>\\\n<strong>Launch a single app in a Tab</strong>: <code>sudo startxiwi -n chrootname -T app_name</code> (e.g., <code>-T xterm</code>)</li>\\\n</ul>\\\n<p><em>Notes</em></p>\\\n<ul>\\\n<li>Think of some notations as variables in an equation. For example, substitute the name of your chroot for <code>chrootname</code> or <code>name_of_evilchroot</code>.</li>\\\n<li>Similarly, <code>source</code> is the name of the source chroot that you want to change, and <code>destination</code> is the new name of a chroot.</li>\\\n<li>Use the <code>-f</code> switch to define the path. The user download directory is <code>~/Downloads</code> and an external drive begins <code>/media/removable/</code>. To check your path, use <code>cd</code> and <code>ls</code> from within the shell. For example, enter <code>cd /media/removable/</code> and then <code>ls</code> to check.</li>\\\n<li>To run a chroot in a window you need the <a href=\\\"https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom\\\" target=\\\"_blank\\\">browser integration extension</a> and you must install <code>-t xiwi</code>. To run the old fashioned way, you need  <code>-t xorg</code>. To switch between the two, see above.</li>\\\n<li>Once you mount a chroot (see above) you can update and install packages. Stay away from the Ubuntu Software manager, and use the command line. See Ubuntu's <a href=\\\"https://help.ubuntu.com/community/AptGet/Howto\\\" target=\\\"_blank\\\">AptGet/Howto</a>.</li>\\\n</ul>\\\n<p><a name=\\\"user-content-myfootnote1\\\" target=\\\"_blank\\\">1</a>: When using the 'xiwi-app', if the Linux app that is being launched forks (to the background) - use the 'xiwi' <code>-f</code> option to keep xiwi running until all windows are closed. For more info, please see <a href=\\\"https://github.com/dnschneid/crouton/wiki/crouton-in-a-Chromium-OS-window-%28xiwi%29\\\" target=\\\"_blank\\\">this page</a> in the Wiki.</p>\\\n<p>Remember that you can copy and paste in the shell with Ctrl+Shift+C and Ctrl+Shift+V. For a bonus, try the up arrow key, the next time you're in the shell.</p>\\\n\\\n        </div></div></div><br/></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":7460}]"
metadata_diff: {"new":{"id":"853918bc61e8458fb87ff163a5efe2b1","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348826593,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:04:02.624Z
created_time: 2025-11-28T21:04:02.624Z
type_: 13