1
Cosmo Communicator - Linux / Linux auto reinstaller | Support for right click on long press | Trackpad mode
« on: December 07, 2020, 04:28:32 am »
Hello,
I got a Cosmo recently and I managed to break my Linux within hours trying to install docker so I had to reinstall everything I did which is time consuming... Since I'm an SRE (apparently), I had to automate the process.
https://github.com/m600x/cosmo-installer
This is still a WIP (partial doc) but it's an ansible playbook (within docker for ease of use) that will reconfigure Linux to a more usable state. From the readme:
What it will do in short:
- Install bunch of crap (git, curl, htop, zsh, etc...)
- Remove cosmo user and add yours
- Change root password
- Set the keyboard layout, hostname and timezone
- Create a mounting point for the microSD card
- Optional: Add right click on long press
- Optional: Touchscreen as touchpad (relative positioning)
- Optional: Set back your SSH settings
- Optional: Add VNC server
- Optional: Add all your OpenVPN profile
- Optional: Add support for LTE connexion
TL;DR:
- Install Linux v3 from Planet Computers
- Connect your wifi, get the IP
- Adjust settings in cosmo.yml, add your files following the README.md
- Run ./start.sh
Voila, your Cosmo is automatically set back to your liking. Next time your break it, reinstall Linux, connect, ./start.sh.
TODO:
- KDE customization restore
- Any suggestion?
Additionally, I got the right click on long press almost fully working using the default xorg driver at https://github.com/m600x/cosmo-rightclick
There's still bug but for the most part it work as expected.
- Can't right click twice in a row
- Can't right click on the taskbar
I also have relative positioning working with mtrack if you use the installer (right click with 2 fingers, screen act like a trackpad).
If you want to test that alone, instructions at: https://github.com/m600x/cosmo-installer/blob/master/MTRACK.md
Cheers from France!
I got a Cosmo recently and I managed to break my Linux within hours trying to install docker so I had to reinstall everything I did which is time consuming... Since I'm an SRE (apparently), I had to automate the process.
https://github.com/m600x/cosmo-installer
This is still a WIP (partial doc) but it's an ansible playbook (within docker for ease of use) that will reconfigure Linux to a more usable state. From the readme:
What it will do in short:
- Install bunch of crap (git, curl, htop, zsh, etc...)
- Remove cosmo user and add yours
- Change root password
- Set the keyboard layout, hostname and timezone
- Create a mounting point for the microSD card
- Optional: Add right click on long press
- Optional: Touchscreen as touchpad (relative positioning)
- Optional: Set back your SSH settings
- Optional: Add VNC server
- Optional: Add all your OpenVPN profile
- Optional: Add support for LTE connexion
TL;DR:
- Install Linux v3 from Planet Computers
- Connect your wifi, get the IP
- Adjust settings in cosmo.yml, add your files following the README.md
- Run ./start.sh
Voila, your Cosmo is automatically set back to your liking. Next time your break it, reinstall Linux, connect, ./start.sh.
TODO:
- KDE customization restore
- Any suggestion?
Additionally, I got the right click on long press almost fully working using the default xorg driver at https://github.com/m600x/cosmo-rightclick
There's still bug but for the most part it work as expected.
- Can't right click twice in a row
- Can't right click on the taskbar
I also have relative positioning working with mtrack if you use the installer (right click with 2 fingers, screen act like a trackpad).
If you want to test that alone, instructions at: https://github.com/m600x/cosmo-installer/blob/master/MTRACK.md
Cheers from France!