|
6 | 6 | ```
|
7 | 7 | sudo apt-get install python3 python3-xdg git
|
8 | 8 | ```
|
9 |
| -2. Download the Software |
| 9 | +2. Download the Software on chroot /opt |
10 | 10 | ```
|
11 | 11 | git clone https://github.com/danielfm123/croutonlauncher.git
|
| 12 | +sudo chmof 777 /opt/croutonlauncher |
12 | 13 | cd croutonlauncher
|
| 14 | +rm index.html |
13 | 15 | ```
|
14 | 16 | 3. Make a Systemlink (This is because the python web server needs to be able to serve content above the directory it is running in, this is not obligatory but you will not see icons if you do not create the link)
|
15 | 17 | ```
|
16 | 18 | ln -s / system
|
17 | 19 | ```
|
18 |
| -4. run ./main.py |
19 |
| -5. Install the Chrome Extention provided in the repo |
20 |
| -6. Be sure to have already installed the crouton extension for chromeos and the xiwi and extension targets in your chroot. |
21 |
| -7. Pin the chrome extention on your shelf. |
22 |
| -8. Have Fun. |
23 |
| -9. edit crlauncher and place on /usr/local/bin on the chrome root, not chroot |
| 20 | +4. Install the Chrome Extention provided in the repo by dragging to extensions menu in chrome, dots/more tools/extensions (remember to check developer mode) |
24 | 21 |
|
| 22 | +5. Now you can launch executing main.py |
25 | 23 |
|
26 |
| -if you want autostart follow this instrucions from https://www.maketecheasier.com/autostart-crouton-chromeos/ |
27 |
| -and set as DE enter-chroot |
28 |
| -as command line on boot the path to the launcher |
| 24 | +6. open localhost:8000 or launche the chrome extension. |
| 25 | +i recomend to place the extension pined on the menu and configure as not a tab. |
| 26 | + |
| 27 | +# autostart |
| 28 | +(adapted from ) |
| 29 | +1. from chroot copy /opt/croutonlauncher/autostart to ~/Downloads |
| 30 | +``` |
| 31 | +cp -r /opt/croutonlauncher/autostart ~/Downloads |
| 32 | +``` |
| 33 | +2. open a shell (outside chroot) |
| 34 | +3. make / writable |
| 35 | +``` |
| 36 | +sudo ~/Downloads/rw-rootfs |
| 37 | +``` |
| 38 | +4. configure ~/Downloads/local/crouton.init |
| 39 | +this file contains the configurations |
| 40 | +modify line 33 writing the name of your chroot, default is bionic, might be xenial too |
| 41 | + |
| 42 | +5. place files on system folders |
| 43 | +``` |
| 44 | +sudo cp ~/Downloads/local/crouton.init /usr/local |
| 45 | +sudo cp ~/Downloads/init/crouton.conf /etc/init |
| 46 | +sudo cp ~/Downloads/init/mnt-crouton.conf /etc/init |
| 47 | +``` |
| 48 | + |
| 49 | +6. restart and proffit |
0 commit comments