Skip to content

A Launcher to run Apps from the Crouton ENvironment in ChromeOS

Notifications You must be signed in to change notification settings

danielfm123/croutonlauncher

This branch is 79 commits ahead of jmaris/croutonlauncher:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1146060 · Dec 10, 2018

History

89 Commits
Nov 11, 2018
Nov 11, 2018
Nov 11, 2018
Nov 12, 2018
Aug 17, 2015
Dec 10, 2018
Dec 8, 2018
Dec 8, 2018
Nov 23, 2018
Dec 8, 2018
Dec 8, 2018
Aug 17, 2015
Dec 2, 2018
Nov 23, 2018
Nov 22, 2018

Repository files navigation

Requirements

Having the chromebook in developer mode and crouton executable in Downloads folder https://github.com/dnschneid/crouton

I installed with: sudo sh ~/Downloads/crouton -t xiwi,extension,keyboard,cli-extra -r bionic

Crouton Launcher

fork from https://github.com/jmaris/croutonlauncher

Run Crouton apps as normal ChromeOS tabs on boot

This was tested using crouton installed with these commands: open a terminal with ctrl + alt + t

shell
sudo sh ~/Downloads/crouton -t xiwi,keyboard,extension,cli-extra,audio -r bionic

Install Menu:

  1. Enter the chroot
sudo enter-chroot
  1. Get the dependencies:
sudo apt-get install python3 python3-xdg git
  1. Download the Software on chroot /opt
sudo chmod 777 /opt
cd /opt
git clone https://github.com/danielfm123/croutonlauncher.git
sudo chmod 755 /opt/croutonlauncher
  1. Install the Chrome Extention provided in the repo by dragging to extensions menu in chrome, dots/more tools/extensions (remember to check developer mode)

  2. Now you can launch executing main.py

/opt/croutonlauncher/main.py
  1. Open with chrome http://localhost:8000 , the menu should be visible as a website.

  2. Instal the extension First put it in the downloads folder with the command:

cp /opt/croutonlauncher/CroutonLauncher-Chrome.crx  ~/Downloads/

Then open the 3 dots menu - more tools - extensions , check developer mode is turned on and drag the crx file from Downloads the the extesions menu.

I recommend placing the extension pinned to the menu and configure as not a tab.

If you just want to launch the server from shell and not autostart the menu, the command to launch from shell would be

sudo enter-chroot /opt/croutonlauncher/main.py

Autostart on boot

adapted from https://github.com/dnschneid/crouton/wiki/Autostart-crouton-chroot-at-ChromeOS-startup

  1. from chroot copy /opt/croutonlauncher/autostart to ~/Downloads
cp -r /opt/croutonlauncher/autostart ~/Downloads
  1. open a shell (outside chroot) press ctrl + alt + t then open a shell (not a crosh)
shell
  1. make root fs writable
sudo sh ~/Downloads/autostart/rw-rootfs

restart the chromebook

  1. edit ~/Downloads/local/crouton.init on line 33 to put you chroot name default is bionic, might be xenial too

  2. place files on system folders

sudo cp ~/Downloads/autostart/local/crouton.init /usr/local
sudo cp ~/Downloads/autostart/init/crouton.conf /etc/init
sudo cp ~/Downloads/autostart/init/mnt-crouton.conf /etc/init

Now you can delete Downloads/autostart

  1. restart and profit from http://localhost:8000 or crouton launcher extension

About

A Launcher to run Apps from the Crouton ENvironment in ChromeOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 44.7%
  • Shell 33.5%
  • HTML 21.8%