-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
210 lines (191 loc) · 15.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SEO -->
<title>Crouton Tips</title>
<meta name="description" content="Tips for the software Crouton that allows Chromium OS users to use full linux desktops like XFCE or KDE">
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
<!-- Embed -->
<meta property="og:title" content="Crouton Tips" />
<meta property="og:description" content="Tips for the software Crouton that allows Chromium OS users to use full linux desktops like XFCE or KDE! Made with love by Plextora" />
</head>
<body>
<header>
<div id="header">
<div class="socialButtons">
</a>
</div>
<div id="headerLeft">
<div id="menuToggle">≡</div>
</div>
<div id="headerRight">
<nav>
<ul>
<li><a href="https://github.com/Plextora/crouton-tips">Website Source Code</a>
<li><a rel="nofollow" href="https://plextora.itch.io">My Games</a>
<li><a rel="nofollow" href="https://plextora.github.io/Web-Page/">My Website</a>
</ul>
</nav>
</div>
</div>
</header>
<div id="wrapall">
<div id="sidebar">
<div id="stickThis">
<div id="sidebarContent">
<a id="logo">Important Links:</a>
<aside>
<a id="logo" href="https://github.com/dnschneid/crouton#readme">Crouton README.md</a>
<a id="logo" href="https://goo.gl/fd3zc">Crouton Download</a>
<a class="back2Top" href="#">⮝ Back to top ⮝</a>
</aside>
</div>
</div>
<div id="stick-here"></div>
</div>
<div id="main">
<section id="page">
<main>
<article>
<!-- Main Content -->
<h2>Crouton Tips</h2>
<p><strong>Tips for the software Crouton that allows Chromium OS users to use full linux desktops like XFCE or KDE</strong></p>
</article>
<article>
<h1><strong>Keep in mind that this website is still being worked on!</strong></h1>
<h2>If you encounter any grammatical errors or website bugs please report it on the</h2>
<h2><strong><a href="https://github.com/Plextora/crouton-tips/issues">GitHub Issues Page!</a></strong></h2>
<p> </p>
<h2><strong>Synchronized clipboard with Chromium OS and Crouton on Xorg!</h2></strong>
<p>If you're like me and love the benefit of a shared clipboard with Chrome OS and Crouton, Then you'll love the extension target! It syncs the Chrome OS and Crouton clipboards without lost performace from the window the xiwi
target provides. But you'll need the <a href="https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom">crouton extension.</a> This is how you would use it while installing a chroot:
<p> </p>
<p> </p>
<p style="padding: 10px; border: 2px solid green;">sudo crouton -n happiness -r focal -t extension,xfce</p>
</article>
<article>
<!-- Lightweight DE Talk -->
<h2><strong>What's the most lightweight DE (Desktop Environment) for Crouton?</h2></strong>
<p>In my opinion, the most lightweight DE that Crouton has available is the <a href="https://www.enlightenment.org">Enlightenment DE.</a> It's only 50mb, and it runs fast. But sadly, in my testing it only worked with Ubuntu Xenial,
which is slowly becoming more and more out of date.</p>
<!-- End of Lightweight DE Talk -->
</article>
<article>
<h2><strong>How to install Bionic Beaver</h2></strong>
<!-- Bionic Beaver Stuff -->
<p>If you try installing Bionic Beaver normally like this:
<p> </p>
<p> </p>
<p style="padding: 10px; border: 2px solid green;">sudo crouton -r bionic -t xfce</p>
<p> </p>
<p>you'll run into errors before you even get to create a new user. And you can't rerun the script. You have to delete the chroot and start all over again. The reason why the errors occurs seems to be becasue the package <strong>xserver-xorg-video-all</strong> never gets installed. So in order to fix this error, we'll need to install the barebones of a chroot:
<p> </p>
<p> </p>
<p style="padding: 10px; border: 2px solid green;">sudo crouton -r bionic -t core,audio,cli-extra</p>
<p> </p>
<p>This will install a base linux system with CLI. Then after creating a user, do this command:
<p> </p>
</p>
<p>
</p>
<p style="padding: 10px; border: 2px solid green;">sudo enter-chroot</p>
<p> </p>
<p>and then this one:</p>
<p> </p>
<p style="padding: 10px; border: 2px solid green;">sudo apt-get install xterm xinit</p>
<p> </p>
<p>which will install the <strong>xserver-xorg-video-all</strong> package. Now, finish your setup with something like:</p>
<p> </p>
<p style="padding: 10px; border: 2px solid green;">sudo crouton -n bionic -t x11,xorg,extension,keyboard,xfce -u</p>
<p> </p>
<p>And now you have a Bionic Beaver chroot!</p>
<p> </p>
<!-- End of Bionic Beaver Stuff -->
</article>
<article>
<!-- -b target stuff -->
<h2><strong>Tired of the annoying crosh window in the background? Here's how to fix it!</strong></h2>
<p>If it's your pet peeve that the crosh window is always running while you're on Crouton, there's a easy fix for it!</p>
<p>All you have to do is boot into your chroot like this:</p>
<p> </p>
<p style="padding: 10px; border: 2px solid green;">sudo startxfce4 -b</p>
<p> </p>
<p>And now your chroot will open and you can go back to Chrome OS and exit crosh!</p>
<p> </p>
<!-- End of -b target stuff -->
</article>
<article>
<!-- How to fix pp audio -->
<h2><strong>How to fix audio not working in Crouton</strong></h2>
<p>If audio in Crouton isn't working for you, there is a very handy fix for this. And in my experience I have to use this command every time start up my chroot to get audio working. To fix this, start up your chroot. Go into the terminal, And type in this command:</p>
<p> </p>
<p style="padding: 10px; border: 2px solid green;">pulseaudio --start</p>
<p> </p>
<p>Now, you should here some audio!</p>
<h3><a href="https://www.youtube.com/watch?v=pSVoqmugJVM">Here's a audio test for you to make sure it's working!</a></h3>
<!-- End of pp audio fix -->
</article>
<article>
<!-- Reducing ChromeOS load -->
<h2><strong>How to reduce load from ChromeOS Chrome</strong></h2>
<p>ChromeOS runs alot of Chrome processes. If you primarily use your chroot, use the -b command whenever you boot Crouton, and find Crouton very sluggish, this might be the fix for you! It kills alot of Chrome processes without breaking anything,</p><h4><strong>But any unsaved work will be lost!</strong></h4><p>Just copy paste the command below into your Linux Terminal.</p>
<p> </p>
<p style="padding: 10px; border: 2px solid green;">ps ax -o sess,pgrp,pid,cmd | awk '$4 ~ /\/chrome$/ { print $3 }' | xargs $nodo kill</p>
<p> </p>
<p>Currently on Chrome OS version 92, if you switch back to Chrome OS your Chromebook might freeze and open Chrome back open again, if this happens and you want them killed again just simply switch back to Crouton and run the command listed above again.</p>
<!-- End of Reducing ChromeOS load -->
</article>
<article>
<!-- How to control pp audio in Crouton -->
<h2><strong>How to control audio volume in Crouton</strong></h2>
<p>If you don't want to switch back to Chrome OS every time you want to turn up/down the volume, there's a fix for this!</p>
<p>Crouton has a way to turn up/down the volume within your chroot without having to always switch to Chrome OS, and it affects Chrome OS as well so audio is synced between the two! All you have to do is go into your Linux terminal and copy paste this in:</p>
<p> </p>
<p style="padding: 10px; border: 2px solid green;">alsamixer</p>
<p> </p>
<p>Then, you'll get a gui with a big vertical volume bar. You can use number keys 1-9 to quickly jump volume values (for example, pressing 1 goes to 10, 5 goes to 50, etc.) or you can use the arrow keys to go to more precise values. I recommend to keep the terminal open for quick volume changes. If you decide to keep your volume and not have it open, just simply close the terminal.</p>
<!-- End of pp audio control -->
</article>
<article>
<!-- Avoid data corruption and turn off sleep mode -->
<h2><strong>Avoid data corruption and turn off sleep mode!</strong></h2>
<p>ChromeOS by default has sleep mode turn on when you are inactive on your Chromebook. This feature actually still applies to Crouton and it could cause some problems, including data loss. So, in order to turn off sleep mode for ChromeOS and Crouton, go into ChromeOS settings, search "Sleep", and then click the first result. Set both options to "Keep display on" or "Turn off display". Just don't have it on the sleep option. And after that, it's done! No commands or anything for this tip!</p>
<!-- End of pp data corruption -->
</article>
<article>
<!-- Safely shutting down chroots -->
<h2><strong>How to safely shut down chroots!</strong></h2>
<p>If you're done with what you're doing in your chroot or Chromebook, it's important to know how to safely shut down the chroot without damaging the operating system. I learnt this the hard way when I forcefully shut down ChromeOS with the chroot still open and had to use a recovery image to save my Chromebook! In order to cleanly shut down the chroot, log out of the desktop environment you're in. <strong>DONT PRESS SHUT DOWN!!</strong> It should take you back to crosh and show progress of it shutting down the chroot. If you used -b while booting your chroot, I advise at least waiting 1-2 minutes depending on your Chromebook's speed. And then after that, you can shut down ChromeOS if you want to without doing any damage to the system!</p>
</article>
<article>
<!--Updating chroots and adding more targets-->
<h2><strong>How to update chroots and add more targets!</strong></h2>
<p>If you're a beginner to Crouton and is still trying to find out the best targets for your needs, you don't need to delete your chroot over and over again! Use -u! For example:</p>
<p> </p>
<p style="padding: 10px; border: 2px solid green;">sudo crouton -n focal -t xfce,extension,xiwi -u</p>
<p> </p>
<p>Using -n specifies which chroot to update. If you didn't name your chroot, it's automatically named to the version of linux you installed, for example, if you installed ubuntu xenial the name of the chroot would be "xenial". You can also abuse -u to install multiple desktop environments, like installing xfce and lxde together!</p>
<p> </p>
<p style="padding: 10px; border: 2px solid green;">sudo crouton -t xfce -r focal</p>
<p> </p>
<p>And then later:</p>
<p> </p>
<p style="padding: 10px; border: 2px solid green;">sudo crouton -t lxde -r focal -u</p>
</article>
<article>
<!-- oh noes no more content!11!1!!!!1!!!1 -->
<h1><strong>More tips coming soon!</strong></h1>
</article>
</main>
<footer>
<p>This website/repo is created and mantained by <a href="https://github.com/Plextora">Plextora</a></p>
</footer>
</section>
</div>
</div>
</body>
</html>